You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Variable font outlines under transforms (#405) — when dc.Shear() or dc.Rotate() was applied, variable font variations (e.g. wght=700) were silently ignored because the vector outline path called ExtractOutline() without gvar deltas. All 7 outline extraction paths now use ExtractOutlineHintedVar() with face.Variations(), matching the Skia/skrifa/FreeType invariant: gvar deltas are glyph geometry, applied unconditionally. Cache keys (OutlineCacheKey, GlyphMaskKey, msdf.GlyphKey) now include VariationHash to prevent cross-variation cache poisoning.
Added
GlyphMaskRasterizer.RasterizeHintedVar() — rasterize glyph masks with font variations applied (gvar + hinting in one pass).
GlyphMaskRasterizer.RasterizeAliasedVar() — aliased (binary coverage) variant with font variations.
RenderParams.Variations field — propagates font variations through GlyphRenderer.