mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 21:11:52 +00:00
- reverse_rtl applies UAX #9 W1: a nonspacing mark takes the class of the letter it rides on, so a Latin accent at a word end on a right-to-left line stays after its letter. - keep_taken_back_blanks reads a line's edge as the line's direction (UAX #9 X10) instead of right-to-left, so a neutral at the edge of a mostly left-to-right line keeps its place. - Rows of overprinting runs are ordered by where their clusters start, so a riding mark that reaches left of its letter cannot put its run first. - The two-taken-back-spaces test checks the untrimmed text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA