[Lazarus] PDF generator, try 2

Michael Van Canneyt michael at freepascal.org
Thu Mar 31 20:39:38 CEST 2016

On Thu, 31 Mar 2016, Ondrej Pokorny wrote:

> A quick question (sorry I haven't tested): is word breaking supported and is 
> it possible to get the target rect of multiline and singleline text?

It is possible to get a target rect of a single line; unit fpttf:

function TextWidth(AStr: string; APointSize: single): single;

Word breaking is left to the calling application.
A reporting tool is in the make (well, made, but not released yet)
which will handle this.


More information about the Lazarus mailing list