Switch application of variable axes to web fonts to Skia's makeClone
Analogously to the fix in [1], use Skia's makeClone method for applying variable font axis parameters to a previously decoded and instantiated (as SkTypeface) web font. This avoids the workaround of instantiating the variable instance from a duplicated SkStreamAsset. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1911758 Bug: 1034906 Change-Id: I80406cfd67c60251404bd80b2f99bc59b891dcd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1970618 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#735788}
Showing
Please register or sign in to comment