mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 18:22:06 +01:00
When drawing faux-bold glyphs, the offset dilation was composed as `Xform(ox * r, oy * r).mul(&glyph)`. Because `Xform::mul(o)` applies `o` first (`self ∘ o`), the translation offset was added after the glyph's scaling transform, leaving faux bold dilation unscaled by horizontal and vertical font scaling. Applying the glyph transform to the offset transform (`glyph.mul(&offset)`) ensures dilation is performed in font-local coordinates and scaled proportionally with anisotropic glyph scaling, matching Photoshop.