That is correct. Matplotlib doesn't have font substitution support --
it only ever uses a single font for each text object. You will need to
use separate text objects to do this kind of multi-lingual text, unless
you can find a single font with all of the glyphs.
Mike
On 11/24/2010 10:19 PM
Unfortunately, matplotlib does not support fontset, and only a single
font file can be used at a time.
If you need to to use multiple fonts within a single text string, the
only workaround I can think of is to use the offsetbox module to make
a text for each font and concatenate them. If you're in
i get matplotlib from Sourceforge ,it's matplotlib-1.0.0.win32-py2.6.exe
OS:Win7
ActivePython-2.6.6.15-win32-x86.msi
here is the code:
# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
plt.figure(figsize=(8,4))
a = plt.text(0.05, 0.05, u"Default Font缺省字体조선어にほんごภาษาไทย")#multi language
,some