diff options
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf')
-rw-r--r-- | 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-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf b/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-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> | ||
3 | <fontconfig> | ||
4 | <!-- | ||
5 | - Medium variant is used instead of Regular on Qt apps: | ||
6 | https://bugs.launchpad.net/ubuntu-font-family/+bug/744812 | ||
7 | - Medium and Bold looks the same in certain applications: | ||
8 | https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373 | ||
9 | --> | ||
10 | <match target="scan"> | ||
11 | <test name="fullname" compare="eq"> | ||
12 | <string>Source Han Sans TWHK Medium</string> | ||
13 | </test> | ||
14 | <edit name="weight" mode="assign"> | ||
15 | <const>demibold</const> | ||
16 | </edit> | ||
17 | </match> | ||
18 | </fontconfig> | ||
19 | |||