gui: PreviewGeneratorPdf: Enable Text hinting

This commit is contained in:
Albert S. 2023-01-08 17:37:28 +01:00
förälder 889725033a
incheckning 0cd19b53e4

Visa fil

@ -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);