Comment 6 for bug 523917

Revision history for this message
Yusuke Sato (yusukes) wrote :

>That;s probably because fontconfig chooses another font for Latin
>characters in English language setting. So, effectively two fonts get
>mixed. Nothing we can do about here.

Hmm.. /proc/pid/maps shows gedit does not load fonts other than the Takao:

$ ps auwx | grep gedit
yusukes 7788 6.3 0.6 55016 18456 pts/3 Sl 02:01 0:00 gedit
$ cat /proc/7788/maps | egrep -e '(ttf|otf)$'
b6513000-b6886000 r--p 00000000 08:05 1471579 /home/yusukes/.fonts/TakaoGothic.otf

I'm not sure but it looks like a font hinting issue in Takao or FreeType.

> I can not reproduce this bug when I set "Japanese" for system-wide setting in Language dialog (System -> Administration ->
> Language support).

Thanks, it did the trick! Out of curiosity, Kobayashi-san, can you please let me know which fontconfig(?) setting resolves the issue? I'd like to try to copy the setting to my own. (and IMHO, it would be very nice if Ubuntu could render the font correctly in UI language settings other than Japanese.)