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

Issue 622653002: Force ComplexPath if any part of the node requires it (Closed)

Created:
6 years, 2 months ago by eae
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, Rik, danakj, krit, eae+blinkwatch, jamesr, jbroman, jchaffraix+rendering, leviw+renderwatch, mkwst+moarreviews_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, rune+blink, Stephen Chennney, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Force ComplexPath if any part of the node requires it Change our font measurement/rendering logic to force the ComplexPath for the entire RenderText if any part of it requires it. This ensures consistency between preferred width and line break calculations. Also change FontCacheSkiaWin to use the subpixel settings from the primary font in case of character based fallback. TEST=fast/text/international/complex-text-with-default-font-spaces.html BUG=412758 R=leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183104

Patch Set 1 #

Total comments: 5

Patch Set 2 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -11 lines) Patch
M LayoutTests/NeverFixTests View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/TestExpectations View 1 2 chunks +26 lines, -1 line 0 comments Download
A + LayoutTests/fast/text/international/complex-text-with-default-font-spaces.html View 1 chunk +4 lines, -4 lines 0 comments Download
A + LayoutTests/fast/text/international/complex-text-with-default-font-spaces-expected.html View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderText.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/rendering/line/BreakingContextInlineHeaders.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/fonts/Font.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/fonts/win/FontCacheSkiaWin.cpp View 2 chunks +12 lines, -1 line 0 comments Download
M Source/platform/text/TextRun.h View 6 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
eae
6 years, 2 months ago (2014-10-01 19:06:06 UTC) #2
eae
On 2014/10/01 19:06:06, eae wrote: Obviously need a few rebaseline lines on windows. The mac ...
6 years, 2 months ago (2014-10-01 20:08:01 UTC) #3
leviw_travelin_and_unemployed
Just a couple questions. I think this is a good change. https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp File Source/platform/fonts/Font.cpp (right): ...
6 years, 2 months ago (2014-10-01 20:33:15 UTC) #4
eae
https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp File Source/platform/fonts/Font.cpp (right): https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp#newcode301 Source/platform/fonts/Font.cpp:301: if (run.useComplexCodePath()) On 2014/10/01 20:33:14, leviw wrote: > Are ...
6 years, 2 months ago (2014-10-01 21:16:43 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp File Source/platform/fonts/Font.cpp (right): https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp#newcode301 Source/platform/fonts/Font.cpp:301: if (run.useComplexCodePath()) On 2014/10/01 21:16:43, eae wrote: > On ...
6 years, 2 months ago (2014-10-01 21:37:28 UTC) #6
eae
On 2014/10/01 21:37:28, leviw wrote: > https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp > File Source/platform/fonts/Font.cpp (right): > > https://codereview.chromium.org/622653002/diff/1/Source/platform/fonts/Font.cpp#newcode301 > ...
6 years, 2 months ago (2014-10-01 21:40:47 UTC) #7
leviw_travelin_and_unemployed
Thanks for explaining. LGTM!
6 years, 2 months ago (2014-10-01 21:51:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622653002/40001
6 years, 2 months ago (2014-10-01 22:46:59 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 00:03:32 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as 183104

Powered by Google App Engine
This is Rietveld 408576698