diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 05:00:01 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 05:00:01 +0000 |
commit | 0e479a0e035819f98232cce525ff1e8e0e339f7d (patch) | |
tree | 0abfa26e80b5bde75b194a86a16c668da3404cc4 /webkit/tools/test_shell/resources | |
parent | f5acee683608d2f0c199058493592a421065f9e5 (diff) | |
download | chromium_src-0e479a0e035819f98232cce525ff1e8e0e339f7d.zip chromium_src-0e479a0e035819f98232cce525ff1e8e0e339f7d.tar.gz chromium_src-0e479a0e035819f98232cce525ff1e8e0e339f7d.tar.bz2 |
More font metrics work for Linux
* Add cursive and fantasy fonts (Comic Sans and Impact)
* Pipe the height parameter from FreeType via skia
* Another tweak to the metrics algorithms
Review URL: http://codereview.chromium.org/11312
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/resources')
-rw-r--r-- | webkit/tools/test_shell/resources/linux-fontconfig-config | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/resources/linux-fontconfig-config b/webkit/tools/test_shell/resources/linux-fontconfig-config index 57757c3..69d7bd2 100644 --- a/webkit/tools/test_shell/resources/linux-fontconfig-config +++ b/webkit/tools/test_shell/resources/linux-fontconfig-config @@ -73,4 +73,22 @@ <string>Courier New</string> </edit> </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>cursive</string> + </test> + <edit name="family" mode="assign"> + <string>Comic Sans MS</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>fantasy</string> + </test> + <edit name="family" mode="assign"> + <string>Impact</string> + </edit> + </match> </fontconfig> |