mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 20:43:18 -05:00
Scripts: new IllustratorSaveOptions reads compatibility as ILLUSTRATOR19
A new IllustratorSaveOptions left compatibility unset, so a script that read it before setting it got undefined. It now starts at Compatibility.ILLUSTRATOR19, the documented default, which saveAs already accepts without changing what it writes.
This commit is contained in:
1 parent
f2f7727305
commit
e5df2445e3
2 files changed
+28
-1
No files matched your search
@@ -366,7 +366,12 @@ const AI_KEPT: &[(&str, Default)] = &[
|
||||
];
|
||||
|
||||
fn ai_starts() -> Vec<(&'static str, Data)> {
|
||||
vec![("compressed", Data::Bool(true)), ("pdfCompatible", Data::Bool(true)), ("embedICCProfile", Data::Bool(false))]
|
||||
vec![
|
||||
("compatibility", text("Compatibility.ILLUSTRATOR19")),
|
||||
("compressed", Data::Bool(true)),
|
||||
("pdfCompatible", Data::Bool(true)),
|
||||
("embedICCProfile", Data::Bool(false)),
|
||||
]
|
||||
}
|
||||
|
||||
fn eps_map(name: &str, d: &Data, p: &mut Map<String, Value>) -> std::result::Result<bool, HostError> {
|
||||
|
||||
Reference in new issue
Block a user