Global config for fonts depending on language
z0idberg at gmx.de
Fri Oct 5 07:27:54 PDT 2007
due to some Unicode restrictions (Han Unification for example), one single
Unicode font (like Code2000) is not sufficient. You need many fonts, because
one font may have good font quality for a certain type of script, but bad for
another one. For CJK languages, this is always necessary.
Because Unicode specifies that the fonts should be selected according to
language which are specified in a higher languages (like xhtml), one font
cannot be enough for all scripts.
Some applications, for example Firefox, have a font config utility where you
can select fonts depending on language, for example a specific font for
Korean and another one for Japanese. The problem is that this then only works
in Firefox. Some other applications do not even have a font selection
utility, so this is not very convenient.
I think it would be nice to have a global font config, where you can specify
the font according to ISO-639 and which would then work in _all_
applications. You wouldn’t be so restricted to some languages the menu would
offer (e.g. Firefox only offers Chinese Simplified, Chinese Traditional,
Japanese and Korean), but you could also specify the sub tags (e.g. roman
spelling of Chinese, where you would like to have the characters from a
western font, not from a Chinese font).
I guess, a xml file would be quite convenient for it, maybe something like
<font lang="de">DejaVu Sans</font>
<font lang="zh-TW" lang="zh-HK">Ming(for ISO10646)</font>
<font lang="de">DejaVu Serif</font>
You would not be restricted to serif and sans serif that way, because these
concepts may not work in other scripts.
More information about the xorg