Files
pdfcraft/crates
jonathanwxh-cell 2251a75cc8 fix(render): resolve TrueType glyphs across Unicode/UCS-4 cmaps, post v2.0 aliases, and truncated FontFlags (#2159) (#2980)
* fix(render): resolve accented TrueType glyphs across Symbolic flags, Unicode cmaps, post v2.0, and ToUnicode (#2159, #2426)

* fix(render): separate TrueType glyph selection from extraction (#2980)

Restore the existing Symbolic and CFF mapping paths. Keep name-derived Unicode
cmap lookup, post-name aliases, known flag bits, and explicit .notdef handling.
Replace disputed expectations with synthetic glyph/extraction regressions;
the original PDFs in #2159 and #2426 remain unavailable and unverified.

* fix(render): check exact post v2.0 glyph name before suffix-stripped cmap lookup (#2980)

* fix(render): prefer exact post v2.0 name for multi-codepoint AGL glyph names (#2980)

* style: format vendor true_type.rs

* fix(render): keep TrueType vendor patch in upstream style

Restore unchanged upstream formatting around the glyph-mapping fix and use
upstream-default formatting for its new helpers. Preserve the upstream
glyph_name_to_text extraction fallback and every existing functional change.

Validated workspace cargo fmt, git diff --check, and byte-identical rustfmt
canonical output before and after this formatting-only change. The eight
TrueType integration tests passed on the prior head in hosted CI; fresh CI
will validate this follow-up. Local recompilation and optional negative
controls were not attempted because build storage is exhausted.
2026-11-17 22:47:55 -06:00
..
2026-11-13 18:59:56 +01:00