| 187 | } |
| 188 | |
| 189 | void destroyFont(FontHandle *font) { |
| 190 | if (font->ownership) |
| 191 | FT_Done_Face(font->face); |
| 192 | delete font; |
| 193 | } |
| 194 | |
| 195 | bool getFontMetrics(FontMetrics &metrics, FontHandle *font, FontCoordinateScaling coordinateScaling) { |
| 196 | double scale = getFontCoordinateScale(font->face, coordinateScaling); |
no outgoing calls
no test coverage detected