gui: PreviewGeneratorPdf: Enable Text hinting

Esse commit está contido em:
Albert S. 2023-01-08 17:37:28 +01:00
commit 0cd19b53e4
1 arquivos alterados com 2 adições e 0 exclusões

Ver arquivo

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