]> git.wh0rd.org Git - fontconfig.git/commit
Add editing langset feature.
authorAkira TAGOH <akira@tagoh.org>
Mon, 6 Dec 2010 03:38:18 +0000 (12:38 +0900)
committerAkira TAGOH <akira@tagoh.org>
Thu, 9 Dec 2010 02:40:08 +0000 (11:40 +0900)
commit3c862aad9f49be4b098cb679a67449c85b58f1f5
tree984423e824dbe46ba02cae7bdf6ac2b9b23daf8a
parentd975cdda782bb88c8bb6706889a554b2afb9f939
Add editing langset feature.

The syntax to add any langset to the langset table looks like:

<match target="scan">
    <test name="family">
        <string>Buggy Sans</string>
    </test>
    <edit name="lang" mode="assign">
        <plus>
            <name>lang</name>
            <langset>
                <string>zh-cn</string>
                <string>zh-tw</string>
            </langset>
        </plus>
    </edit>
</match>

To remove any langset from the langset table:

<match target="scan">
    <test name="family">
        <string>Buggy Sans</string>
    </test>
    <edit name="lang" mode="assign">
        <minus>
            <name>lang</name>
            <langset>
                <string>ja</string>
            </langset>
        </minus>
    </edit>
</match>
fontconfig/fontconfig.h
fonts.dtd
src/fccfg.c
src/fcdbg.c
src/fcint.h
src/fclang.c
src/fcxml.c