[reportlab-users] Chinese Custom Glyphs

Daniel Casper dancasper at gmail.com
Wed Jul 1 10:26:17 EDT 2015

To whom it may concern,

I wanted to reach out and discuss the state of custom character set /
custom glyph support for the ReportLab libraries.  We currently use the
open source package in PDF Generation utilities that are used in many
countries.  In China specifically, our users make use of the Private
Character Editor to provide custom glyphs for fonts on their systems.  They
then choose the font EUDC to include those custom glyphs for their
documents.  Unfortunately, when attempting to register this font with the
ReportLab library we receive the following traceback:

Traceback (most recent call last):

  File reportlab\pdfbase\ttfonts.pyo, line 1009, in __init__

  File reportlab\pdfbase\ttfonts.pyo, line 915, in __init__

  File reportlab\pdfbase\ttfonts.pyo, line 413, in __init__

  File reportlab\pdfbase\ttfonts.pyo, line 499, in extractInfo

TTFError: Could not find PostScript font name

Has anyone else worked with fonts that don't contain these PostScript
names, or is there some other way to go about getting them embedded?

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20150701/a5943e82/attachment.html>

More information about the reportlab-users mailing list