[Fontconfig] Windows, gtk2 and japanese fonts

Tor Lillqvist tml at iki.fi
Wed Oct 22 09:15:46 EST 2003


Gaël Le Mignot writes:
 > I wrote a  gtk2 application in Python (with pygtk2) and  I had to port
 > it on MS  Windows. It works fine on Debian GNU/Linux,  and fine too on
 > MS Windows  until I try display japanese  characters. Those characters
 > are just  displayed as squares.

Have you checked whether this particular combination (especially the
pygtk2 part) on Windows handles non-ASCII at all?

If yes, you should check that the file <top>\etc\pango\pango.aliases
(where <top> is your Pango installation location) contains the names
of fonts you have that provide the necessary Japanese characters.

 > even  notepad  can display  the  same japanese text.

Really? Does Notepad handle UTF-8? Or do you mean the same Japanese
text, but in UTF-16?

--tml






More information about the Fontconfig mailing list