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