Files
pdfcraft/crates/render
mtlcl410andClaude Opus 5.5 05dca28601 fix(render): a Type 3 glyph shown again isn't decoded again (hayro-interpret patch 87)
A Type 3 font now keeps each glyph procedure it decoded, so a glyph drawn many
times isn't inflated again for every copy. A real file uses a one-glyph Type 3
font as a fill pattern and draws that glyph about 650,000 times on a page; it
rendered in 11.2 s and now in 5.9 s, pixel for pixel the same. A procedure over
64 KiB isn't kept, and the fonts of one InterpreterCache keep at most 32 MiB
together, as fonts live as long as the cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
2026-11-06 17:32:29 +08:00
..