imm wrote:
> 
> On 1 Feb 2008, at 15:52, Lazy Fox wrote:
> 
>> I want to know which font should be used in fltk application
>> if Iuse "--enable-xft"?
>> How can I find it from my Fedora Core 5?
> 
> There's no one font that will be "right" for all uses. I don't know what 
> font sets you have installed on your system, or what languages you want 
> to display.
> For example, if you want to display text that does not use glyphs from 
> the LGC ranges, it is probably best to pick a font tailored to that 
> language group. But if you then do need to display some LGC characters 
> as well, your font may not have them. (Although many of the fonts in the 
> CJK families do have quite good LGC coverage too, if that is what you 
> are using.) For example, some of the Arabic and Devangari fonts I've 
> used have quite poor coverage of the Latin character space...
> 
> To make that work, you usually need to specify a different font, 
> depending on what characters you want to display in each widget. 
> Remember that you can have multiple fonts in use in different widgets 
> (e.g. by using the labelfont(...) or textfont(...) methods), so that 
> works OK.
> 
> The easiest solution might be to try the utf8 demo from the test folder 
> of my fltk118 tarball, and use that to look at each of the fonts you 
> have installed, until you find one that has the glyphs you need for your 
> languages, in a style that you like!
> 
> If you find that you do not have a font that meets your needs, I suggest 
> you try going to:
> 
> http://www.unifont.org/fontguide/
> 
> There you will find much information on fonts, and also a tool 
> "DownloadFonts.sh" that can get many different fonts for many different 
> languages. Hopefully one of those will meet your needs.

Thanks. It looks like I have a lot of things that about Unicode
and fonts to learn.
I'm in china, and we'll have a vacation of Chinese New Year.
After the vacation I'll try some fonts.
Thanks again.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to