diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 17:37:57 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 17:37:57 +0000 |
commit | d5e65f1920ac5419439daf746f93efcabc7e6c08 (patch) | |
tree | 4b9c091de0cb86eec2c6caa4bec7848bceac5bd2 /webkit/tools/test_shell/resources | |
parent | b9603fd157b170992fef28c2d20bf4e9f1f81af5 (diff) | |
download | chromium_src-d5e65f1920ac5419439daf746f93efcabc7e6c08.zip chromium_src-d5e65f1920ac5419439daf746f93efcabc7e6c08.tar.gz chromium_src-d5e65f1920ac5419439daf746f93efcabc7e6c08.tar.bz2 |
Linux: When asked for Monaco font, default to Times New Roman.
Monaco is an Apple specific font which we don't have on either Linux nor
Windows. When Windows is asked for it it appears to fallback to Times
New Roman. We configure Linux to do the same so that we match on
layout-tests which use Monaco.
Review URL: http://codereview.chromium.org/11610
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/resources')
-rw-r--r-- | webkit/tools/test_shell/resources/linux-fontconfig-config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/resources/linux-fontconfig-config b/webkit/tools/test_shell/resources/linux-fontconfig-config index 69d7bd2..c5492cd 100644 --- a/webkit/tools/test_shell/resources/linux-fontconfig-config +++ b/webkit/tools/test_shell/resources/linux-fontconfig-config @@ -91,4 +91,13 @@ <string>Impact</string> </edit> </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Monaco</string> + </test> + <edit name="family" mode="assign"> + <string>Times New Roman</string> + </edit> + </match> </fontconfig> |