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
fix: Write() keeps the left cell padding and the right margin when the cursor has been moved
- Write() measures the first line offset from the unpadded flow origin, so text started after setX() is inset by the left cell padding like text started at the margin.
- Require tc-lib-pdf ^8.73.5, which aligns an LTR right-aligned first line to the right margin instead of the cursor and resolves the font-relative CSS units (em, rem, ex, ch) against the real font size instead of the built-in defaults.
- Add regression tests for both cursor cases, with a wordBox() helper reading exact word positions via pdftotext -bbox.
- example_002: show that setX() moves where a Write() line starts without dropping the padding or moving the edge a right-aligned line is flush with.
- build: install mago 1.47.6 through Composer instead of the upstream installer script, and add the tag release workflow.
0 commit comments