[Lazarus] PDF generator: please test

Ondrej Pokorny lazarus at kluug.net
Sat Apr 9 19:27:13 CEST 2016


On 09.04.2016 19:00, Michael Van Canneyt wrote:
> On Sat, 9 Apr 2016, Ondrej Pokorny wrote:
>
>> I see that the PDF generator doesn't support image compression. This 
>> is a no-go in my eyes. Is anybody working on that or should I try to 
>> study it?
>
> We are not yet working on this, it was on the TODO list, but not very 
> high
> priority.
>
>>
>> AFAIR SynPDF uses JPEG compression for images.
>
> Patches will gladly be accepted.

Great, I'll take a look into it. It is high priority for me. As is the 
text width function (for right/center alignment support).

If there is a possibility to render text with custom TTF font in Lazarus 
(I found easylazfreetype, but I couldn't make it work with my first 
attempts), I think I'll develop a TPDFDocument->TCanvas renderer for 
previewing created PDF documents.

Ondrej




More information about the Lazarus mailing list