Re: [Matplotlib-users] rendering unicode using the PDF backend

2012-02-07 Thread Benjamin Root
On Tue, Feb 7, 2012 at 12:30 PM, Mark Janikas wrote: > I downloaded DejaVu Sans and pointed to that ttf file, and no love L… > Again, the default font seems to work for English, French, German, Spanish, > Italian other Euros etal… but Chinese and Arabic either come out blank > (default font, Deja

Re: [Matplotlib-users] rendering unicode using the PDF backend

2012-02-07 Thread Mark Janikas
From: Michael Droettboom [mailto:md...@stsci.edu] Sent: Tuesday, February 07, 2012 6:56 AM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] rendering unicode using the PDF backend It looks like perhaps we'll need to "synthesize" glyph names if they aren

Re: [Matplotlib-users] rendering unicode using the PDF backend

2012-02-07 Thread Michael Droettboom
It looks like perhaps we'll need to "synthesize" glyph names if they aren't provided in the font (though it's not clear to me why they are not). This will be difficult to test for, as that's a proprietary font. Have you tried using another Unicode font, such as DejaVu Sans? Mike On 02/06/20

[Matplotlib-users] rendering unicode using the PDF backend

2012-02-06 Thread Mark Janikas
Hi All, I am having trouble rendering my Unicode strings in matplotlib using the PDF backend. When I use certain fonts (like the Win 7 default), I get no complaints but the characters are not rendered When I use a font like Arial Unicode MS, that I know contains all the chars, then I get