| 222 | } |
| 223 | |
| 224 | bool getGlyphIndex(GlyphIndex &glyphIndex, FontHandle *font, unicode_t unicode) { |
| 225 | glyphIndex = GlyphIndex(FT_Get_Char_Index(font->face, unicode)); |
| 226 | return glyphIndex.getIndex() != 0; |
| 227 | } |
| 228 | |
| 229 | bool loadGlyph(Shape &output, FontHandle *font, GlyphIndex glyphIndex, FontCoordinateScaling coordinateScaling, double *outAdvance) { |
| 230 | if (!font) |
no test coverage detected