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

Issue 680213004: Reland of Different fonts selected for width calculation (Closed)

Created:
6 years, 1 month ago by h.joshi
Modified:
6 years ago
Reviewers:
tkent, pdr., eae
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Reland of Different fonts selected for width calculation Original Patch: https://codereview.chromium.org/593673003/ due to issues faced in XP for which test expectation was not updated and revert of patch was submitted In some cases different fonts are selected to get width of string and to draw text. In Font.cpp calls, font get changed due to fallback font architecture. When making calls we need to check if Unicode is present in primary font or not. In case of Ellipsis, we need to check if Ellipsis Unicode is present in primary font or not, if not then use "Dot" Unicode, this is also suggested in CSS3 (http://www.w3.org/TR/2003/CR-css3-text-20030514/) BUG=416425 TEST=fast/text/ellipsis-platform-font-change.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186162

Patch Set 1 #

Patch Set 2 : Rebasing Test Expectation file #

Patch Set 3 : Updating TestExpection for new virtual/textblob #

Patch Set 4 : Updating Test Expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -10 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
A LayoutTests/fast/text/ellipsis-platform-font-change.html View 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/ellipsis-platform-font-change-expected.txt View 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/third_party/AndroidEmojiMonospace/AndroidEmoji.ttf.subset-uni203C.ttf View Binary file 0 comments Download
A LayoutTests/third_party/AndroidEmojiMonospace/LICENSE.txt View 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/third_party/AndroidEmojiMonospace/README.chromium View 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 1 chunk +23 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderText.cpp View 1 2 chunks +12 lines, -3 lines 0 comments Download
M Source/wtf/unicode/CharacterNames.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
h.joshi
Pls review
6 years, 1 month ago (2014-10-29 18:23:45 UTC) #2
h.joshi
Pls review
6 years, 1 month ago (2014-11-03 17:10:26 UTC) #3
eae
On 2014/11/03 17:10:26, h.joshi wrote: > Pls review What have you done to address the ...
6 years, 1 month ago (2014-11-03 19:25:58 UTC) #4
h.joshi
@Emil: I have shared detailed mail on this with you on this with screen-shots, we ...
6 years, 1 month ago (2014-11-04 06:53:11 UTC) #5
h.joshi
@Emil: Pls review this patch.
6 years, 1 month ago (2014-11-17 04:31:04 UTC) #6
eae
LGTM
6 years, 1 month ago (2014-11-17 21:38:43 UTC) #7
h.joshi
@Emil: Thank you @tkent: Pls review as changes are in files under wtf folder so ...
6 years, 1 month ago (2014-11-19 03:39:15 UTC) #8
tkent
lgtm
6 years, 1 month ago (2014-11-19 03:40:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/680213004/1
6 years, 1 month ago (2014-11-19 03:40:57 UTC) #11
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, 1 month ago (2014-11-19 03:41:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/680213004/20001
6 years, 1 month ago (2014-11-24 05:06:09 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/35223)
6 years, 1 month ago (2014-11-24 06:14:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/680213004/20001
6 years, 1 month ago (2014-11-24 06:15:53 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/35228)
6 years, 1 month ago (2014-11-24 07:15:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/680213004/40001
6 years ago (2014-11-24 09:15:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/35245)
6 years ago (2014-11-24 10:21:21 UTC) #25
Timothy Loh
On 2014/11/24 10:21:21, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-11-24 10:38:25 UTC) #26
h.joshi
@Timothy Loh: Made suggested changes.
6 years ago (2014-11-26 01:54:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/680213004/60001
6 years ago (2014-11-28 08:40:43 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=186162
6 years ago (2014-11-28 09:50:01 UTC) #30
pfeldman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/741803003/ by pfeldman@chromium.org. ...
6 years ago (2014-11-30 14:54:59 UTC) #31
h.joshi
6 years ago (2014-12-01 04:22:28 UTC) #32
Message was sent while issue was closed.
@pfeldman: Cross checked Test Expectation file and test case 
"virtual/textblob/svg/text/text-overflow-ellipsis-svgfont.html" is marked as
"NeedsRebaseline"

Request you to pls revert your patch
(https://codereview.chromium.org/741803003/).

Powered by Google App Engine
This is Rietveld 408576698