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

Issue 2698043005: Wire up Skia axis parameters to HarfBuzz (Closed)

Created:
3 years, 10 months ago by drott
Modified:
3 years, 9 months ago
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wire up Skia axis parameters to HarfBuzz HarfBuzz requires the current axis coordinates to perform correct mark placement. Now that Skia provides the required API [1] we pass them from Skia to HarfBuzz. [1] https://skia-review.googlesource.com/c/8861/ TEST=Currently manually using Noto Sans Arabic, TODO issue 693065 BUG=674879 Review-Url: https://codereview.chromium.org/2698043005 Cr-Commit-Position: refs/heads/master@{#453256} Committed: https://chromium.googlesource.com/chromium/src/+/9d6c0f9ad3a5d10c6ffc45119308026be3ec9a86

Patch Set 1 #

Patch Set 2 : The actual rebased version #

Total comments: 1

Patch Set 3 : CrOS build fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp View 1 2 1 chunk +20 lines, -2 lines 2 comments Download

Messages

Total messages: 31 (16 generated)
drott
The actual rebased version
3 years, 10 months ago (2017-02-16 14:44:04 UTC) #1
drott
The actual rebased version
3 years, 10 months ago (2017-02-16 14:45:05 UTC) #3
drott
PTAL. I'll run it on the bots once the change lands in Skia and rolls ...
3 years, 10 months ago (2017-02-16 14:46:11 UTC) #6
eae
LGTM
3 years, 10 months ago (2017-02-17 19:08:02 UTC) #7
behdad
https://codereview.chromium.org/2698043005/diff/40001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp File third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp (right): https://codereview.chromium.org/2698043005/diff/40001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp#newcode407 third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp:407: } Shouldn't you set_var_coords to zero in the else ...
3 years, 10 months ago (2017-02-17 19:13:49 UTC) #8
drott
On 2017/02/17 at 19:13:49, behdad wrote: > https://codereview.chromium.org/2698043005/diff/40001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp > File third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp (right): > > https://codereview.chromium.org/2698043005/diff/40001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp#newcode407 ...
3 years, 10 months ago (2017-02-17 20:17:37 UTC) #9
behdad
lgtm
3 years, 10 months ago (2017-02-17 20:35:07 UTC) #10
drott
CrOS build fix
3 years, 9 months ago (2017-02-27 15:56:12 UTC) #16
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/2698043005/60001
3 years, 9 months ago (2017-02-27 15:57:34 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/9d6c0f9ad3a5d10c6ffc45119308026be3ec9a86
3 years, 9 months ago (2017-02-27 18:08:56 UTC) #25
bungeman-skia
https://codereview.chromium.org/2698043005/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp File third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp (right): https://codereview.chromium.org/2698043005/diff/60001/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp#newcode402 third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp:402: typeface->getVariationDesignPosition(axisValues.data(), axisValues.size()); Note that you should test that this ...
3 years, 9 months ago (2017-03-01 15:33:10 UTC) #27
drott
Thanks, good points, addressing those in: https://codereview.chromium.org/2730443002
3 years, 9 months ago (2017-03-01 19:56:22 UTC) #28
jungshik at Google
On 2017/02/27 15:56:12, drott wrote: > CrOS build fix It's odd that you need this ...
3 years, 9 months ago (2017-03-07 06:34:27 UTC) #29
jungshik at Google
2017-03-06 22:34 GMT-08:00 <jshin@chromium.org>: > On 2017/02/27 15:56:12, drott wrote: > > CrOS build fix ...
3 years, 9 months ago (2017-03-07 09:03:32 UTC) #30
jungshik at Google
3 years, 9 months ago (2017-03-07 09:03:33 UTC) #31
Message was sent while issue was closed.
2017-03-06 22:34 GMT-08:00 <jshin@chromium.org>:

> On 2017/02/27 15:56:12, drott wrote:
> > CrOS build fix
>
> It's odd that you need this #if .... #endif on Feb 27 because CrOS
> harfbuzz was
> updated to 1.4.2 on Feb 25
> (https://chromium-review.googlesource.com/c/444323/ )
>

Oh.. It's based on trybot failures a week before that. Anyway, that #if for
hb-version check can be removed.


>
> https://codereview.chromium.org/2698043005/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698