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

Issue 1244973003: Reland "Change fallback font collection in HarfBuzzShaper" (Closed)

Created:
5 years, 5 months ago by kojii
Modified:
5 years, 4 months ago
CC:
blink-reviews, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Reland "Change fallback font collection in HarfBuzzShaper" Change HarfBuzzShaper to not populate the fallback font list during text shaping and instead populate it based on the ShapeResult objects at call time. This circumvents additional registration work and renders the text shaping API simpler and more consistent. Originally authored by eae@ and landed[1] in r198813 (bbb929c88fbe43979dbb9b2b20218538) and then reverted in r198818 (64e30826c261ac7a2607e891dbe7e9d2d251e5f3) by virtue of Mac 10.6 test failures caused by a missing NULL check, since added. Then re-landed[2] in r198886 reported use on an uninitialized variable on Linux MSAN build and reverted in r198923. It was caused by: 1. Uninitialized m_primaryFont, which was fixed in this CL. 2. Hit a bug in heap for some reasons, which was fixed separately in [3][4]. PS6 failed MSAN try-bots before [4] and passed after. [1] https://codereview.chromium.org/1239513004/ [2] https://codereview.chromium.org/1241613006/ [3] https://codereview.chromium.org/1259893002/ [4] https://codereview.chromium.org/1260013003/ BUG=512104 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200232

Patch Set 1 : Rebase of https://codereview.chromium.org/1241613006/ #

Patch Set 2 : Initialize m_primaryFont #

Patch Set 3 : primaryFont retains ref count #

Patch Set 4 : Reduced to minimum changes #

Patch Set 5 : no_sanitize_memory #

Patch Set 6 : PS3 + Rebase #

Patch Set 7 : Rebase (resolved conflicts) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -60 lines) Patch
M Source/platform/fonts/Font.cpp View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M Source/platform/fonts/shaping/CachingWordShapeIterator.h View 1 2 3 4 5 6 chunks +8 lines, -24 lines 0 comments Download
M Source/platform/fonts/shaping/CachingWordShaper.cpp View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M Source/platform/fonts/shaping/CachingWordShaperTest.cpp View 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.h View 1 2 3 4 5 6 5 chunks +7 lines, -10 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 3 4 5 6 6 chunks +15 lines, -12 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp View 4 5 8 chunks +7 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (14 generated)
kojii
PTAL. The experiences in [3][4] indicate that there are some differences in #define between MSAN ...
5 years, 4 months ago (2015-07-30 14:10:02 UTC) #10
leviw_travelin_and_unemployed
Seems right to me. I'd like one of drott@ or eae@ to give it the ...
5 years, 4 months ago (2015-07-31 18:31:05 UTC) #12
drott
On 2015/07/31 18:31:05, leviw wrote: > Seems right to me. I'd like one of drott@ ...
5 years, 4 months ago (2015-08-03 08:20:08 UTC) #13
eae
LGTM, thank you!
5 years, 4 months ago (2015-08-03 14:13:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1244973003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1244973003/260001
5 years, 4 months ago (2015-08-03 20:44:51 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_rel/builds/44981) blink_presubmit on tryserver.blink (JOB_FAILED, ...
5 years, 4 months ago (2015-08-03 20:47:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1244973003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1244973003/280001
5 years, 4 months ago (2015-08-10 03:24:30 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 03:28:18 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:280001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200232

Powered by Google App Engine
This is Rietveld 408576698