=== FlyB is now known as FlyB-Grateful | ||
fenskl | hi guys, quick question about the font fallback mechanism | 05:00 |
---|---|---|
fenskl | i'm using gnome-terminal on Maverick with Droid Sans Mono as the system default monospace font | 05:00 |
fenskl | i presume that Droid Sans doesn't include anything from the CJK range, because it seems to fall-back to some really ugly characters | 05:01 |
fenskl | how can i specify the fallback for code points outside what Droid Sans has so that I can see nicely rendered CJK glyphs? | 05:02 |
fenskl | I googled for and found information on ~/.fonts.conf, but my settings there don't seem to do anything: match target="font" -> lang contains zh -> prefer AR PL UKai TW | 05:03 |
fenskl | anyone have any ideas where to start googling to figure out how this mechanism works? | 05:04 |
fenskl | okay, i actually figured it out (sort of) | 06:07 |
fenskl | these two links helped: | 06:07 |
fenskl | https://wiki.archlinux.org/index.php/Font_Configuration | 06:07 |
fenskl | http://www.freedesktop.org/software/fontconfig/fontconfig-user.html | 06:08 |
fenskl | i can't figure out why it won't pick up my ~/.fonts.conf, but i was able to edit it at the system level | 06:08 |
fenskl | /etc/fonts/conf.d/ contains all the configuration files for font fallback and selection at the system level | 06:09 |
fenskl | 69-language-selector-zh-tw.conf was set up with Deja Vu Sans as the first entry, so it was getting used as the default fallback | 06:09 |
fenskl | i just moved the items in the list around, and i was able to adjust the priorities such that it would pick the fallback i wanted | 06:10 |
fenskl | now i can edit TeX documents in vim with a nice balance of an attractive monospace latin font and attractive fallback font for CJK glyphs | 06:11 |
fenskl | this is also probably relevant: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/713950 | 06:13 |
fenskl | anyway, thanks~ | 06:13 |
=== Kandu_ is now known as Kandu | ||
* Fly-B 呼 | 18:34 | |
=== Fly-B is now known as FlyB-Mini |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!