gui: PreviewGeneratorPdf: Enable Text hinting
This commit is contained in:
parent
889725033a
commit
0cd19b53e4
@ -20,6 +20,8 @@ Poppler::Document *PreviewGeneratorPdf::document(QString path)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
result->setRenderHint(Poppler::Document::TextAntialiasing);
|
result->setRenderHint(Poppler::Document::TextAntialiasing);
|
||||||
|
result->setRenderHint(Poppler::Document::TextHinting);
|
||||||
|
result->setRenderHint(Poppler::Document::TextSlightHinting);
|
||||||
|
|
||||||
locker.relock();
|
locker.relock();
|
||||||
documentcache.insert(path, result);
|
documentcache.insert(path, result);
|
||||||
|
Loading…
Reference in New Issue
Block a user