summaryrefslogtreecommitdiff
path: root/fonts.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'fonts.conf.in')
-rw-r--r--fonts.conf.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/fonts.conf.in b/fonts.conf.in
index d1becba..446c0a0 100644
--- a/fonts.conf.in
+++ b/fonts.conf.in
@@ -311,6 +311,26 @@
</edit>
</match>
+<!--
+ Synthetic emboldening for fonts that do not have bold face available
+ -->
+
+ <match target="font">
+ <!-- check to see if the font is just regular -->
+ <test name="weight" compare="less_eq">
+ <int>100</int>
+ </test>
+ <!-- check to see if the pattern requests bold -->
+ <test target="pattern" name="weight" compare="more_eq">
+ <int>200</int>
+ </test>
+ <!-- set the embolden flag -->
+ <edit name="embolden" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+
<config>
<!--
These are the default Unicode chars that are expected to be blank