vectorcraft/crates/eps/src
bflatastic 7c3030ff52 EPS import: type layout counts against the op budget, hostile executable-file tests (review of #331)
Laying out type (show, stringwidth, cshow) costs about 300 operations plus
64 a character, measured, and now counts that much against MAX_OPS: a
300-byte file running cshow over a 4 MB string took 60 s, and
{ (a) stringwidth pop pop } loop ran for over 5 minutes (already the case on
main); both now stop with "the program runs too long" within seconds.
Tests: executable filters run inside themselves stop at the nesting limit
(directly, mutually and under stopped), currentfile cvx exec runs nothing
twice, cshow over a long string is refused; the hostile PostScript fuzz
tokens gain self-recursive filter execution, currentfile filters, cvlit and
cshow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 05:24:44 +07:00
..
import EPS import: type layout counts against the op budget, hostile executable-file tests (review of #331) 2026-10-08 05:24:44 +07:00
print M4.92: Print to a PostScript file 2026-10-05 17:01:36 +07:00
lib.rs M4.92: Print to a PostScript file 2026-10-05 17:01:36 +07:00
ps.rs M4.67: TIFF export in RGB, CMYK or grayscale, with LZW, either byte order and the profile 2026-10-05 15:24:29 +07:00
scene.rs M8.16: Envelopes bend images, symbols, gradients, patterns and appearance; warps keep their frame 2026-10-06 12:01:47 +07:00
tests.rs M4.76: EPS export (PostScript Level 2 and 3) with EPS Options, TIFF previews and the document embedded 2026-10-05 13:50:50 +07:00
tiff.rs Fix #234: EPS files from the reference app open 2026-10-07 09:34:27 +07:00