[Gambas-user] PdfDocument class - problem with landscape PDFs
Benoît Minisini
benoit.minisini at gambas-basic.org
Fri Dec 22 01:37:42 CET 2023
Le 20/12/2023 à 15:44, Claus Dietrich a écrit :
> Hi
>
> Someone in the German Gambas Club raised the question, why the reading
> of a PdfDocument in portrait format is OK, but not if it is a PDF in
> landscape format.
>
> Please find attached a small demo which confirms his observation. I used
> the PdfDocument class of the gb.poppler component and the render-method
> to read the PDF. The text appears to be horizontally stretched while its
> vertical dimensions seem to be correct. After I changed to the gb.pdf
> component and adapted the code the result was OK.
>
> Is this possibly a bug of the gb.poppler component (couldn't find
> anything relevant in the bugtracker) or a wrong use of the PdfDocument?
>
> Best regards
>
> Claus
>
The last commit should fix the poppler component.
Regards,
--
Benoît Minisini.
More information about the User
mailing list