gui: PreviewGeneratorPdf: Enable Text hinting

Cette révision appartient à :
Albert S. 2023-01-08 17:37:28 +01:00
Parent 889725033a
révision 0cd19b53e4

Voir le fichier

@ -20,6 +20,8 @@ Poppler::Document *PreviewGeneratorPdf::document(QString path)
return nullptr; return nullptr;
} }
result->setRenderHint(Poppler::Document::TextAntialiasing); result->setRenderHint(Poppler::Document::TextAntialiasing);
result->setRenderHint(Poppler::Document::TextHinting);
result->setRenderHint(Poppler::Document::TextSlightHinting);
locker.relock(); locker.relock();
documentcache.insert(path, result); documentcache.insert(path, result);