Matplotlib only subsets with Type 3 fonts as output. Type 42 is much
harder to generate.
We could try generating glyph names when none are available -- anything
guaranteed to be unique within the font would be fine. Since I don't
run Windows, I need to somehow get access to the problematic fo
"Andrew Hawryluk" writes:
>> Does it help if you set ps.fonttype and pdf.fonttype to 42 in
>> matplotlibrc?
>
> Yes, that works very well, thanks! However, it now embeds the entire
> font rather than a subset. This results in a PDF of 14.4 MB with this
> font. I ran it through ghostscript to get
> -Original Message-
> From: Jouni K. Seppänen [mailto:j...@iki.fi]
> Sent: 6 Apr 2009 1:20 PM
> To: matplotlib-devel@lists.sourceforge.net
> Subject: Re: [matplotlib-devel] cannot use some fonts on pdf, ps,eps
> backends
>
> "Andrew Hawryluk" writes:
"Andrew Hawryluk" 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 names:
[...]
> glyph_name = font.get_glyph_name(gind)
> RuntimeError: Face has no glyph names
[...]
> I know that the
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 names:
Traceback (most recent call last):
File "G:\Chem2009\GK6 Fan Dynamics\plotFanCurve.py", line 31, in
p.savefig('memo/figures/normalizedFanCur