[Gambas-user] Blurry text when PDF pages are rendered with gb.poppler and displayed with a DocumentView
Claus Dietrich
claus.dietrich at freenet.de
Sat Feb 24 11:15:01 CET 2024
Am 09.02.24 um 14:19 schrieb Claus Dietrich:
> Am 07.02.24 um 19:34 schrieb Benoît Minisini:
>> Don't give up: here is your project where the page render is fixed. I
>> just didn't fixed the CreateThumbnail() so that you can do it yourself.
>>
>> Remember that you need the latest master with the poppler fix on page
>> width and page height.
>
> Thanks! I will give a comment after Hans reconfirmed my test results
> with the master. He will wait for V3.19 from the ppa.
>
> Regards
>
> Claus
After the arrival of 3.19 (congratulations!) Hans tested the
gb.poppler-version as modified by you and he came to the same result as I:
The text rendering of the gb.poppler-version cannot compete with
gb.pdf-version!
Actually you only increased the resolution of the PDFDocument in the
gb.poppler version to 150dpi but it doesn't reach the quality of the
deprecated gb.pdf version in a DocumentView - even at default
resolution. The result of the gb.poppler-version even worsens at higher
resolutions like 300dpi.
If you compare both versions (you must look carefully) you will
certainly see the difference too. Here a screenshot:
https://magentacloud.de/s/JNYEA4oejHXADJE
- Upper = gb.pdf-version @ default resolution
- Lower = gb.poppler-version @ 150dpi
Best regards
Claus
More information about the User
mailing list