mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 21:11:52 +00:00
hayro-cmap patch 4: text CMaps record each bf entry's source length (BfRange::code_len). Where no codespace range gives a code its length, the bfchar fallback of lookup_cid_code takes the entry's own length, so the first byte of <fe96> is no longer taken for <00fe>. CMaps with codespace ranges are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA