| 548 | } |
| 549 | |
| 550 | bool GlyphManager::AreGlyphsReady(TGlyphs const & glyphs) const |
| 551 | { |
| 552 | for (auto [fontIndex, glyphId] : glyphs) |
| 553 | { |
| 554 | ASSERT_NOT_EQUAL(fontIndex, kInvalidFont, ()); |
| 555 | |
| 556 | if (!m_impl->m_fonts[fontIndex]->IsGlyphReady(glyphId)) |
| 557 | return false; |
| 558 | } |
| 559 | |
| 560 | return true; |
| 561 | } |
| 562 | |
| 563 | // TODO(AB): Check and support invalid glyphs. |
| 564 | GlyphImage GlyphManager::GetGlyphImage(GlyphFontAndId key, int pixelHeight, bool sdf) const |
no test coverage detected