| Parameter | Description |
|---|---|
| glyphIndex | The index of the glyph in the font asset's source font. |
| metrics | The metrics of the glyph, or default if the font has no glyph at that index. |
bool Returns true if the font has a glyph at the given index. Otherwise, returns false.
Tries to get the metrics of the glyph at the given glyph index.
Metrics are expressed in pixels at the font asset's FontAsset.faceInfo point size. To get values for another font size, multiply them by that size divided by FaceInfo.pointSize. Glyphs without a visual representation, such as spaces, have zero width and height but a valid horizontal advance. This query reads the font data directly and doesn't add the glyph to the atlas.