MCPcopy Create free account
hub / github.com/KDE/okular / fontReadingGotFont

Method fontReadingGotFont

core/document.cpp:1562–1570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1560}
1561
1562void DocumentPrivate::fontReadingGotFont(const Okular::FontInfo &font)
1563{
1564 // Try to avoid duplicate fonts
1565 if (m_fontsCache.indexOf(font) == -1) {
1566 m_fontsCache.append(font);
1567
1568 Q_EMIT m_parent->gotFont(font);
1569 }
1570}
1571
1572void DocumentPrivate::slotGeneratorConfigChanged()
1573{

Callers 1

startFontReadingMethod · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected