However, the monospace font in 14.04.x is not monospaced, while in 12.04 it is.
This occurs in zh_TW, not in en.
======================TL;DR, goto next separate line============================================
After some testing, I found several facts:
In Ubuntu,
1-1. Ubuntu 12:
Code: Select all
fc-match monospace
1-2. Ubuntu 14:
Code: Select all
fc-match monospace
2-1. Ubuntu 12:
Code: Select all
gsettings org.gnome.desktop.interface monospace-font-name
2-2. Ubuntu 14: (same as above)
3. Actually, in gnome-terminal, the monospace font is "Ubuntu Mono 13", same as checking "Using system monospace font" option
=>This means, the so-called sys. font is taken from "gsettings".
In Lubuntu,
1-1. Lubuntu 12:
Code: Select all
fc-match monospace
1-2. Lubuntu 14:
Code: Select all
fc-match monospace
2-1. Lubuntu 12:
Code: Select all
gsettings org.gnome.desktop.interface monospace-font-name
2-2. Lubuntu 14: (same as above)
3. Actually, in lxterminal, the monospace font is "Droid Sans Fallback", same as checking "Using system monospace font" option
=>This means, the, the so-called sys. font is taken from "fontconfig".
===========================================================================================
Thus, I concluded that "Lubuntu takes the font settings from fontconfig, not gsettings".
Then, the reason why Lubuntu 12 works, while 14 not is that, by default, v12 installs "ttf-wqy-microhei" package and has "<string>WenQuanYi Micro Hei Mono</string>" in the first line of monospace section of "/etc/fonts/conf.avail/69-language-selector-zh-tw.conf.
However, v14 neither installs "fonts-wqy-microhei" package, nor has the line above.
Ubuntu 14 doesn't install it and have the line, but the problem does not occurs since it takes font settings from gsettings instead of fontconfig.
Mitigation:
Install the package and add the line manually.
May the developers do something to solve this problem? Is this a bug that I should raise a bug report on sf.net?