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

Benoît Minisini benoit.minisini at gambas-basic.org
Sat Dec 23 01:20:03 CET 2023


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,

-- 
Benoît Minisini.



More information about the User mailing list