virtual bool GetTemporaryGlyphShape(unsigned glyphIndex, unsigned hintedSize, GlyphShape* shape);
GetTemporaryGlyphShape obtains the temporary glyph shapes, and is used when GetPermanentGlyphShape returns 0. Mostly used in external font providers, this interface allows the font provider to do without caching, as the shapes will be cached on the font cache system. In cases where GetPermanentGlyphShape works, GetTemporaryGlyphShape is not necessary to override.
Parameters |
Description |
unsigned glyphIndex |
The glyph index value. |
unsigned hintedSize |
The font size for native hinting. |
GlyphShape* shape |
The glyph shape. |
The temporary available glyph shapes.