Around 17 o'clock on Mar 30, "Arne =?utf-8?q?G=C3=B6tje?= (=?utf-8?q?=E9=AB=98=
E7=9B=9B=E8=8F=AF?=)" wrote:

> How do I specify, that my fonts provide characters for simplified and 
> traditional Chinese, Japanese, Korean and HKSCS (Hong Kong) and thus 
> should have higher priority than the existing CJK fonts?
> Also they should appear in the <alias> sections before other CJK 
> fonts. :)

Fontconfig automatically determines character and computes language 
support from that, so you needn't so anything at all there.

To configure the generic support, you'd add a file to /etc/fonts/conf.d
with the appropriate alias information:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

        <alias>
                <family>GENERIC NAME HERE</family>
                <prefer>
                        <family>YOUR FAMILY NAME HERE</family>
                </prefer>
        </alias>
</fontconfig

As these are in the conf.d directory, they will take priority over the 
stock configuration found in fonts.conf.

You needn't do the crazy symlink stuff that fontconfig does; that's 
strictly to make dpkg-reconfigure easier to manage.

-keith


Attachment: pgpihIN9pVhvo.pgp
Description: PGP signature

Reply via email to