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

Issue 2858573002: Use FreeType for OpenType Variations on CoreText < 10.12 (Closed)

Created:
3 years, 7 months ago by drott
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, Justin Novosad, kinuko+watch, mac-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use FreeType for OpenType Variations on CoreText < 10.12 CoreText in versions older than Sierra has limited support for OpenType variations, for example it fails to pass GPOS tests with variation parameters applied. Use FreeType in those cases, similar to our approach on Windows. BUG=714553 TEST=/fast/text/variable-fonts/* R=behdad, bungeman, eae Review-Url: https://codereview.chromium.org/2858573002 Cr-Commit-Position: refs/heads/master@{#469980} Committed: https://chromium.googlesource.com/chromium/src/+/4eaf7dfd6d9ce67d8b85b028af092f08b90ee39e

Patch Set 1 #

Patch Set 2 : Fix preprocessor statement and uncomment variable font tests #

Patch Set 3 : Fix preprocessor statement and uncomment variable font tests #

Patch Set 4 : Generalize Skia build file, CoreText version test #

Patch Set 5 : Trigger variations code path in arraybuffer test #

Total comments: 2

Patch Set 6 : Use FreeType for OpenType Variations on CoreText < 10.12 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -28 lines) Patch
M skia/BUILD.gn View 1 2 3 6 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/NeverFixTests View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/webfont/variable-box-font-arraybuffer-expected.html View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.cpp View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontPlatformData.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/mac/CoreTextVariationsSupport.h View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/mac/CoreTextVariationsSupport.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 44 (31 generated)
drott
3 years, 7 months ago (2017-05-05 11:21:18 UTC) #15
eae
LGTM
3 years, 7 months ago (2017-05-05 16:34:28 UTC) #21
bungeman-chromium
https://codereview.chromium.org/2858573002/diff/80001/skia/BUILD.gn File skia/BUILD.gn (right): https://codereview.chromium.org/2858573002/diff/80001/skia/BUILD.gn#newcode47 skia/BUILD.gn:47: if (is_win || is_mac) { I know it doesn't ...
3 years, 7 months ago (2017-05-05 21:02:52 UTC) #25
drott
https://codereview.chromium.org/2858573002/diff/80001/skia/BUILD.gn File skia/BUILD.gn (right): https://codereview.chromium.org/2858573002/diff/80001/skia/BUILD.gn#newcode47 skia/BUILD.gn:47: if (is_win || is_mac) { Yes, sounds good, I'll ...
3 years, 7 months ago (2017-05-08 07:45:47 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858573002/80001
3 years, 7 months ago (2017-05-08 07:46:34 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/264004) cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-08 07:51:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858573002/100001
3 years, 7 months ago (2017-05-08 08:30:03 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/429655)
3 years, 7 months ago (2017-05-08 08:39:44 UTC) #35
drott
Ben, could you review the skia/BUILD.gn change? Thank you in advance. I can't commit without ...
3 years, 7 months ago (2017-05-08 14:09:56 UTC) #36
bungeman-skia
lgtm
3 years, 7 months ago (2017-05-08 14:13:31 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858573002/100001
3 years, 7 months ago (2017-05-08 14:14:22 UTC) #40
bungeman-skia
On 2017/05/08 14:09:56, drott wrote: > Ben, could you review the skia/BUILD.gn change? Thank you ...
3 years, 7 months ago (2017-05-08 14:14:35 UTC) #41
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 14:19:03 UTC) #44
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/4eaf7dfd6d9ce67d8b85b028af09...

Powered by Google App Engine
This is Rietveld 408576698