summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 14:51:24 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 14:51:24 +0000
commit4bb36ed2213e8c329077d8a7ee0799b3a3e0ece1 (patch)
tree5cf3a8a91ac2bbb3ea17d66546b45e3a7812d029 /webkit
parentc10da4b052a8ba91fc76455d3cc2e50e3bc2b08d (diff)
downloadchromium_src-4bb36ed2213e8c329077d8a7ee0799b3a3e0ece1.zip
chromium_src-4bb36ed2213e8c329077d8a7ee0799b3a3e0ece1.tar.gz
chromium_src-4bb36ed2213e8c329077d8a7ee0799b3a3e0ece1.tar.bz2
linux: add a NonHintedSans font to test_shell
This is used by an upcoming layout test. http://codereview.chromium.org/1303001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/test_shell/resources/linux-fontconfig-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/resources/linux-fontconfig-config b/webkit/tools/test_shell/resources/linux-fontconfig-config
index b9e6b80..be214c6 100644
--- a/webkit/tools/test_shell/resources/linux-fontconfig-config
+++ b/webkit/tools/test_shell/resources/linux-fontconfig-config
@@ -135,4 +135,21 @@
<const>hintslight</const>
</edit>
</match>
+
+ <match target="pattern">
+ <test name="family" compare="eq">
+ <string>NonHintedSans</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Verdana</string>
+ </edit>
+ <!-- These deliberately contradict each other. The 'hinting' preference
+ should take priority -->
+ <edit name="hintstyle" mode="assign">
+ <const>hintfull</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
</fontconfig>