The defaultlocale of Font should be getted from system platform
Reported by
pxinc...@gmail.com,
May 4 2016
|
|||
Issue description
Chrome Version: all
Chrome OS Version: all
Chrome OS Platform: all
If two character have the same unicode , Font will depend on the langauge attribute .
But if Font do not get locale from net response and Html tag, it should be defaultLanguage.
But It is setted by "en" in the current version.
Test case :
<html>
<p><font size="7">直</font></p>
</html>
Expected Result:
When we change language to Traditional Chinese on window system, the result is font_locale.png.
The first window (IE) is Traditional Chinese .
the second one (chrome) is Simaple Chinese .
and the third one (Firefox) is Traditional Chinese.
,
May 5 2016
Uploading the png since I am not sure the first upload worked.
,
May 12 2016
,
May 17 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7ae70b716aa5221221412e35796d07b5cb852292 commit 7ae70b716aa5221221412e35796d07b5cb852292 Author: qi1988.yang <qi1988.yang@samsung.com> Date: Tue May 17 09:47:55 2016 Fallback on system locale for font selection If two character have the same unicode, Font will depend on the language attribute. But if Font do not get locale from net response and Html tag, it should be defaultLanguage. It should not only be EN. BUG= 609043 Review-Url: https://codereview.chromium.org/1955523002 Cr-Commit-Position: refs/heads/master@{#394093} [modify] https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292/content/ppapi_plugin/ppapi_blink_platform_impl.cc [add] https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292/third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi-expected.html [add] https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292/third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html [modify] https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
,
May 17 2016
,
May 23 2016
Bulk verified
,
May 23 2016
bulk verified
,
Aug 29 2016
Ah, this is causing a regression on Android, see issue 640077 . |
|||
►
Sign in to add a comment |
|||
Comment 1 by rob.b...@samsung.com
, May 5 2016