# ps_symbol

(PECL ps >= 1.2.0)

ps_symbol — Output a glyph

### 说明

ps_symbol ( resource `$psdoc` , int `$ord` ) : bool

Output the glyph at position `ord` in the font encoding vector of the current font. The font encoding for a font can be set when loading the font with ps_findfont().

### 参数

`psdoc`

  Resource identifier of the postscript file as returned by ps_new().

`ord`

  The position of the glyph in the font encoding vector.

### 返回值

成功时返回 `TRUE`， 或者在失败时返回 `FALSE`。

### 参见

- ps_symbol_name() - Gets name of a glyph
- ps_symbol_width() - Gets width of a glyph