mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-11 16:36:13 -06:00
A combining mark whose font gives it a real advance (a synthetic or broken /Widths entry, as in the grouped Thai body edit test) moves the pen, so the next letter starts at the mark's right edge. The cluster ended at the base's right edge, so that advance read as a word gap and a space opened after every cluster with a mark. The cluster now ends at the mark when the glyph drawn after it starts at the mark's box edge; a zero-advance mark, whose box draw_glyph widens and the next letter overlaps, still leaves the gap measured from its base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA