""" fontname="WenQuanYi Zen Hei"
"""
I can now display the characters and save the plots as pdf.
Thanks a lot for you wise help, i learned a lot.
Benoit
Quoting sunqiang :
> On Wed, Oct 13, 2010 at 5:30 PM, Benoit Gaillard
> wrote:
>> Actual
font is missing table"
Is that due to my changing the font name from *.ttc to *.ttf?
regards,
benoit
Quoting Benoit Gaillard :
> Hi,
>
> When looking in my fontFile.cache, i did not find any of
> '/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf',
> '/usr/share/fo
"Chinese font"
> http://packages.ubuntu.com/hardy/ttf-wqy-zenhei
> 3, replace "Sim Hei" in your original script with "WenQuanYi Zen Hei",
> now it can display Chinese.
> both methods still work(embed fontname argument, or set
> mpl.rcParams['font.sans-s
t; mpl.rcParams['font.sans-serif'] = ['SimHei']
> mpl.rcParams['axes.unicode_minus'] = False
>
> there is a Chinese blog (not mine) maybe worth reading:
> http://hi.baidu.com/lijiangshui/blog/item/a0aad703cd65ee7e3812bb49.html
>
> hope this help
>
Hi,
How can one display Mandarin labels in a plot, as yticks_labels for example?
It looks to me that there is no font in matplotlib that can display Chinese
characters? I can display accentuation from 'utf8' but i could not find a
font family that would display Chinese characters.
Here is an exa