GTK+2.0 Chinese (or CJK) fonts on win32
Tor Lillqvist <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
> astro_chuck writes: > > I'm trying to show chinese fonts using gtk+2.0 on win2k. However they > > are all shown in blanks. English fonts are ok, but whenever I have set > > LC_ALL to zh_TW, all the chinese are in blanks. > > > In gtk+1.2, we have gtkrc.zh_TW. But How can we change and alias fonts > > in gtk+2.0? It turns out it is rather simple to fix this: In <top>/etc/pango, create a file pango.aliases containing the lines: sans = sans sans += "mingliu" Thanks to Hans Breuer for the info. I think MingLiU is a Traditional Chinese font? If not, replace with whatever font you want to use. Unfortunately, it doesn't seem to be possible to specify locale-specific settings in the pango.aliases file. --tml