mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 22:02:33 +00:00
view.render-annotation-appearances: main now draws Thai in text boxes from the Thai face (Type 3 glyphs beside Helvetica). A text box keeps the standard face its /DA or /DS names for the rest of its text: lines wrap and are measured in that face with Thai shaped (appearance::text_width_in), its font resource sits beside the Thai fonts, and after a Thai run the text goes back to that face rather than /Helv. set_contents keeps both main's Thai refusal and the drawn style, and fitted_box sizes the box to the Thai ink in the drawn face. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA