| 1549 | } |
| 1550 | |
| 1551 | void DocumentPrivate::slotFontReadingProgress(int page) |
| 1552 | { |
| 1553 | Q_EMIT m_parent->fontReadingProgress(page); |
| 1554 | |
| 1555 | if (page >= (int)m_parent->pages() - 1) { |
| 1556 | Q_EMIT m_parent->fontReadingEnded(); |
| 1557 | m_fontThread = nullptr; |
| 1558 | m_fontsCached = true; |
| 1559 | } |
| 1560 | } |
| 1561 | |
| 1562 | void DocumentPrivate::fontReadingGotFont(const Okular::FontInfo &font) |
| 1563 | { |