diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-11-02 15:57:36 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-11-02 15:57:36 +0000 |
commit | efa9f2bd077da0ccc432b80baf87c2a3e7340f6a (patch) | |
tree | 3915f12195267980f3c4ae65b15be368b14dfe1d /fonts.conf.in | |
parent | d7b3ac63675983c92092703c9c7da0d9e3c0b2ad (diff) |
Change the rule for artificial emboldening in fonts.conf.in. This enables
the support for artificial emboldening included in cairo.
reviewed by: plam
Diffstat (limited to 'fonts.conf.in')
-rw-r--r-- | fonts.conf.in | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/fonts.conf.in b/fonts.conf.in index 4f7a308..c9014f8 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -354,16 +354,26 @@ <match target="font"> <!-- check to see if the font is just regular --> <test name="weight" compare="less_eq"> - <int>100</int> + <const>medium</const> </test> <!-- check to see if the pattern requests bold --> - <test target="pattern" name="weight" compare="more_eq"> - <int>200</int> + <test target="pattern" name="weight" compare="more"> + <const>medium</const> </test> - <!-- set the embolden flag --> + <!-- + set the embolden flag + needed for applications using cairo, e.g. gucharmap, gedit, ... + --> <edit name="embolden" mode="assign"> <bool>true</bool> </edit> + <!-- + set weight to bold + needed for applications using Xft directly, e.g. Firefox, ... + --> + <edit name="weight" mode="assign"> + <const>bold</const> + </edit> </match> |