Comment 19 for bug 502610

Revision history for this message
In , Qianqian Fang (fangq) wrote :

Created attachment 24952
proposed 65-nonlatin.conf

Please find in the attachment the proposed font orders for CJK languages.

A few comments about this file:

1. the original file was taken from Behdad's branch at
http://cgit.freedesktop.org/~behdad/fontconfig/tree/conf.d/65-nonlatin.conf

2. I only touched CJK fonts. As I know nothing about other non-CJK languages, so I replaced the old list by my new font list and keep all others the same.

3. the fonts were ordered pretty much based on my previous comment, in short:
    A. free > non-free
    B. screen (CJK bitmap) fonts > print fonts
    C. Larger coverage > smaller coverage (CJK Unifonts > CJK specific fonts)
    D. for monospace, sans > serif, where sans has better readability
    E. for the same language, fonts with better "quality" are preferred

4. for "E" in (3), I would like to hear more input from CJK users.

5. I strongly suggest removing all the non-free fonts, at least move them to a separate file (plus that they are from the XP age and they are very outdated)

6. This file describes the general fallback path, and is assumed not to make any assumption on the desktop locales, thus, it is preferred to have language-specific font config files to fine-tune the font orders, such as language-selector files in Ubuntu.

Here is the CJK block I extracted from the serif block, as an example to my suggested changes. For each family, a comment line with the format of
{license, coverage, type, intended use, aliases, major lang-tag} is listed above the font name.

*GB18030(27514 glyphs)=CJK unified ideographs+CJK Ext A
*GBK(20932)=CJK unified ideographs
*GB2312(6763)=simplified Chinese minimum charset
*Big5(~13000)=traditional Chinese minimum charset
*HKSCS(vary)=HK Han glyphs scattered in CJK, CJK Ext.A and Ext.B

------------------------------------------------

<!-- ### block 1: Screen fonts ### -->
  <!-- free, GB18030, bitmap, screen font, sans/serif, zh-cn,zh-tw -->
 <family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->

<!-- ### block 2: Song/Micho/Batang print fonts ### -->
  <!-- free, GB2312+Big5+HKSCS, vector, print font, serif, zh-cn,zh-tw -->
 <family>AR PL ShanHeiSun Uni</family> <!-- han (zh-cn,zh-tw) -->
 <family>AR PL UMing CN</family> <!-- han (zh-cn,zh-tw) -->
 <family>AR PL New Sung</family> <!-- han (zh-cn,zh-tw) -->
  <!-- free, GB2312, vector, print font, serif, zh-cn -->
 <family>AR PL SungtiL GB</family>
  <!-- free, Big5, vector, print font, serif, zh-tw -->
 <family>AR PL Mingti2L Big5</family>
  <!-- free, GB2312+Big5+HKSCS, vector, print font, serif/cursive, zh-cn,zh-tw -->
  <family>AR PL Zenkai Uni</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>IPAMonaPMincho</family>
 <family>IPAPMincho</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>Sazanami Mincho</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>Kochi Mincho</family>
  <!-- free, KR, vector, print/screen font, serif, ko -->
 <family>Baekmuk Batang</family> <!-- han (ko) -->
  <!-- free, KR, vector, print/screen font, serif, ko -->
 <family>UnBatang</family> <!-- han (ko) -->

<!-- ### block 3: Hei/Gothic/Dotum print fonts ### -->
  <!-- free, GBK, vector, screen font, sans, zh-cn -->
 <family>WenQuanYi Micro Hei</family> <!-- han (zh-cn,zh-tw) -->
  <!-- free, GB18030, vector, print/screen font, sans, zh-cn -->
 <family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
  <!-- free, GB2312+Big5, vector, screen font, sans, zh-cn -->
 <family>Droid Sans Fallback</family> <!-- han (zh-cn,zh-tw) -->
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>VL PGothic</family>
 <family>VL Gothic</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>IPAMonaPGothic</family>
 <family>IPAPGothic</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>Sazanami Gothic</family>
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>Kochi Gothic</family>
  <!-- free, KR, vector, print/screen font, serif, ko -->
 <family>Baekmuk Dotum</family> <!-- han (ko) -->
  <!-- free, KR, vector, print/screen font, serif, ko -->
 <family>UnDotum</family> <!-- han (ko) -->
  <!-- free, JIS, vector, print/screen font, sans, ja -->
 <family>UmePlus P Gothic</family> <!-- han (ja) -->

<!-- ### block 4: non-free fonts ### -->
  <!-- nonfree, GB18030, vector, print font, serif, zh-cn -->
 <family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
  <!-- nonfree, GBK, vector, print font, serif, zh-cn -->
 <family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
  <!-- nonfree, GBK, vector, print font, serif, zh-tw/hk -->
 <family>PMingLiu</family> <!-- han (zh-tw) -->
  <!-- nonfree, JIS, vector, print/screen font, sans, ja -->
 <family>MS Gothic</family> <!-- han (ja) -->
  <!-- nonfree, GBK, vector, print font, serif, zh-cn -->
 <family>HanyiSong</family> <!-- han (zh-cn,zh-tw) -->