gui: PreviewGeneratorPdf: Enable Text hinting

This commit is contained in:
Albert S. 2023-01-08 17:37:28 +01:00
szülő 889725033a
commit 0cd19b53e4

Fájl megtekintése

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