array |
charsToGlyphs (array $charCodes)
Converts all the specified character codes to the corresponding glyph codes of this font |
int |
charToGlyph (int $charCode)
Converts the specified character code to the corresponding glyph code of this font |
boolean |
hasGlyph (int $charCode)
Determines whether this font contains the glyph corresponding to the specified character code |
boolean |
hasGlyphs (array $charCodes)
Determines whether this font contains all the glyphs corresponding to the specified character codes |
GLYPH_MISSING = 0 |
Missing glyph code |
Converts all the specified character codes to the corresponding glyph codes of this font
array $charCodes
Character codes to be converted
public array charsToGlyphs (array $charCodes)
Converts the specified character code to the corresponding glyph code of this font
int $charCode
Character code to be converted
public int charToGlyph (int $charCode)
Determines whether this font contains the glyph corresponding to the specified character code
int $charCode
Character code to determine
public boolean hasGlyph (int $charCode)
Determines whether this font contains all the glyphs corresponding to the specified character codes
array $charCodes
Character codes to determine
public boolean hasGlyphs (array $charCodes)
Missing glyph code
const GLYPH_MISSING = 0