diff options
author | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 22:03:06 +0000 |
---|---|---|
committer | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 22:03:06 +0000 |
commit | b096b26c613aa283549fbdc67cbb8e47321d53bd (patch) | |
tree | d8bf708a56f78032d48117adf29086ff17bb3e0e /webkit/port/platform/graphics | |
parent | 337669856b5dcc1642c8f8270404b9d62590b5d4 (diff) | |
download | chromium_src-b096b26c613aa283549fbdc67cbb8e47321d53bd.zip chromium_src-b096b26c613aa283549fbdc67cbb8e47321d53bd.tar.gz chromium_src-b096b26c613aa283549fbdc67cbb8e47321d53bd.tar.bz2 |
Change the font search order to try Lucida Sans Unicode before Arial Unicode MS because the former is available
on Windows XP or later while the latter is only available with MS Office installed.
This is partly to make font-dependent layout test results 'invariant' with or without Arial Unicode MS installed.
Eventually, we may want to make those tests more robust against the font availability by removing some Unicode
characters not commonly available.
BUG=2304
TEST=pass the layout tests affected
Review URL: http://codereview.chromium.org/6495
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/graphics')
-rw-r--r-- | webkit/port/platform/graphics/FontCacheWin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/FontCacheWin.cpp b/webkit/port/platform/graphics/FontCacheWin.cpp index beda286..0156ccb 100644 --- a/webkit/port/platform/graphics/FontCacheWin.cpp +++ b/webkit/port/platform/graphics/FontCacheWin.cpp @@ -396,10 +396,10 @@ const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const static wchar_t* const commonFonts[] = { L"tahoma", L"arial unicode ms", - L"microsoft sans serif", L"lucida sans unicode", + L"microsoft sans serif", L"palatino linotype", - // Four fonts below (code2000 at the end) are not from MS, but + // Four fonts below (and code2000 at the end) are not from MS, but // once installed, cover a very wide range of characters. L"freeserif", L"freesans", |