Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Issue 276573010: Adding Locale (language attribute) information to font and using the (Closed)

Created:
6 years, 7 months ago by h.joshi
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, krit, danakj, dsinclair, ed+blinkwatch_opera.com, jbroman, ojan, dglazkov+blink, Rik, apavlov+blink_chromium.org, darktears, Stephen Chennney, rune+blink, pdr., rwlbuis, behdad, jungshik at Google, eseidel, bashi, behdad_google_chromium.org, zkov_chromium.org, del_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Adding Locale (language attribute) information to font and using the same while shaping Complex text. More than one langauge can point to single Script and single font can have support for different languages. BUG=372502 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175124

Patch Set 1 #

Total comments: 13

Patch Set 2 : Patch with comment fixes and moving NotoSans ttf to new patch #

Patch Set 3 : Changing font name in test case as per comment in 267423005 code review #

Total comments: 2

Patch Set 4 : Comment Fix #

Patch Set 5 : Comment fix #

Total comments: 18

Patch Set 6 : Comment fix and reverting to Old code #

Total comments: 21

Patch Set 7 : Comment fixes #

Patch Set 8 : Updating test case #

Patch Set 9 : Updating TestExpectation file #

Patch Set 10 : Fixing Test Expectation Issue #

Patch Set 11 : Updating Test Expectation file #

Patch Set 12 : Test Expectation Update #

Patch Set 13 : Updating Test Expectation file as Bots took more time and Test Expection files were outdated #

Patch Set 14 : Updating Test Expectation file due to recent commits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -8 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -1 line 0 comments Download
A LayoutTests/fast/text/shaping/same-script-different-lang.html View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/fast/text/shaping/same-script-different-lang-expected.png View 1 2 3 4 5 Binary file 0 comments Download
A LayoutTests/platform/linux/fast/text/shaping/same-script-different-lang-expected.txt View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/css/resolver/FontBuilder.cpp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M Source/platform/fonts/FontDescription.h View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -1 line 0 comments Download
M Source/platform/fonts/FontDescription.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp View 1 2 3 4 5 6 8 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 66 (0 generated)
h.joshi
PTAL
6 years, 7 months ago (2014-05-13 13:56:22 UTC) #1
behdad_google
lgtm This looks great! Ideally we shouldn't keep language in the font. But I think ...
6 years, 7 months ago (2014-05-13 15:24:53 UTC) #2
h.joshi
Thank you, will commit this and then start with your comment to refactor code.
6 years, 7 months ago (2014-05-13 17:17:30 UTC) #3
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 7 months ago (2014-05-13 17:17:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/1
6 years, 7 months ago (2014-05-13 17:17:49 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 17:17:51 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 7 months ago (2014-05-13 17:17:52 UTC) #7
h.joshi
I am getting "No LGTM from a valid reviewer yet" error when trying to commit ...
6 years, 7 months ago (2014-05-13 17:19:23 UTC) #8
behdad_google
On 2014/05/13 17:19:23, h.joshi wrote: > I am getting "No LGTM from a valid reviewer ...
6 years, 7 months ago (2014-05-13 17:20:59 UTC) #9
Dominik Röttsches
You could add the test case from this older WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=37984 (Serbian vs. regular ...
6 years, 7 months ago (2014-05-14 06:37:20 UTC) #10
h.joshi
Took test case from Behdad site (same is mentioned in bug as well) Using extra ...
6 years, 7 months ago (2014-05-14 07:21:43 UTC) #11
Dominik Röttsches
On 2014/05/14 07:21:43, h.joshi wrote: > Took test case from Behdad site (same is mentioned ...
6 years, 7 months ago (2014-05-14 07:38:23 UTC) #12
bashi
Sorry for being nagging, but some comments. https://codereview.chromium.org/276573010/diff/1/LayoutTests/fast/text/shaping/same_script_different_lang.html File LayoutTests/fast/text/shaping/same_script_different_lang.html (right): https://codereview.chromium.org/276573010/diff/1/LayoutTests/fast/text/shaping/same_script_different_lang.html#newcode1 LayoutTests/fast/text/shaping/same_script_different_lang.html:1: <!DOCTYPE HTML> ...
6 years, 7 months ago (2014-05-14 10:00:00 UTC) #13
h.joshi
@Dominik: Will make changes to HTML test case and add suggested comment to it.
6 years, 7 months ago (2014-05-14 10:44:12 UTC) #14
h.joshi
Will start with the suggested changes and upload new patch. https://codereview.chromium.org/276573010/diff/1/LayoutTests/fast/text/shaping/same_script_different_lang.html File LayoutTests/fast/text/shaping/same_script_different_lang.html (right): https://codereview.chromium.org/276573010/diff/1/LayoutTests/fast/text/shaping/same_script_different_lang.html#newcode1 ...
6 years, 7 months ago (2014-05-14 10:50:47 UTC) #15
bashi
https://codereview.chromium.org/276573010/diff/1/Source/platform/fonts/FontDescription.h File Source/platform/fonts/FontDescription.h (right): https://codereview.chromium.org/276573010/diff/1/Source/platform/fonts/FontDescription.h#newcode84 Source/platform/fonts/FontDescription.h:84: , m_locale(String("en")) On 2014/05/14 10:50:47, h.joshi wrote: > As ...
6 years, 7 months ago (2014-05-14 11:32:27 UTC) #16
eseidel
6 years, 7 months ago (2014-05-14 12:27:25 UTC) #17
eseidel
The FontDescription changes l-g-t-m. Would like eae to review the rest.
6 years, 7 months ago (2014-05-14 12:28:22 UTC) #18
h.joshi
thank you Eric, Patch "https://codereview.chromium.org/267423005/" is added for NotoSans font file.
6 years, 7 months ago (2014-05-14 12:39:51 UTC) #19
behdad_google
On 2014/05/14 07:38:23, Dominik Röttsches wrote: > On 2014/05/14 07:21:43, h.joshi wrote: > > Took ...
6 years, 7 months ago (2014-05-14 17:29:38 UTC) #20
Dominik Röttsches
On 2014/05/14 17:29:38, behdad_google wrote: > On 2014/05/14 07:38:23, Dominik Röttsches wrote: > > On ...
6 years, 7 months ago (2014-05-15 08:24:12 UTC) #21
efidler1
Cool. If you're going to land some nice font subsets, 313806 needs a font with ...
6 years, 7 months ago (2014-05-16 08:11:36 UTC) #22
h.joshi
Waiting for update from dpranke on blink-dev (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/PoxWa75ex3k) Going with subset font is good option
6 years, 7 months ago (2014-05-16 08:48:17 UTC) #23
eae
https://codereview.chromium.org/276573010/diff/40001/Source/platform/fonts/FontDescription.h File Source/platform/fonts/FontDescription.h (right): https://codereview.chromium.org/276573010/diff/40001/Source/platform/fonts/FontDescription.h#newcode84 Source/platform/fonts/FontDescription.h:84: , m_locale(String("en")) How about storing the hb_language_t instead of ...
6 years, 7 months ago (2014-05-19 18:56:12 UTC) #24
h.joshi
https://codereview.chromium.org/276573010/diff/40001/Source/platform/fonts/FontDescription.h File Source/platform/fonts/FontDescription.h (right): https://codereview.chromium.org/276573010/diff/40001/Source/platform/fonts/FontDescription.h#newcode84 Source/platform/fonts/FontDescription.h:84: , m_locale(String("en")) Okey, will start working on this suggestion ...
6 years, 7 months ago (2014-05-20 04:22:13 UTC) #25
h.joshi
I have a doubt here, all Harfbuzz related call etc are done from file present ...
6 years, 7 months ago (2014-05-20 04:41:41 UTC) #26
eae
On 2014/05/20 04:41:41, h.joshi wrote: > I have a doubt here, all Harfbuzz related call ...
6 years, 7 months ago (2014-05-20 20:20:04 UTC) #27
h.joshi
Okey, thank you for clarifying my doubt. Will start with make code changes as per ...
6 years, 7 months ago (2014-05-21 01:46:16 UTC) #28
h.joshi
New patch with comment fix, had to make changes to "gyp" files to create dependency ...
6 years, 7 months ago (2014-05-21 12:13:38 UTC) #29
Inactive
https://codereview.chromium.org/276573010/diff/80001/LayoutTests/fast/text/shaping/same-script-different-lang.html File LayoutTests/fast/text/shaping/same-script-different-lang.html (right): https://codereview.chromium.org/276573010/diff/80001/LayoutTests/fast/text/shaping/same-script-different-lang.html#newcode1 LayoutTests/fast/text/shaping/same-script-different-lang.html:1: <!DOCTYPE HTML> lowercase "html" https://codereview.chromium.org/276573010/diff/80001/LayoutTests/fast/text/shaping/same-script-different-lang.html#newcode13 LayoutTests/fast/text/shaping/same-script-different-lang.html:13: <h3>The glyph for ...
6 years, 7 months ago (2014-05-22 13:52:01 UTC) #30
eae
We really don't want to add a harfbuzz dependency to modules, blink_common or core. blink_platform ...
6 years, 7 months ago (2014-05-22 17:11:51 UTC) #31
h.joshi
New patch submitted with comment fix and reverting back to String approach. Tried removing dependency ...
6 years, 7 months ago (2014-05-23 11:41:30 UTC) #32
eae
LGTM
6 years, 7 months ago (2014-05-23 17:22:07 UTC) #33
Inactive
not lgtm for now. When you reupload a patch, please take into consideration *all* the ...
6 years, 7 months ago (2014-05-23 19:34:25 UTC) #34
h.joshi
Will make suggested changes. https://codereview.chromium.org/276573010/diff/100001/LayoutTests/fast/text/shaping/same-script-different-lang.html File LayoutTests/fast/text/shaping/same-script-different-lang.html (right): https://codereview.chromium.org/276573010/diff/100001/LayoutTests/fast/text/shaping/same-script-different-lang.html#newcode1 LayoutTests/fast/text/shaping/same-script-different-lang.html:1: <!DOCTYPE HTML> Forgot to change ...
6 years, 7 months ago (2014-05-24 01:27:00 UTC) #35
h.joshi
@Chris: new patch with suggested changes, pls review
6 years, 7 months ago (2014-05-26 06:03:02 UTC) #36
Inactive
lgtm, thanks.
6 years, 7 months ago (2014-05-27 12:57:41 UTC) #37
h.joshi
Thank you Chris
6 years, 7 months ago (2014-05-27 14:50:51 UTC) #38
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-28 09:16:13 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/180001
6 years, 6 months ago (2014-05-28 09:16:30 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 09:16:40 UTC) #41
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-05-28 09:16:41 UTC) #42
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-28 09:39:47 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/200001
6 years, 6 months ago (2014-05-28 09:40:12 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-05-28 12:35:09 UTC) #45
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 13:35:03 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/9444)
6 years, 6 months ago (2014-05-28 13:35:04 UTC) #47
eseidel
Thank you for working with Chris, he's a very experianced Blink contributor and can help ...
6 years, 6 months ago (2014-05-28 22:11:57 UTC) #48
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-29 05:52:08 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/220001
6 years, 6 months ago (2014-05-29 05:52:41 UTC) #50
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 05:52:53 UTC) #51
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-05-29 05:52:54 UTC) #52
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-29 06:00:17 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/240001
6 years, 6 months ago (2014-05-29 06:00:49 UTC) #54
h.joshi
Thank you Eric, Yes will try to gather more information on Blink process from Chris ...
6 years, 6 months ago (2014-05-29 06:15:40 UTC) #55
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-05-29 07:19:52 UTC) #56
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 13:27:12 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/9410)
6 years, 6 months ago (2014-05-29 13:27:13 UTC) #58
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-29 15:10:43 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/260001
6 years, 6 months ago (2014-05-29 15:11:52 UTC) #60
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-05-29 21:25:03 UTC) #61
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 21:35:31 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/9775)
6 years, 6 months ago (2014-05-29 21:35:32 UTC) #63
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 6 months ago (2014-05-30 09:32:58 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/276573010/280001
6 years, 6 months ago (2014-05-30 09:33:48 UTC) #65
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 13:17:20 UTC) #66
Message was sent while issue was closed.
Change committed as 175124

Powered by Google App Engine
This is Rietveld 408576698