mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 17:54:36 +01:00
Merge main into feat/plugin-api-javascript-runtime
This commit is contained in:
commit
696bff8a42
1034 files changed
+156043
-265948
No files matched your search
+14
-5
@@ -1563,6 +1563,7 @@ are compared with the first page only. An artboard, or the page of an EPS's edit
|
||||
a point of its page's is compared on an area of the page's size. A file whose editing data is for a page of another
|
||||
size opens the same way, and its warning gives both sizes in points, with the scale of the editing data's page to the
|
||||
file's page (1:10 for a tenth of its size) when their sides are in proportion.
|
||||
Type in a font a PDF embeds and this machine lacks is drawn in glyphs built from the file's own, kept with the document (#4568); `embeddedFonts: false` (default `true`) sets it in the fallback font with the missing-font warning instead, as before. Preferences › File Handling › Use fonts embedded in imported PDFs (`pdfImportEmbeddedFonts`, on by default) is the choice `document.open` and `file.place` take when they give none; a call's own `embeddedFonts` wins. With `textAs: "outlines"` a `.ai` file whose type shows opens from its PDF content, which has the type's outlines. A PDF
|
||||
With `textAs: "outlines"` a `.ai` file whose type shows opens from its PDF content, which has the type's outlines. A PDF
|
||||
saved with Illustrator's editing data holds it in `AIPDFPrivateData` streams and opens from it as a `.ai` file does.
|
||||
|
||||
@@ -2565,7 +2566,15 @@ control character, in the first 8 KiB) or `tooLarge` (over 8 MiB). For a script,
|
||||
whose argument isn't a string literal.
|
||||
- `outside` lists what the script does outside the document: `filesWritten` (with the open modes used; setting a
|
||||
File object's `length`, `hidden` or `readonly` counts too, on any object that may be a File object; only
|
||||
`new Folder(…)` and the `Folder` places such as `Folder.temp`, other than `Folder.current`, are left out), `filesOpened` (files opened in other apps), `network`,
|
||||
`new Folder(…)` and the `Folder` places such as `Folder.temp`, other than `Folder.current`, are left out, and
|
||||
nothing is left out in a check whose files use `with`, name `eval`, `Function`, `evalFile` or `constructor` as a
|
||||
word or as a string literal in brackets, read, call or assign a property in brackets (a `[` after a value, not an
|
||||
array literal) when the brackets hold anything but one number or string literal (`o[k]`, `this['ev' + 'al'](s)`,
|
||||
`this[('eval')](s)`, `this[0, 'eval'](s)`, `o[a[0]]`, or a preprocessor line inside the brackets) or the `[` opens
|
||||
while 4,096 other `[` are open, assign a property in brackets whose name is a string literal of more than 256
|
||||
characters, assign properties of more than 1,000 different names on members (`o.d = …`, `o['d'] = …`), or
|
||||
assign or declare `Folder`; a variable whose name a member assignment writes counts as one that may hold a File
|
||||
object), `filesOpened` (files opened in other apps), `network`,
|
||||
`nativeCode`, `otherApps` (messages to other apps), `environment` (environment variables), `unseenCode` (`eval`,
|
||||
`new Function` and `$.evalFile`) and `preferences` (the reference app's preferences changed).
|
||||
- `problems` lists what would stop the script loading as written (strings, comments, regular expressions,
|
||||
@@ -12232,10 +12241,10 @@ default) its fonts join the document's, replacing a font of the same name, as on
|
||||
only returns them. Opening a `.vccomposite` file imports it.
|
||||
|
||||
Type › Composite Fonts… (shown with Show East Asian Options) opens the Composite Fonts dialog on the document's fonts:
|
||||
Font picks one, and a table sets each class's and each custom set's font, style, size, baseline and scales. New adds a
|
||||
font based on the one picked, Delete Font takes it out, Import… adds the fonts of a file and Export… writes the one
|
||||
picked. Custom shows the font's custom character sets: Character Set picks one, New adds a set based on the one picked,
|
||||
Delete Set takes it out, and Name renames it. Character › Direct Entry adds the characters typed, and Character ›
|
||||
Composite Font picks one, and a table sets each class's and each custom set's font, style, size, baseline and scales. New adds a
|
||||
font based on the one picked, Delete takes it out, Load… adds the fonts of a file, Replace… takes the fonts of a file in
|
||||
place of the dialog's and Save… writes the one picked. Custom shows the font's custom character sets: Character Set picks
|
||||
one, New adds a set based on the one picked, Delete takes it out, and Rename renames it. Character › Direct Entry adds the characters typed, and Character ›
|
||||
Unicode adds the characters of hexadecimal codes (`3042`, `U+3042`, several separated by spaces or commas); Add skips
|
||||
characters the set already lists. Delete takes the character picked out of the set. Show Sample (Hide Sample when it
|
||||
shows) draws the font picked in a line of sample text, with the first character of each custom set added, and a button
|
||||
|
||||
Reference in new issue
Block a user