"Andrew Hawryluk" <HAWRYLA@...619...> writes:
When I use Arial Unicode MS within matplotlib, it cannot save to any
PostScript-based formats (pdf, eps, ps). Apparently, the font has no
glyph_name = font.get_glyph_name(gind)
RuntimeError: Face has no glyph names
I know that these fonts can be included in PDFs, because I can do it
in other programs.
What version of Freetype do you have - does updating it help? The check
for glyph names is just a call to a Freetype macro:
throw Py::RuntimeError("Face has no glyph names");
Does it help if you set ps.fonttype and pdf.fonttype to 42 in
matplotlibrc? If not, could you send me (off-list) a sample of a PDF
file produced by another program using the font, preferably one that
displays the exact same string that causes this problem with matplotlib?
Jouni K. Sepp�nen