[Gambas-user] PdfDocument class - problem with landscape PDFs
Claus Dietrich
claus.dietrich at freenet.de
Fri Dec 22 11:52:28 CET 2023
Hi Benoit
Thanks as lot! Your comment to the commit ("It's indicative, it's not
something to apply.") is however irritating.
I hope that my initial impression was right and apparently I confused
myself with different interpretations of the term "landscape PDF document".
Hi Gianluigi:
I returned to my original understanding of a "landscape PDF document"
(as in my first post of this thread) and confirm your experience. Your
demo app in the farm also doesn't work with a landscape PDF. Sorry if I
cause any irritation.
I will test the fixed gb.poppler in the Master when the commit arrived
in the ppa and will report.
With best regards
Claus
Am 22.12.23 um 01:37 schrieb Benoît Minisini:
> 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,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231222/87f17f86/attachment.htm>
More information about the User
mailing list