[Lazarus] fpPDF: cannot embed DejaVu font

Michael Van Canneyt michael at freepascal.org
Wed Apr 13 13:42:37 CEST 2016



On Wed, 13 Apr 2016, Graeme Geldenhuys wrote:

> 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.

Patch is in FPC svn: rev 33495.

The support for compressed images and embedding of raw JPEG is in SVN too,
sample program adapted to demonstrate this (-i -j command line options).

Michael.




More information about the Lazarus mailing list