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

Issue 2797423005: Always use original ascent/descent for FontMetrics::floatAscent|floatDescent (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 7 months ago
Reviewers:
eae
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, kinuko+watch, rwlbuis, krit, drott+blinkwatch_chromium.org, szager+layoutwatch_chromium.org, Justin Novosad, Rik, jchaffraix+rendering, blink-reviews, ajuma+watch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+graphicswatchlist_chromium.org, haraken, ajuma+watch-canvas_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, fmalita+watch_chromium.org, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Always use original ascent/descent for FontMetrics::floatAscent|floatDescent

Patch Set 1 #

Messages

Total messages: 8 (5 generated)
Xianzhu
I just noticed that some code in this follow-up CL is similar to https://codereview.chromium.org/2392033002/#ps60001 to ...
3 years, 8 months ago (2017-04-07 20:13:12 UTC) #6
eae
Thanks! On 2017/04/07 20:13:12, Xianzhu OOO 4.8 - 4.16 wrote: > I just noticed that ...
3 years, 8 months ago (2017-04-08 06:52:01 UTC) #7
Xianzhu
3 years, 8 months ago (2017-04-11 00:40:59 UTC) #8
On 2017/04/08 06:52:01, eae wrote:
> Thanks!
> 
> On 2017/04/07 20:13:12, Xianzhu OOO 4.8 - 4.16 wrote:
> > I just noticed that some code in this follow-up CL is similar to
> > https://codereview.chromium.org/2392033002/#ps60001 to which you commented:
> > 
> > "We tried this before and it broke text line alignment for a bunch of tests
> > and a number of websites. It is possible that it'll work better now but look
> > very carefully at layout tests diffs and be prepared to revert it."
> 
> That change and the comment is about changing the ascent and decent values we
> *use* to have subpixel precision. What you are proposing is about changing the
> values we *store* and doing the rounding later, that should not have any test
> results changes at all.

I don't quite understand. Can you explain more? To my understanding, this CL
does change what floatAscent/floatDescent stores and affects their usages. Also
there are a lot of layout test failures.

Powered by Google App Engine
This is Rietveld 408576698