Text: touching glyphs join without a seam (#415)

Cause: each glyph's fill was rasterised and composited on its own, so
where two glyphs share an edge (the crossbars of "ff") two half-covered
pixels composited to 0.75 coverage instead of 1: a thin light seam,
where After Effects draws the line as one outline.

Fix: consecutive fill passes of the same opaque colour, without Blur,
under Normal Inter-Character Blending are rasterised as one coverage
mask (the glyphs' outlines in layer space, wound the same way so
overlaps add up under NonZero). Characters of other colours, translucent
or blurred ones, strokes and the other blending modes are drawn one by
one as before.

Tests: text::tests::touching_glyphs_join_without_a_seam (two glyphs
sharing an edge mid-pixel: 0.75 before, 1.0 now; opposite windings and
overlaps stay filled; other colours and Multiply still composite one by
one).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic
2026-10-09 23:17:32 +07:00
co-authored by Claude Opus 5.5
parent 2a460986ee
commit 88e2e6470a
3 changed files with 104 additions and 15 deletions
+8
View File
@@ -401,6 +401,14 @@ Browser in the web app (landed in M13.10: browser storage and File System Access
wrong signatures and versions, fuel exhaustion, traps and bit-identical output; script
`Socket` validates ports, and ScriptUI resource strings accept trailing array commas.
## Update: text and viewer fidelity (G1)
Fixes from measured reports:
- Glyphs that touch or overlap ("ff") are drawn as one outline, so no light seam shows where
their anti-aliased edges meet (#415). Characters of other colours, with Blur, or under an
Inter-Character Blending mode are still composited one by one.
## Update: plug-ins and extensions as in After Effects; ease presets become a ScriptUI panel
EffectCraft's core keeps After Effects parity; what After Effects users get from third parties is