gui: PreviewGeneratorPdf: Enable Text hinting

This commit is contained in:
Albert S. 2022-12-06 11:58:10 +01:00
parent ffdaa4c0c6
commit 87e3cc3380
1 changed files with 2 additions and 0 deletions

View File

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