View Single Post
Old 03-18-2012, 02:20 PM   #153
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
Quote:
Originally Posted by ixtab View Post
The freetype engine doesn't create new problems

Does this config play nicely with fonthack, or does it interfere somehow? If it plays nicely: does it also work when put into /mnt/us/fonthack/ (instead of /etc/fonts/conf.d/), for instance with the filename 99-AAA-chinese.conf, or 99-zzz-chinese.conf? (try the bold one, it should work)

The reason why I'm asking is that this might be interesting for other chinese folks as well, and not everybody knows how to access the root partition.
did some experiments, here are the results:

1. my original config works fine with fonthack.

2. I followed your suggestion and put the config in /mnt/us/fonthack/ and named it as 99-zzz-chinese.conf and everything's ok, EXCEPT when I use fonthack to select a new Condensed font, the Chinese fonts will be affected.

The Chinese Condensed font will now become the same as the Chinese Regular font. so it's the Condensed font that causes problem again.

3. my original Chinese fonts were located at a sub-folder under /mnt/us/ and ln to /usr/share/fonts. I moved them to /mnt/us/fonthack and executed mkfontscale and mkfontdir to create fonts.scale and fonts.dir. everything again is ok.

since the idea of putting the config file under /mnt/us/fonthack is to help users who may not know how to access the root partition, is there a way to put the Chinese fonts under the /mnt/us/ and for fonthack to create the fonts.scale and fonts.dir automatically?

many thanks in advance.
yiming is offline   Reply With Quote