Files
pdfcraft/crates
mtlcl410andClaude Opus 5.5 8c3812499c M10: read a font's post names once for the 256 codes (#3962)
CodeRabbit on #3969 (nitpick): Post::glyph_name walks a version 2.0 table's name data
from its start for each glyph, and symbolic_glyph_texts asks for up to 256, so an
untrusted font program (up to 16 MiB) could make opening a document slow. The names the
table spells out are now read once (post_custom_names) and looked up by index
(post_name), giving what Post::glyph_name gives; a test checks that for every glyph of
Inter's version 2.0 table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 08:11:24 +08:00
..
…
…
…
…
…