diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 09:19:37 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 09:19:37 +0000 |
commit | e03c4449ca8590e190e7432f7fe35e0c240e1cf9 (patch) | |
tree | 645247a477cb3329f08577baf911dcace713421e /testing | |
parent | 8819206f48b04c853ab9a05e6cf3161370780b19 (diff) | |
download | chromium_src-e03c4449ca8590e190e7432f7fe35e0c240e1cf9.zip chromium_src-e03c4449ca8590e190e7432f7fe35e0c240e1cf9.tar.gz chromium_src-e03c4449ca8590e190e7432f7fe35e0c240e1cf9.tar.bz2 |
A quick fix for Issue 3803.
I noticed a Font dialog used the system locale (not the application locale) to display the localzed font name of a CJK font, i.e. we can retrieve this localized font name with a GetTextFace() call. This change just retrieves the localized font name of the given font with a GetTextFace() call before initializing a CHOOSEFONT object.
BUG=3803 <http://crbug.com/3803>
TEST=run Chrome on Simplified Chinese XP; open the "Fonts and Languages" dialog;click the "Change" for "Sans-Serif Font", and; verify its "font" editbox shows the localized font-name of "simsun".
Review URL: http://codereview.chromium.org/119416
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions