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

Issue 141433026: Font metrics, version 1 (Closed)

Created:
6 years, 10 months ago by sugoi1
Modified:
6 years, 9 months ago
CC:
blink-reviews, arv (Not doing code reviews), dglazkov+blink, adamk+blink_chromium.org, aandrey+blink_chromium.org, watchdog-blink-watchlist_google.com, Inactive, Jelte, eae, behdad
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Adding Layout tests. Should work for simple text. #

Total comments: 2

Patch Set 3 : Update to ToT #

Total comments: 1

Patch Set 4 : New feature now behind a flag #

Patch Set 5 : Re-upload #

Patch Set 6 : Added missing expectations #

Patch Set 7 : Added platform specific expectations #

Patch Set 8 : Update to ToT #

Total comments: 2

Patch Set 9 : Fixed nit #

Patch Set 10 : Fixed windows layout tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+782 lines, -33 lines) Patch
M LayoutTests/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A LayoutTests/canvas/philip/tests/2d.text.draw.text.metrics.html View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/virtual/gpu/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/platform/mac/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/platform/mac/virtual/gpu/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/platform/win/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/platform/win/virtual/gpu/canvas/philip/tests/2d.text.draw.text.metrics-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +91 lines, -0 lines 0 comments Download
M LayoutTests/virtual/gpu/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/TextMetrics.h View 1 2 3 4 5 6 7 8 1 chunk +58 lines, -0 lines 0 comments Download
M Source/core/html/TextMetrics.idl View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +51 lines, -19 lines 0 comments Download
M Source/platform/fonts/Font.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/Font.cpp View 1 2 3 4 5 6 7 4 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
sugoi1
Hi bungeman, I need some help from a font expert with this cl. I wrote ...
6 years, 10 months ago (2014-01-28 21:24:41 UTC) #1
bungeman-skia
I'll take a more in-depth look later, but in general nothing here stands out as ...
6 years, 10 months ago (2014-01-28 22:17:06 UTC) #2
sugoi1
https://codereview.chromium.org/141433026/diff/20001/Source/core/html/canvas/CanvasRenderingContext2D.cpp File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/141433026/diff/20001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#newcode2329 Source/core/html/canvas/CanvasRenderingContext2D.cpp:2329: return (fontMetrics.ascent() * 4) / 5; I modified the ...
6 years, 10 months ago (2014-01-31 21:56:04 UTC) #3
eseidel
I'm glad we're looking at exposing more measurement primitives. https://codereview.chromium.org/141433026/diff/20001/Source/core/html/TextMetrics.h File Source/core/html/TextMetrics.h (right): https://codereview.chromium.org/141433026/diff/20001/Source/core/html/TextMetrics.h#newcode42 Source/core/html/TextMetrics.h:42: ...
6 years, 10 months ago (2014-01-31 22:03:30 UTC) #4
eseidel
Could you please update the CL descriptiong to include information about what bug is tracking ...
6 years, 10 months ago (2014-01-31 22:03:58 UTC) #5
Rik
On 2014/01/28 21:24:41, sugoi1 wrote: > Hi bungeman, > > I need some help from ...
6 years, 10 months ago (2014-01-31 22:08:05 UTC) #6
sugoi1
On 2014/01/31 22:08:05, Rik wrote: > On 2014/01/28 21:24:41, sugoi1 wrote: > > Hi bungeman, ...
6 years, 10 months ago (2014-02-03 16:02:50 UTC) #7
sugoi1
On 2014/02/03 16:02:50, sugoi1 wrote: > On 2014/01/31 22:08:05, Rik wrote: > > On 2014/01/28 ...
6 years, 10 months ago (2014-02-13 21:46:19 UTC) #8
eseidel
This needs an intent to ship, or it needs to be behind a runtime flag. ...
6 years, 10 months ago (2014-02-14 11:31:17 UTC) #9
sugoi
On 2014/02/14 11:31:17, eseidel wrote: > This needs an intent to ship, or it needs ...
6 years, 10 months ago (2014-02-14 13:16:10 UTC) #10
sugoi1
On 2014/02/14 13:16:10, sugoi wrote: > On 2014/02/14 11:31:17, eseidel wrote: > > This needs ...
6 years, 10 months ago (2014-02-14 15:01:25 UTC) #11
eseidel
I think we should totally implement this, we should just add these behind the --experimental-web-platform ...
6 years, 10 months ago (2014-02-18 18:20:13 UTC) #12
sugoi
On 2014/02/18 18:20:13, eseidel wrote: > I think we should totally implement this, we should ...
6 years, 10 months ago (2014-02-18 18:29:37 UTC) #13
eseidel
eae may be a useful reviewer for you once you add the runtime flag. https://codereview.chromium.org/141433026/diff/110001/Source/core/html/TextMetrics.idl ...
6 years, 10 months ago (2014-02-18 18:33:11 UTC) #14
Stephen White
On 2014/02/18 18:33:11, eseidel wrote: > eae may be a useful reviewer for you once ...
6 years, 10 months ago (2014-02-18 18:54:07 UTC) #15
sugoi1
Finally, the new patch is here. All new TextMetrics members are hidden behind the enable-experimental-canvas-features ...
6 years, 10 months ago (2014-02-24 21:38:01 UTC) #16
sugoi1
Ping. Updated to ToT after a week of inactivity.
6 years, 9 months ago (2014-03-04 15:12:36 UTC) #17
Justin Novosad
lgtm with nit https://codereview.chromium.org/141433026/diff/320001/Source/core/html/TextMetrics.h File Source/core/html/TextMetrics.h (right): https://codereview.chromium.org/141433026/diff/320001/Source/core/html/TextMetrics.h#newcode43 Source/core/html/TextMetrics.h:43: void setActualBoundingBoxLeft(float abbl) { m_actualBoundingBoxLeft = ...
6 years, 9 months ago (2014-03-04 15:32:51 UTC) #18
sugoi1
https://codereview.chromium.org/141433026/diff/320001/Source/core/html/TextMetrics.h File Source/core/html/TextMetrics.h (right): https://codereview.chromium.org/141433026/diff/320001/Source/core/html/TextMetrics.h#newcode43 Source/core/html/TextMetrics.h:43: void setActualBoundingBoxLeft(float abbl) { m_actualBoundingBoxLeft = abbl; } On ...
6 years, 9 months ago (2014-03-04 15:45:52 UTC) #19
sugoi1
The CQ bit was checked by sugoi@chromium.org
6 years, 9 months ago (2014-03-04 16:32:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/141433026/340001
6 years, 9 months ago (2014-03-04 16:33:11 UTC) #21
sugoi1
The CQ bit was unchecked by sugoi@chromium.org
6 years, 9 months ago (2014-03-05 16:01:21 UTC) #22
sugoi1
The CQ bit was checked by sugoi@chromium.org
6 years, 9 months ago (2014-03-05 16:03:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/141433026/360001
6 years, 9 months ago (2014-03-05 16:04:13 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/141433026/360001
6 years, 9 months ago (2014-03-05 20:59:17 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 02:24:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel
6 years, 9 months ago (2014-03-06 02:24:24 UTC) #27
sugoi
The CQ bit was checked by sugoi@google.com
6 years, 9 months ago (2014-03-06 13:02:50 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/141433026/360001
6 years, 9 months ago (2014-03-06 13:03:05 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 13:22:21 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel
6 years, 9 months ago (2014-03-06 13:22:22 UTC) #31
sugoi
The CQ bit was checked by sugoi@google.com
6 years, 9 months ago (2014-03-07 13:48:22 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/141433026/360001
6 years, 9 months ago (2014-03-07 13:48:29 UTC) #33
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 14:41:30 UTC) #34
Message was sent while issue was closed.
Change committed as 168737

Powered by Google App Engine
This is Rietveld 408576698