TODO(AB): Check and support invalid glyphs.
| 562 | |
| 563 | // TODO(AB): Check and support invalid glyphs. |
| 564 | GlyphImage GlyphManager::GetGlyphImage(GlyphFontAndId key, int pixelHeight, bool sdf) const |
| 565 | { |
| 566 | return m_impl->m_fonts[key.m_fontIndex]->GetGlyphImage(key.m_glyphId, pixelHeight, sdf); |
| 567 | } |
| 568 | |
| 569 | // This method is NOT multithreading-safe. |
| 570 | text::TextMetrics GlyphManager::ShapeText(std::string_view utf8, int fontPixelHeight, hb_language_t const textLang) |
no outgoing calls