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

Issue 613193002: Avoid drawing emphasis marks over ellipsis glyphs (Closed)

Created:
6 years, 2 months ago by Habib Virji
Modified:
5 years, 10 months ago
CC:
blink-reviews, jamesr, pdr+graphicswatchlist_chromium.org, jbroman, mkwst+moarreviews_chromium.org, danakj, Rik, Stephen Chennney, krit, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Avoid drawing emphasis marks over ellipsis glyphs Take m_fromIndex and m_toIndex into account and accumulate initial advance instead of using "0" non-drawing glyphs. BUG=408544 R=dominik.rottsches@intel.com, behdad TEST=fast/text/emphasis-ellipsis-complextext.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185955

Patch Set 1 #

Patch Set 2 : Added antialiased test in TestExpectations #

Total comments: 7

Patch Set 3 : Updated to not add in glyph buffer ellipsis character #

Total comments: 14

Patch Set 4 : Glyph for the ellipsis are accumulated #

Patch Set 5 : Updated TestExpectations for other platforms #

Patch Set 6 : Fix layout test fail #

Patch Set 7 : Updated to latest master #

Patch Set 8 : Test Expectations #

Patch Set 9 : TestExpectations #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/emphasis-ellipsis-complextext.html View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/fast/text/emphasis-ellipsis-complextext-expected.png View 1 2 3 Binary file 0 comments Download
A LayoutTests/platform/linux/fast/text/emphasis-ellipsis-complextext-expected.txt View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 63 (21 generated)
Dominik Röttsches
https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html File LayoutTests/fast/text/emphasis-ellipsis-complextext.html (right): https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html#newcode18 LayoutTests/fast/text/emphasis-ellipsis-complextext.html:18: <div>abcd efg hijk<div> Could you add a line with ...
6 years, 2 months ago (2014-09-30 12:27:01 UTC) #2
Habib Virji
Thanks Dominik. Some clarifications and queries. https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html File LayoutTests/fast/text/emphasis-ellipsis-complextext.html (right): https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html#newcode18 LayoutTests/fast/text/emphasis-ellipsis-complextext.html:18: <div>abcd efg hijk<div> ...
6 years, 2 months ago (2014-09-30 13:28:40 UTC) #3
Dominik Röttsches
https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html File LayoutTests/fast/text/emphasis-ellipsis-complextext.html (right): https://codereview.chromium.org/613193002/diff/20001/LayoutTests/fast/text/emphasis-ellipsis-complextext.html#newcode18 LayoutTests/fast/text/emphasis-ellipsis-complextext.html:18: <div>abcd efg hijk<div> On 2014/09/30 13:28:40, Habib Virji wrote: ...
6 years, 2 months ago (2014-09-30 13:48:24 UTC) #4
Habib Virji
"Yes, I understood your analysis. Please take a look at graphemesInCluster, which is used in ...
6 years, 2 months ago (2014-09-30 14:01:24 UTC) #5
behdad_google
lgtm after applying Dominik's feedback.
6 years, 2 months ago (2014-09-30 14:10:51 UTC) #7
Dominik Röttsches
https://codereview.chromium.org/613193002/diff/20001/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp File Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp (right): https://codereview.chromium.org/613193002/diff/20001/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp#newcode1027 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp:1027: glyphToAdd = 0; I looked at this a bit ...
6 years, 2 months ago (2014-10-01 07:35:35 UTC) #8
Habib Virji
On 2014/10/01 07:35:35, Dominik Röttsches wrote: > https://codereview.chromium.org/613193002/diff/20001/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp > File Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp (right): > > https://codereview.chromium.org/613193002/diff/20001/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp#newcode1027 ...
6 years, 2 months ago (2014-10-01 07:38:47 UTC) #9
Habib Virji
Thanks Dominik for previous comment. Apologise it is taking time to resolve this. Issue with ...
6 years, 2 months ago (2014-10-03 16:08:14 UTC) #10
Habib Virji
@dominik: I had a look at the issue again. I am not making much progress ...
6 years, 2 months ago (2014-10-17 14:11:57 UTC) #11
Habib Virji
On 2014/10/17 14:11:57, Habib Virji wrote: > @dominik: I had a look at the issue ...
6 years, 2 months ago (2014-10-21 15:45:45 UTC) #13
Habib Virji
@behdad: have tried pinging dominik. Is it okay to land the issue?
6 years, 2 months ago (2014-10-22 13:00:32 UTC) #14
behdad_google
On 2014/10/22 13:00:32, Habib Virji wrote: > @behdad: have tried pinging dominik. Is it okay ...
6 years, 2 months ago (2014-10-22 19:12:59 UTC) #15
Habib Virji
@dominik: ping
6 years, 1 month ago (2014-11-06 14:24:31 UTC) #16
Dominik Röttsches
I was out of office for three weeks, got back today, will take a closer ...
6 years, 1 month ago (2014-11-13 09:01:55 UTC) #17
Habib Virji
On 2014/11/13 09:01:55, Dominik Röttsches wrote: > I was out of office for three weeks, ...
6 years, 1 month ago (2014-11-13 15:01:22 UTC) #18
Habib Virji
On 2014/11/13 09:01:55, Dominik Röttsches wrote: > I was out of office for three weeks, ...
6 years, 1 month ago (2014-11-13 15:02:01 UTC) #19
Dominik Röttsches
There are some improvements in this patch, in that you're accumulating the initial advance now, ...
6 years, 1 month ago (2014-11-14 10:10:47 UTC) #20
Habib Virji
Thanks dominik for reviewing and sorry for delay in replying back as I was on ...
6 years ago (2014-11-24 11:52:31 UTC) #21
Habib Virji
@Dominik: Closing this CL as not able to update it. Created new CL: https://codereview.chromium.org/753233002/
6 years ago (2014-11-24 16:48:26 UTC) #22
Dominik Röttsches
On 2014/11/24 16:48:26, Habib Virji wrote: > @Dominik: Closing this CL as not able to ...
6 years ago (2014-11-24 16:54:32 UTC) #23
Habib Virji
On 2014/11/24 16:54:32, Dominik Röttsches wrote: > On 2014/11/24 16:48:26, Habib Virji wrote: > > ...
6 years ago (2014-11-24 16:58:30 UTC) #24
Dominik Röttsches
> Many apologise, issue is my computer does not have old branch and git CL ...
6 years ago (2014-11-24 17:02:19 UTC) #25
Habib Virji
On 2014/11/24 17:02:19, Dominik Röttsches wrote: > > Many apologise, issue is my computer does ...
6 years ago (2014-11-24 17:07:46 UTC) #26
Dominik Röttsches
Alright, thanks. Please close the new one and update the issue description here, for example: ...
6 years ago (2014-11-24 17:15:42 UTC) #27
Habib Virji
Thanks. Closed new issue and updated the current one.
6 years ago (2014-11-24 17:21:05 UTC) #28
Dominik Röttsches
LGTM.
6 years ago (2014-11-24 17:24:52 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/80001
6 years ago (2014-11-24 17:26:29 UTC) #31
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/38211)
6 years ago (2014-11-24 19:26:11 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/100001
6 years ago (2014-11-25 11:51:00 UTC) #35
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years ago (2014-11-25 12:30:30 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/120001
6 years ago (2014-11-25 12:47:29 UTC) #39
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years ago (2014-11-25 12:48:15 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/140001
6 years ago (2014-11-25 12:55:32 UTC) #43
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years ago (2014-11-25 12:55:39 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/140001
6 years ago (2014-11-25 13:19:52 UTC) #47
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years ago (2014-11-25 13:19:58 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/160001
6 years ago (2014-11-25 13:22:52 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; can't find ...
6 years ago (2014-11-25 13:52:10 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/200001
6 years ago (2014-11-25 14:55:53 UTC) #57
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years ago (2014-11-25 14:56:02 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613193002/220001
6 years ago (2014-11-25 15:16:50 UTC) #61
commit-bot: I haz the power
6 years ago (2014-11-25 17:02:32 UTC) #62
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185955

Powered by Google App Engine
This is Rietveld 408576698