mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 19:36:42 +00:00
NHM Writer's legacy Tamil keymaps (e.g. "Tamil Phonetic StmzhRgb" for SR-Tamil fonts) post each byte as a WM_CHAR of U+F000 + byte, Windows' symbol-font convention. egui-winit's is_printable_char rejects the Private Use Area, so the Type tool got nothing (only the tool's Backspace presses arrived). windows_symbol_chars notes U+F020..=U+F0FF characters in winit's message hook, in order with Backspace presses, and hands them to the frame as Event::Text, unchanged (symbol fonts map exactly these code points), each before the Backspace press that followed it. Unchanged matters: as Latin-1, byte 0xAD (SR-Tamil's ஷ) would become U+00AD, a soft hyphen the text engine never draws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SY4wMcmnVnfGn5yC3dDic2