[Lazarus] PDF generator: please test

Michael Van Canneyt michael at freepascal.org
Sat Apr 9 20:43:24 CEST 2016



On Sat, 9 Apr 2016, Graeme Geldenhuys wrote:

> On 2016-04-09 18:27, Ondrej Pokorny wrote:
>> As is the
>> text width function (for right/center alignment support).
>
> That is already implemented in fpReport (Standard PDF built-in fonts and
> TTF fonts). What I haven't implemented yet is Font Kerning to make the
> width calculation even more accurate, but the width difference will be
> very minor. I can take a look and see if it makes sense to move that
> code to fpPDF. I'm pretty sure it shouldn't be a problem.

Graeme,

If that can be moved to unit fpttf instead of fppdf, then that would be even better.

Michael.




More information about the Lazarus mailing list