[Gambas-user] Blurry text when PDF pages are rendered with gb.poppler and displayed with a DocumentView

Claus Dietrich claus.dietrich at freenet.de
Tue Feb 6 16:13:36 CET 2024


A new discovery:

In the gb.pdf version you will find the event routine

Public Sub DocumentView1_Zoom()

     $PDF_Doc.Zoom = Last.Zoom

End

After I removed the line "$PDF_Doc.Zoom = Last.Zoom" the text was also 
blurry.

This event routine was not included in the gb.poppler version, because 
the PDFDocument class in the gb.poppler Version doesn't have the 
"Zoom"-property. So this line would cause an error.

Why does this command line sharpen the text in the DocumentView and 
could it help if the PDFDocument class of gb.poppler also gets the zoom 
property?

Best regards

Claus


More information about the User mailing list