[Lazarus] PDF generator: please test

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Apr 14 10:25:00 CEST 2016


On 2016-04-14 00:04, Ondrej Pokorny wrote:
> You've got a bug in the font height functions. They must not be scaled 
> with ToNatural.

Well done Ondrey, you are indeed correct. Amazing, because the example
code I posted was tested with four other fonts. Incidently they all had
the same UnitsPerEm, so the issue went unnoticed.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp




More information about the Lazarus mailing list