diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 23:23:43 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 23:23:43 +0000 |
commit | f46648a22344b5204971e8b0da7fa7578dc078f1 (patch) | |
tree | bc417cb3ca9d576534a7c1935bc2299e3b36c661 /chrome/app | |
parent | b588e52fc78baef19f0ae335eb77618f5d8ff10b (diff) | |
download | chromium_src-f46648a22344b5204971e8b0da7fa7578dc078f1.zip chromium_src-f46648a22344b5204971e8b0da7fa7578dc078f1.tar.gz chromium_src-f46648a22344b5204971e8b0da7fa7578dc078f1.tar.bz2 |
Use new CJK Vista fonts for DOM UI by listing them in IDS_WEB_FONT_FAMILY before the old CJK Win fonts (available on Win XP, Vista / 7).
Vista fonts are better looking that the old CJK fonts.
Also, list Arial at the beginning so that Arial is used for the 'ASCII portion' than not-so-nice glyphs for the ASCII portion in CJK fonts.
BUG=NONE
TEST=1. On Win Vista/7, run Chrome with '--lang=zh-CN' (zh-TW, ja and ko). The font in DOM UI (history, download, new tab) look nicer than on WIn XP. 2. Even on XP, the ASCII portion (Latin letters and numbers) in CJK Chrome looks nicer than before in DOM UI pages.
Review URL: http://codereview.chromium.org/437071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/resources/locale_settings_ja.xtb | 2 | ||||
-rw-r--r-- | chrome/app/resources/locale_settings_ko.xtb | 2 | ||||
-rw-r--r-- | chrome/app/resources/locale_settings_zh-CN.xtb | 2 | ||||
-rw-r--r-- | chrome/app/resources/locale_settings_zh-TW.xtb | 7 |
4 files changed, 8 insertions, 5 deletions
diff --git a/chrome/app/resources/locale_settings_ja.xtb b/chrome/app/resources/locale_settings_ja.xtb index d6d4305..d8a45e9 100644 --- a/chrome/app/resources/locale_settings_ja.xtb +++ b/chrome/app/resources/locale_settings_ja.xtb @@ -6,7 +6,7 @@ <translation id="IDS_DEFAULT_ENCODING">Shift_JIS</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <if expr="os == 'win32'"> - <translation id="IDS_WEB_FONT_FAMILY">MS PGothic</translation> + <translation id="IDS_WEB_FONT_FAMILY">Arial, Meiryo, MS PGothic, sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">MS Gothic</translation> <translation id="IDS_SERIF_FONT_FAMILY">MS PMincho</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">MS PGothic</translation> diff --git a/chrome/app/resources/locale_settings_ko.xtb b/chrome/app/resources/locale_settings_ko.xtb index eef281f..1aec7bb 100644 --- a/chrome/app/resources/locale_settings_ko.xtb +++ b/chrome/app/resources/locale_settings_ko.xtb @@ -6,7 +6,7 @@ <translation id="IDS_DEFAULT_ENCODING">windows-949</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <if expr="os == 'win32'"> - <translation id="IDS_WEB_FONT_FAMILY">Gulim</translation> + <translation id="IDS_WEB_FONT_FAMILY">Arial, Malgun Gothic, Gulim, sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">Gulimche</translation> <translation id="IDS_SERIF_FONT_FAMILY">Batang</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Gulim</translation> diff --git a/chrome/app/resources/locale_settings_zh-CN.xtb b/chrome/app/resources/locale_settings_zh-CN.xtb index c238caa..024c452 100644 --- a/chrome/app/resources/locale_settings_zh-CN.xtb +++ b/chrome/app/resources/locale_settings_zh-CN.xtb @@ -6,7 +6,7 @@ <translation id="IDS_DEFAULT_ENCODING">GBK</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <if expr="os == 'win32'"> - <translation id="IDS_WEB_FONT_FAMILY">Simhei</translation> + <translation id="IDS_WEB_FONT_FAMILY">Arial, Microsoft Yahei, Simsun, sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">NSimsun</translation> <translation id="IDS_SERIF_FONT_FAMILY">Simsun</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Simsun</translation> diff --git a/chrome/app/resources/locale_settings_zh-TW.xtb b/chrome/app/resources/locale_settings_zh-TW.xtb index cafc28a..bdb00e4 100644 --- a/chrome/app/resources/locale_settings_zh-TW.xtb +++ b/chrome/app/resources/locale_settings_zh-TW.xtb @@ -1,12 +1,15 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="zh-TW"> -<if expr="os != 'darwin'"> - <translation id="IDS_WEB_FONT_FAMILY">Arial</translation> +<if expr="os == 'win32'"> + <translation id="IDS_WEB_FONT_FAMILY">Arial, Microsoft Jhenghei, PMingLiu, sans-serif</translation> </if> <if expr="os == 'darwin'"> <translation id="IDS_WEB_FONT_FAMILY">Helvetica, LiHei Pro</translation> </if> +<if expr="os == 'linux2'"> + <translation id="IDS_WEB_FONT_FAMILY">AR PL UKai TW, sans-serif</translation> +</if> <translation id="IDS_WEB_FONT_SIZE">84%</translation> <translation id="IDS_ACCEPT_LANGUAGES">zh-TW,zh,en-US,en</translation> <translation id="IDS_DEFAULT_ENCODING">Big5</translation> |