From 87e3cc33802526c55d371c2a3fd974616a1e9960 Mon Sep 17 00:00:00 2001 From: Albert Schwarzkopf Date: Tue, 6 Dec 2022 11:58:10 +0100 Subject: [PATCH] gui: PreviewGeneratorPdf: Enable Text hinting --- gui/previewgeneratorpdf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/previewgeneratorpdf.cpp b/gui/previewgeneratorpdf.cpp index 8c1b5a9..71fe538 100644 --- a/gui/previewgeneratorpdf.cpp +++ b/gui/previewgeneratorpdf.cpp @@ -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);