文字

ps_symbol

(PECL ps >= 1.2.0)

ps_symbolOutput a glyph

说明

bool ps_symbol ( resource $psdoc , int $ord )

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
上一篇: 下一篇: