Skia is y-grows-down, while harfbuzz is set up with y-grows-up when we set scale positive. We also don't need to call hb_font_set_ppem(). hb-view() don't call it.
Created attachment 164658 [details] Patch
Yuta-san, could you rubber-stamp? behdad@ did informal review for this patch.
Comment on attachment 164658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164658&action=review Code change looks fine. r- for lack of comments for non-obvious code. > Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzNGFaceSkia.cpp:72 > + extents->y_bearing = SkiaScalarToHarfbuzzPosition(-skBounds.fTop); I would like some comments explaining these nagations. Looks hard to understand.
Created attachment 164663 [details] Added comment
Comment on attachment 164658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164658&action=review Thank you for review! >> Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzNGFaceSkia.cpp:72 >> + extents->y_bearing = SkiaScalarToHarfbuzzPosition(-skBounds.fTop); > > I would like some comments explaining these nagations. Looks hard to understand. Done.
Comment on attachment 164663 [details] Added comment OK.
Comment on attachment 164663 [details] Added comment Thanks!
Comment on attachment 164663 [details] Added comment Clearing flags on attachment: 164663 Committed r128968: <http://trac.webkit.org/changeset/128968>
All reviewed patches have been landed. Closing bug.