mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Signature plugin: Electronic signature
This commit is contained in:
@ -1836,7 +1836,7 @@ void PDFFontCache::setDocument(const PDFModifiedDocument& document)
|
||||
|
||||
// Jakub Melka: If document has not reset flag, then fonts of the
|
||||
// document remains the same. So it is not needed to clear font cache.
|
||||
if (document.hasReset())
|
||||
if (document.hasReset() || document.hasPageContentsChanged())
|
||||
{
|
||||
m_fontCache.clear();
|
||||
m_realizedFontCache.clear();
|
||||
|
Reference in New Issue
Block a user