diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf b/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf new file mode 100644 index 000000000..ae289401b --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- + - Medium variant is used instead of Regular on Qt apps: + https://bugs.launchpad.net/ubuntu-font-family/+bug/744812 + - Medium and Bold looks the same in certain applications: + https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373 + --> + <match target="scan"> + <test name="fullname" compare="eq"> + <string>Source Han Sans TWHK Medium</string> + </test> + <edit name="weight" mode="assign"> + <const>demibold</const> + </edit> + </match> +</fontconfig> + |