[Gambas-user] PdfDocument class - problem with landscape PDFs

Gianluigi gradobag at gradobag.it
Sat Dec 23 08:19:38 CET 2023


Il 23/12/23 01:20, Benoît Minisini ha scritto:
> Le 23/12/2023 à 00:55, Benoît Minisini a écrit :
>> Le 22/12/2023 à 23:06, Claus Dietrich a écrit :
>>> Hi Benoit
>>>
>>> Did you compare the result with the true contents of the landscape 
>>> PDF as display i.e. in Firefox? Gianluigi and I have the problem, 
>>> that the page numbers on the right side are not displayed. The 
>>> horizontal scaling is wrong while the vertical is correct. See 
>>> attached screenshot. This is how it looks on my side. Please compare 
>>> it with your result.
>>>
>>> Best regards
>>>
>>> Claus
>>>
>>
>> 'PDF-job-old2.pdf' is truncated. The three other PDF are displayed 
>> correctly.
>>
>> I modified Gian's example so that I call the Render() method with no 
>> argument at all. It's Render() that truncates the result, but I have 
>> no idea why, as the other work fine for the same code.
>>
>> Regards,
>>
>
> Last commit should fix the problem.
>
> Regards,
>
Hi Benoit,

perfect.
Works great
Thank you very much.

Greetings
Gianluigi



More information about the User mailing list