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. Michael. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
