Re: [Font] How does Gtk show a string contains different languages?

2008-10-19 Thread raymond Liu
Thanks so much,Tor. I work on X11(Ubuntu). And you are right, "it's fontconfig that causes the fallback to "AR PL New Sung"" I didn't know Gtk+ uses Pango as text tool before. So , I will try to look into Pango now. Thanks for your help ! 2008/10/17 Tor Lillqv

Re: [Font] How does Gtk show a string contains different languages?

2008-10-17 Thread Tor Lillqvist
> Please tell me which file I shall trace. Trace? I asume you mean to ask what source code you need to browse and understand what it does? You didn't tell whether you are on X11 (Unix, including Linux, and also Cygwin) or Windows, For X11, you need to look into Pango and fontconfig. For Windows

[Font] How does Gtk show a string contains different languages?

2008-10-16 Thread raymond Liu
Hi all, I'd like to know how Gtk does it. The default font is Tahoma. And I think Tahoma doesn't support Chinese(zh_TW/zh_CN). Q1. If I need to show a string contains English and Chinese using Tahoma. How doest Gtk show them? Q2. Can I use the different fonts for them? Ex. E