diff options
author | Akira TAGOH <akira@tagoh.org> | 2014-03-27 15:10:44 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-11-07 15:24:54 +0900 |
commit | 9a0fcb948fe7346f6c68028b2e54ab600a2a2a6f (patch) | |
tree | 34cd373fb1529028fc8bb68526227e85ac520ad4 /conf.d/10-hinting-slight.conf | |
parent | 0c149259e4cc8070f6c8bf149290abb1367f340a (diff) |
Add the ruleset description support
Trying to address what these configuration files really do.
This change allows to see the short description that mention
the purpose of the content in the config file and obtain
them through API.
This change also encourage one who want to make some UI for
the user-specific configuration management. it is the main
purpose of this change for me though.
Aside from that, I've also made programs translatable. so
we see more dependencies on the build time for gettext,
and itstool to generate PO from xml.
Diffstat (limited to 'conf.d/10-hinting-slight.conf')
-rw-r--r-- | conf.d/10-hinting-slight.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d/10-hinting-slight.conf b/conf.d/10-hinting-slight.conf index c244ac0b..f00bcd39 100644 --- a/conf.d/10-hinting-slight.conf +++ b/conf.d/10-hinting-slight.conf @@ -1,6 +1,12 @@ <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> + </its:rules> + + <description>Set hintslight to hintstyle</description> + <match target="pattern"> <!-- This configuration is available on the major desktop environments. |