Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

EPS import: don't claim a specification as the source of the tests or the wrappers

Matthew Farrowe622b87ca2ff
diff --git a/crates/eps/src/import/native.rs b/crates/eps/src/import/native.rs
index 2240c9372..1f25a2a8c 100644
--- a/crates/eps/src/import/native.rs
+++ b/crates/eps/src/import/native.rs
@@ -31,9 +31,10 @@
//! and `.ai` files their users own, used locally and never committed. (Adobe published a
//! specification of the legacy format, listed by PRONOM at
//! <https://www.nationalarchives.gov.uk/PRONOM/fmt/423>; it was not used here.)
-//! - The wrappers: ASCII85 is PostScript Level 2 (*PostScript Language Reference*, 3rd ed.); the
-//! compressed stream is Zstandard, RFC 8878 (<https://www.rfc-editor.org/rfc/rfc8878>), read with
-//! the permissively licensed `ruzstd` crate.
+//! - The wrappers: the text is the standard ASCII85 encoding; the compressed stream is Zstandard,
+//! RFC 8878 (<https://www.rfc-editor.org/rfc/rfc8878>), read with the permissively licensed
+//! `ruzstd` crate (MIT); the older one is zlib, read with `flate2`. The PostScript the layers are
+//! translated into is run by this project's own interpreter (`interp`).
//!
//! Where a file doesn't match what this module expects, it is left alone and its page is imported.
diff --git a/crates/eps/src/import/tests_native.rs b/crates/eps/src/import/tests_native.rs
index e1d2708b4..756423875 100644
--- a/crates/eps/src/import/tests_native.rs
+++ b/crates/eps/src/import/tests_native.rs
@@ -1,5 +1,6 @@
//! The layers of an Illustrator EPS and `.ai`: read from the editing copy of the art the file
-//! carries (see `native`). The files here are made from the public specification's operators.
+//! carries (see `native`). The files here are small ones written by hand for the tests, with the
+//! operators seen in files their users own.
use vectorcraft_doc::{Document, LayerColor, Node, NodeKind};