[Lazarus] fpPDF: cannot embed DejaVu font

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Apr 13 13:09:02 CEST 2016


On 2016-04-13 10:54, Ondrej Pokorny wrote:
> Am I doing something wrong or is this a bug in fpPDF?

It's a bug. The BaseFont, FontName and FontFamily names (in fact any
PDFName elemens) may not contain spaces and should be escaped (or
encoded). I've fixed it locally, and the patch should be in FPC
hopefully some time today.

Thanks for reporting the issue.

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