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

Issue 182923003: Chrome not considering Underline Position from Font (Closed)

Created:
6 years, 9 months ago by h.joshi
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jbroman, danakj, Rik, jchaffraix+rendering, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Currently Underline Position is not calculated from Font Metrics, by default Blink makes 1-pixel gap between baseline and underline position. This patch adds support for to obtain Underline position from Font Metrics Skia patch is in review process for Underline Thickness and Position, added comments to Skia related Blink files which needs to update once Skia patch is committed. BUG=347510 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171050

Patch Set 1 #

Patch Set 2 : Adding comments and updating check for Underline Pos #

Total comments: 4

Patch Set 3 : Fixing Comments #

Total comments: 1

Patch Set 4 : Comment Fix #

Patch Set 5 : Skia patch landed to Blink, making changes in Blink code #

Patch Set 6 : Updating TestExpectation #

Patch Set 7 : Fixing TestExpectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -6 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 5 1 chunk +12 lines, -1 line 0 comments Download
M Source/platform/fonts/FontMetrics.h View 4 chunks +6 lines, -0 lines 0 comments Download
M Source/platform/fonts/mac/SimpleFontDataMac.mm View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M Source/platform/fonts/skia/SimpleFontDataSkia.cpp View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 42 (0 generated)
h.joshi
Pls review
6 years, 9 months ago (2014-02-28 05:01:44 UTC) #1
eae
Overall this is a great change, I do have a couple of comments though. https://codereview.chromium.org/182923003/diff/20001/Source/core/rendering/InlineTextBox.cpp ...
6 years, 9 months ago (2014-02-28 17:37:58 UTC) #2
h.joshi
Okey, will make suggested changes and upload new patch for review. On 2014/02/28 17:37:58, eae ...
6 years, 9 months ago (2014-03-01 03:21:04 UTC) #3
h.joshi
https://codereview.chromium.org/182923003/diff/20001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/182923003/diff/20001/Source/core/rendering/InlineTextBox.cpp#newcode920 Source/core/rendering/InlineTextBox.cpp:920: gap = -fontMetrics.underlinePosition(); Will make changes in next patch. ...
6 years, 9 months ago (2014-03-01 03:36:12 UTC) #4
h.joshi
Added new patch with comment fix. On 2014/03/01 03:36:12, h.joshi wrote: > https://codereview.chromium.org/182923003/diff/20001/Source/core/rendering/InlineTextBox.cpp > File ...
6 years, 9 months ago (2014-03-01 03:46:28 UTC) #5
h.joshi
Skia changes (https://codereview.chromium.org/152073003/) are committed, need to follow when these Skia changes are taken in ...
6 years, 9 months ago (2014-03-02 06:18:23 UTC) #6
h.joshi
Pls review. On 2014/03/02 06:18:23, h.joshi wrote: > Skia changes (https://codereview.chromium.org/152073003/) are committed, need to ...
6 years, 9 months ago (2014-03-05 01:18:48 UTC) #7
jungshik at Google
LGTM if you want to land this CL as it is. My preference is to ...
6 years, 9 months ago (2014-03-06 01:05:32 UTC) #8
h.joshi
Thank you, will make suggested changes and submit new patch for review. Will follow Skia ...
6 years, 9 months ago (2014-03-06 02:57:43 UTC) #9
hj
Patch with comment fix. Do we have some some mail thread or group which I ...
6 years, 9 months ago (2014-03-08 03:40:56 UTC) #10
Stephen Chennney
On 2014/03/08 03:40:56, hj wrote: > Patch with comment fix. > Do we have some ...
6 years, 9 months ago (2014-03-10 14:40:06 UTC) #11
h.joshi
Took new code today and Skia changes for Underline landed on Blink, will make new ...
6 years, 9 months ago (2014-03-11 08:53:49 UTC) #12
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 9 months ago (2014-03-11 09:05:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/182923003/100001
6 years, 9 months ago (2014-03-11 09:05:05 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 09:22:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit
6 years, 9 months ago (2014-03-11 09:22:58 UTC) #16
h.joshi
I tried to submit patch as LGTM was given but got following error on blink_presubmit ...
6 years, 9 months ago (2014-03-11 09:58:48 UTC) #17
h.joshi
Pls reveiw changes, this patch required LGTM from OWNER, as on submittion I am getting ...
6 years, 9 months ago (2014-03-20 10:44:22 UTC) #18
h.joshi
Pls review. On 2014/03/20 10:44:22, h.joshi wrote: > Pls reveiw changes, this patch required LGTM ...
6 years, 9 months ago (2014-03-20 10:45:58 UTC) #19
jungshik at Google
Can any of OWNERS review the CL? Emil, can you review? Thanks On 2014/03/20 10:45:58, ...
6 years, 8 months ago (2014-04-01 20:59:44 UTC) #20
h.joshi
Pls review patch. On 2014/04/01 20:59:44, Jungshik Shin wrote: > Can any of OWNERS review ...
6 years, 8 months ago (2014-04-03 17:24:06 UTC) #21
h.joshi
Pls review this patch, its pending for long time now. On 2014/04/03 17:24:06, h.joshi wrote: ...
6 years, 8 months ago (2014-04-04 12:53:15 UTC) #22
eseidel
Emil or Levi are your best reviewers here.
6 years, 8 months ago (2014-04-08 05:44:26 UTC) #23
eseidel
Do we have tests for this? Do our new results match other browsers?
6 years, 8 months ago (2014-04-08 05:45:35 UTC) #24
eseidel
Could you explain in the CL description approximately what tests this affects? Is this covered ...
6 years, 8 months ago (2014-04-08 05:46:11 UTC) #25
eseidel
lgtm Based on the previous reviews of this change, lgtm. Emil and Levi are both ...
6 years, 8 months ago (2014-04-08 05:48:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/182923003/100001
6 years, 8 months ago (2014-04-08 05:48:02 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 05:48:24 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-08 05:48:24 UTC) #29
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 8 months ago (2014-04-08 06:06:00 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/182923003/100001
6 years, 8 months ago (2014-04-08 06:06:07 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 06:07:20 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-08 06:07:21 UTC) #33
Dominik Röttsches
On 2014/04/08 06:07:21, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 8 months ago (2014-04-08 08:27:16 UTC) #34
h.joshi
With this patch, we are taking Underline thickness and position from Font Metrics. Initially Skia ...
6 years, 8 months ago (2014-04-08 08:56:05 UTC) #35
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 8 months ago (2014-04-08 08:56:22 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/182923003/120001
6 years, 8 months ago (2014-04-08 08:56:34 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 08:56:50 UTC) #38
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, 8 months ago (2014-04-08 08:56:51 UTC) #39
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 8 months ago (2014-04-08 10:39:46 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/182923003/140001
6 years, 8 months ago (2014-04-08 10:39:51 UTC) #41
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 10:42:10 UTC) #42
Message was sent while issue was closed.
Change committed as 171050

Powered by Google App Engine
This is Rietveld 408576698