summaryrefslogtreecommitdiff
path: root/tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-10 17:11:10 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-10 17:11:10 -0500
commit658bb3ccd43658de18fbd43cd91a8e66650e27a7 (patch)
tree6a64705a20919b8d53b73601d0c3b4f4df6f5b15 /tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf
parent3020b224fa2d6e1b6b8a576e8e8e211e0585f2a2 (diff)
parentb1231696caa7d08c80055ca59b18f4b634dc47cf (diff)
finished merge of cairocanvas with windows and windows+cc branches
Diffstat (limited to 'tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf')
-rw-r--r--tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf b/tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf
new file mode 100644
index 0000000000..2a9c063257
--- /dev/null
+++ b/tools/windows_packaging/mingw64/fonts/conf.d/20-fix-globaladvance.conf
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+ Some Asian fonts misadvertise themselves as monospaced when
+ in fact they are dual-spaced (half and full). This makes
+ FreeType very confused as it forces all widths to match.
+ Undo this magic by disabling the width forcing code -->
+ <match target="font">
+ <test name="family"><string>GulimChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>DotumChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>BatangChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>GungsuhChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+</fontconfig>