gui: PreviewGeneratorPdf: Enable Text hinting

Este commit está contenido en:
Albert S. 2023-01-08 17:37:28 +01:00
padre 889725033a
commit 0cd19b53e4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados

Ver fichero

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