mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-04 17:49:53 +00:00
The four character match blocks become two const tables in a new engine module, text_script, keeping the minus sign's mapping. One toggle_script in Edit text replaces the three copies (paragraph editor, added-text draft and the Format text button state). A range is now 'already in the script' when at least one character is and none of the others has a form in it. Before, one character with no Unicode form (a space, q, H in H2O) kept the range from ever counting as converted, so the second click converted again, changed nothing, and the text could not be toggled back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>