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

Issue 870523003: Check for Unicode in Font before ICU call (Closed)

Created:
5 years, 11 months ago by h.joshi
Modified:
4 years, 1 month ago
Reviewers:
behdad_google, eae, behdad
CC:
blink-reviews, Dominik Röttsches, krit, Rik, jbroman, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Check for Unicode in Font before ICU call Checking for Unicode is current font before checking for normalization in ICU. With above patch, following test case output is matching with Firefox now. 1. fast/text/atsui-multiple-renderers.html 2. fast/text/capitalize-boundaries.html 3. fast/text/should-use-atsui.html Need to create Test case specific to Vietnamese similar to one reported in issue. Trying to make font which emulates the issue. BUG=449479

Patch Set 1 #

Patch Set 2 : Test patch - Convert to NFC for if diacritical marks are present #

Total comments: 6

Patch Set 3 : Fixing comments #

Patch Set 4 : Updating Test Expectation for virtual test #

Patch Set 5 : New Rebase patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 3 4 1 chunk +23 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
h.joshi
Emil/Behdad: This is not final patch as Layout test specific to Vietnamese is not ready ...
5 years, 11 months ago (2015-01-27 15:00:12 UTC) #2
behdad_google
On 2015/01/27 15:00:12, h.joshi wrote: > Emil/Behdad: This is not final patch as Layout test ...
5 years, 11 months ago (2015-01-27 19:27:21 UTC) #3
h.joshi
@behdad: So all normalization etc for which ICU is used will be done by Harfbuzz? ...
5 years, 10 months ago (2015-01-29 11:01:57 UTC) #4
h.joshi
It seems that font is not having correct OTF rules for diacritical marks or in ...
5 years, 10 months ago (2015-02-09 04:57:03 UTC) #5
eae
I like the idea behind this change but as Behdad just said we are trying ...
5 years, 10 months ago (2015-02-10 15:40:12 UTC) #6
h.joshi
@Emil: Made suggested changes, Pls review. https://codereview.chromium.org/870523003/diff/20001/Source/platform/fonts/SimpleFontData.cpp File Source/platform/fonts/SimpleFontData.cpp (right): https://codereview.chromium.org/870523003/diff/20001/Source/platform/fonts/SimpleFontData.cpp#newcode465 Source/platform/fonts/SimpleFontData.cpp:465: unsigned pageNumber = ...
5 years, 10 months ago (2015-02-17 03:44:48 UTC) #7
eae
On Mon, Feb 16, 2015 at 7:44 PM, <h.joshi@samsung.com> wrote: > @Emil: Made suggested changes, ...
5 years, 10 months ago (2015-02-17 16:27:13 UTC) #8
h.joshi
@Emil: Need your guidance and also help to clear doubt. In current Blink code, ICU ...
5 years, 10 months ago (2015-02-24 09:41:25 UTC) #9
eae
Let's discuss this once Behdad is back, he understands this better than anyone else.
5 years, 10 months ago (2015-02-24 16:33:16 UTC) #10
h.joshi
@Behdad: Need your suggestion on this. Pls see discussion with Emil above mainly (https://codereview.chromium.org/870523003/#msg9) and ...
5 years, 9 months ago (2015-03-17 12:09:27 UTC) #11
h.joshi
@Behdad: Pls review and suggest.
5 years, 8 months ago (2015-04-03 14:10:51 UTC) #12
h.joshi
@Behdad: Pls review and suggest.
5 years, 7 months ago (2015-04-30 11:18:14 UTC) #13
behdad_google
I don't want to add the normalizer call. We have other, longer-term, plans to fix ...
5 years, 7 months ago (2015-05-18 21:59:17 UTC) #15
behdad_google
Also, as noted on the bug, this should be fixed already: https://code.google.com/p/chromium/issues/detail?id=464148
5 years, 7 months ago (2015-05-18 22:01:23 UTC) #16
h.joshi
@behdad_google: 1. Checked in M44 (Android and Linux) and issue is not fixed yet. 2. ...
5 years, 7 months ago (2015-05-19 12:08:48 UTC) #17
rwlbuis
4 years, 1 month ago (2016-11-11 21:58:57 UTC) #19
Will close, bug is marked as fixed and I can't reproduce the misrendering
either.

Powered by Google App Engine
This is Rietveld 408576698