summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 22:03:06 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 22:03:06 +0000
commitb096b26c613aa283549fbdc67cbb8e47321d53bd (patch)
treed8bf708a56f78032d48117adf29086ff17bb3e0e /base/gfx
parent337669856b5dcc1642c8f8270404b9d62590b5d4 (diff)
downloadchromium_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 'base/gfx')
-rw-r--r--base/gfx/font_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gfx/font_utils.cc b/base/gfx/font_utils.cc
index d7e119a..23c7f3a 100644
--- a/base/gfx/font_utils.cc
+++ b/base/gfx/font_utils.cc
@@ -259,7 +259,7 @@ const wchar_t* GetFallbackFamily(const wchar_t *characters,
family = L"simsun-extb";
break;
default:
- family = L"arial unicode ms";
+ family = L"lucida sans unicode";
}
}