[Lazarus] PDF generator: please test

Michael Van Canneyt michael at freepascal.org
Sat Apr 9 19:36:43 CEST 2016



On Sat, 9 Apr 2016, Ondrej Pokorny wrote:

> 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).

Maybe Graeme can comment on the latter, as far as I know, that should work ?

>
> 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.

That would be really awesome !

Michael.




More information about the Lazarus mailing list