Commit Graph
20420 Commits
Author SHA1 Message Date
dotCooCoo 94c4bfba7a Tests: a linked image inside a placed document follows this document's outline setting
A placed file whose own Show Images in Outline Mode is off shows its linked
image's pixels in grayscale, uncrossed, when this document's setting is on.
2026-11-22 20:33:43 -08:00
dotCooCoo edadc82827 Plug-ins: state what a compound path's reshape resets, and test an unflagged flatten of a guide member
docs/plugins.md now says that each new member keeps only the id of the
old member in its place, with its name, live shape, opacity, blending
mode, appearance, opacity mask and other settings of its own reset, and
that `guide: false` on a compound path makes each guide member an
ordinary path.

The compound path test also checks that `type: "path"` without `guide`
is refused for a compound path with a guide member and leaves the member
a guide, and its doc comment names members that are not paths.
2026-11-22 19:59:44 -08:00
ncic 563cbb298c Pencil: a redraw on an open path follows the way its ends run along it (#3793)
A stroke that starts and ends on an open path away from its ends now looks
at the way it runs along the path at each end. Where it starts it replaces
the part it runs along; where it lands it joins the part it runs into. So it
replaces the part between (and the path stays open), keeps the part between
and closes the path along the stroke, or, when its two ends disagree, keeps
the start's choice and ends where the pen is lifted.

An end runs along the path when its first stretch, as long as Edit Selected
Paths' distance, stays within that distance and moves along the path more
than away from it. An end that leaves or meets the path squarely follows the
other end; when both do, the stroke closes the path only if it goes round
both pieces beyond its ends.

This brings back closing across an open shape's opening (a C drawn over both
arms closes into a ring), which the previous commit had taken out, and keeps
a bump over an L's corner redrawing the corner.
2026-11-23 04:58:44 +01:00
FredApps 3e3d1d1386 Merge pull request #9157 from storytold/ci/sonar-archive-build-jobs-note
ci: note the shared SonarCloud archive job cap
2026-11-23 10:58:37 +07:00
JonRC a6511830f2 EPS file fonts: decide carried or fallback per family and style
The warning took a family as carried when any style of it was, so a
named bold beside a carried regular lost its fallback warning. Carried
and fallback are now decided per family and style, and a family can be
named in both sentences.
2026-11-23 00:53:54 -03:00
JonRC 610849efa3 EPS file fonts: only type shown in a carried font gets the kept font
The kept fonts were attached by family and style, so type in a font
the file only names whose family and style are those of a carried font
(`TestOne-Roman` beside an embedded `TestOne`) got the carried font too,
after its spacing had been set for the fallback font. Type shown in a
carried font is now marked when it is made, and only marked type gets
the kept font.
2026-11-23 00:53:54 -03:00
JonRC 104197e298 EPS file fonts: compare each glyph once, and keep a full font's new characters as outlines
`fits` compared each glyph with every earlier glyph of its character in
the string, so a long string of one character took quadratic work. It
now compares each glyph once with the one its character already has,
as PDF import's gathering does. It also checks the font has room for
the characters it doesn't have yet: a string that needs one more than
the font can hold comes in as outlines, keeping the file's look,
instead of as type the kept font can't draw.
2026-11-23 00:53:54 -03:00
dotCooCoo 97ac3c8c8b Outline view: linked images and placed documents show their box with an X
In Outline mode, with File > Document Setup > Show Images in Outline Mode
off, a linked image's frame is crossed from corner to corner, following
the corners of a turned or distorted image. A placed document shows its
box crossed, and its file's art no longer draws in Outline mode unless
the option is on. Embedded images keep a plain frame, and so do the
pieces that an envelope cuts an image into.

A placed document with raster effects or color adjustments stays
crossed. One with an effect that changes geometry, its own or its
group's, still draws its file's art reshaped and is not crossed yet.

With the option on, images show their pixels in gray and placed
documents show their art. The art inside a placed document now follows
the option of the document it is placed in rather than the placed
file's own setting.

Linked files showing as a box with an X in Outline mode is described at
https://helpx.adobe.com/illustrator/using/viewing-artwork.html; the
other rules are VectorCraft's own.

Docs: docs/ui-parity.md, docs/mcp.md; document.setup params text for
outlineImages.
2026-11-22 19:49:08 -08:00
FredApps c9c2d711d1 xtask: keep pdf-deps aligned with the 205042e craft-libs pin (craft-libs#778)
Shard 5 (Checks) failed because cargo xtask pdf-deps still expected
craft-pdf and the hayro/krilla backends at d7c9632, and hayro-jbig2 at
the leftover stream-codec pin. All of those crates now resolve at the
shared 205042e revision.
2026-11-23 04:26:33 +01:00
dotCooCoo 2fbe099c48 Plug-ins: refuse replacing a compound path's members when one isn't a path
A member that is not a path (a compound path inside a compound path) is
not in the input's `path`, so a changed `path` or `type: "path"` deleted
it, together with any hidden or locked members it held. The host now
refuses such an output with an error naming the compound path. A
compound handed back as it was still keeps the member.

docs/plugins.md also says that new members keep the old ids by position
but not their names or live shapes. The test covers a nested compound
member and turning a compound with a guide member into a guide path.
2026-11-22 19:15:57 -08:00
FredApps a3b0b3dec0 deps: pin all craft-libs crates to 205042e (craft-libs#778)
Rule 10: every storytold/craft-libs crate is at the same rev, now
205042e406b630cda653990649264a78fea6296b, the merge of #3136 on
craft-libs main. That rev still skips a form already on the drawing
stack (ISO 32000-2 §8.10.1) but no longer reports it as
ContentTruncated, so a 200-shape knockout-mask PDF imports completely.

Also moves the leftover per-crate pins of craft-font-catalog and
craft-web-api onto the same rev.
2026-11-23 03:59:59 +01:00
JonRC e377bbd24d Fix #9152: EPS import keeps the fonts a file carries for type whose family isn't installed
Type in a Type 1 or Type 42 font an EPS embeds came in as live type in
the fallback font when its family isn't installed. As PDF import has
done since #4569, the glyphs that type is shown in (outline and advance
from the font program, for each character) now become a font kept with
the document, which draws that type as the file does until its text is
edited, and spaces it by the glyphs' own advances. A string that draws
a character with a different glyph from the one kept for it comes in
as outlines. The warning names those families with PDF import's
sentence for fonts a file carries.

Fonts the file only names, Type 3 fonts and type from an Illustrator
editing copy are unchanged.
2026-11-22 23:38:19 -03:00
dotCooCoo a1995ad2b5 Gradient panel: name the row and proxy in the Presets menu's docs
The doc comment on presets_row and the docs line now say that an active
fill row takes the preset with the Fill proxy in front, and an active
stroke row with the Stroke proxy in front. The docs line describes the
help page's Fill or Stroke control as the page does.
2026-11-22 18:23:28 -08:00
FredApps 5022ba5593 ci: note the shared SonarCloud archive job cap
The reusable workflow now defaults build-jobs to 2 so a cold instrumented
archive stays within hosted-runner memory (craft-common-actions#333).
2026-11-23 03:21:18 +01:00
dotCooCoo 2089ca34f7 Gradient panel: a preset from the Presets menu goes to the proxy in front
The Presets menu sent gradient.presets.apply without `stroke`, so the
command chose the fill or stroke by the Appearance panel's active row.
With a fill row active and the Stroke proxy in front, the preset went
to the fill the panel was not showing. The menu now passes the proxy in
front, as the panel's other controls do; an active row of that kind
still takes the preset.
2026-11-22 18:07:03 -08:00
dotCooCoo e4ce03a906 Plug-ins: a filter keeps a compound path's hidden and locked members
A filter that handed a compound path back rebuilt every member from the
returned path, even when the path was unchanged, so its hidden members
were shown and its locked members unlocked after any run.

- A compound path whose path comes back as it was, or is left out, keeps
  its members as they are.
- While a member is hidden, locked or a guide, a changed path or
  `type: "path"` is refused with an error naming the compound path. A
  guide member is allowed when the output also sets `guide`.
- A changed path still replaces the members, one per subpath, keeping
  the old members' ids by position.

Docs: docs/plugins.md.
2026-11-22 17:58:55 -08:00
dotCooCoo 54b9504cb5 JavaScript: a function body reserves room for its arguments object
The call reserves room for the declarations and the arguments object
before the body's let and const environment takes some of it. The body
then reserved room for its declarations again, but not for the
arguments object, so making the object could take the heap estimate
past the limit until the next check. The body now reserves both, with
the arguments size from one helper that the call also uses.
2026-11-22 17:52:55 -08:00
FredApps 53f5e552f8 Merge remote-tracking branch 'origin/main' into imo778-metafile-unit-facts
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-11-23 08:38:58 +07:00
dotCooCoo 5f611efdce Images: colorized image overprint skips clear rows, preview pixels and discarded white
- A fill or stroke with an opacity of 0 no longer counts as a row that draws on a
  colorized image, so it does not stop the image overprinting as a whole.
- On printed plates, an overprinting colorized image whose pixels do not take its
  color knocks out and prints as those pixels, instead of being hidden on the
  plates its color has no ink on.
- EPS export writes a white colorized image knocking out when Discard White
  Overprint is on, instead of leaving it out of the page.
2026-11-22 17:28:46 -08:00
FredApps 15001f7dfc Merge pull request #9123 from ruchirguitar/refactor/metafile-pict-shared
metafile: delegate QuickDraw PICT parsing to craft-metafile
2026-11-23 08:24:58 +07:00
dotCooCoo 723e52c5ec Merge #9079 into feat/js-es2020-optional-chaining-nullish 2026-11-22 17:15:41 -08:00
dotCooCoo 0b8dae1401 Delete: removing objects one at a time keeps the id lookup cache
Every Document::remove_many cleared the id lookup cache, and the next
lookup with no cache walked the tree once to answer and again to
rebuild it. Deleting objects one by id at a time with edit.clear walked
the whole tree twice per Delete: 20,005 walks for 10,000 objects.

- remove_many keeps the cache and records which children it took out
  of each parent. A cached path then counts a node's index among its
  siblings less the removed siblings before it, so the nodes left are
  found without a walk whichever objects were removed (top, bottom,
  middle, or the art below a layer's ruler guides). The cache has no
  path for a removed node or a node inside one. The cache is still
  dropped once the removed nodes are half of its entries, and when it
  does not have a listed node where it is.
- index_path with no cache builds the cache and answers from it, in
  one walk. An id that appears more than once is still walked to, so
  the first in tree order is returned as before.

Release build, deleting each object of one layer by id with nothing
selected. Walks for 1,000 objects went from 2,005 to 14 in each order.
For 10,000 objects, median of three runs:

  from the top:     20,005 walks, 5.53 s  -> 15 walks, 4.28 s
  from the bottom:  20,005 walks, 11.24 s -> 15 walks, 10.87 s
  from the middle:  20,005 walks, 10.62 s -> 15 walks, 8.62 s

Each Delete is still one undo step. The time left still grows with the
square of the count: each Delete rebuilds the parent's child list and
keeps a copy of the document for undo, and this change does not touch
either.
2026-11-22 17:06:53 -08:00
dotCooCoo e30ce7fcdc Swatch libraries: a nested pattern's swatch keeps its free library name
A pattern that a library pattern's art is painted with, whose numbered
name ("Inner 2") the document gives another pattern, came in as
"Inner 2 2" with its swatch under that name too, so adding the library's
"Inner 2" swatch next found that swatch and left the name unused. The
swatch now takes the library swatch's name when no swatch or color group
uses it, and still paints the pattern that came in.

A color a library pattern's art brings no longer reuses a numbered copy
whose name the library gives another swatch when the copy is that
swatch, whether or not the art uses that swatch. Before, only a copy of
a swatch the same add brought was left out, so adding the library's blue
"Ink 2" and then a pattern painted with its blue "Ink" linked the
pattern's art to "Ink 2".

The params text, docs/mcp.md and the progress line describe both rules,
and the progress line says that Use Library Item's numbered names do not
skip the library's other names.
2026-11-22 17:01:51 -08:00
FredApps f4cac4f30f Merge remote-tracking branch 'origin/main' into imo778-metafile-unit-facts 2026-11-23 08:01:38 +07:00
dotCooCoo dd303e9df7 Overprint: a white spot ink keeps overprinting with Discard White Overprint on
Discard White Overprint knocked out every white fill, stroke and character
that was set to overprint, including a white linked to a spot swatch such as
an opaque white ink. A white linked to a solid spot swatch at a tint above 0%
is an ink of its own, so it now keeps overprinting; only paper white knocks
out, a 0% tint of a spot swatch included. The rule is in
vectorcraft_doc::overprint (DiscardWhite, is_paper_white) and is used by PDF
export, Overprint Preview, Separations Preview, printed separations, the fills
and strokes of composite print with Overprints set to Simulate, and Print Ink
Fixes' Remove White Overprint.

Overprint Preview and Separations Preview also draw overprinting paper white
characters knocking out while the option is on, as PDF export already wrote
them. EPS export keeps every overprint, as before.
2026-11-22 16:49:45 -08:00
dotCooCoo ece910a3b7 Selection: a Cmd double-click after switching back is the active tool's
A switch from the Selection tool to another tool and back kept the
record of the selection tool Cmd lent the last press, so the Cmd
double-click that followed still went to Direct Selection. The record is
now cleared whenever the active tool changes and whenever the tool
starts afresh (a switch to another document or another view of it).
2026-11-22 16:45:24 -08:00
ncic aea7ae116a Pencil: a redraw stroke in the middle of an open path never closes it (#3793)
A stroke that starts and ends on an open path away from its ends now always
replaces the part between and leaves the path open. Before, a stroke across
the opening (over most of an L, or across a C) could keep the part between
and close the path along the stroke instead. Closing stays where the Pencil
shows the closing cursor: a stroke from one end that finishes on the other.
2026-11-23 01:42:18 +01:00
FredApps 110094fe7e Merge branch 'main' into refactor/metafile-pict-shared
Pin craft-metafile to craft-libs main 8f6ad14b, which includes the
merged PICT reader (storytold/craft-libs#3073), drop the craft-codepage
dependency the removed reader used, and update the PICT detection
comments for version 1 pictures.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-23 07:20:25 +07:00
5af36bae87 Fix #4568: PDF import keeps embedded fonts for text whose family isn't installed (#4569)
* PDF import: keep embedded fonts for text whose family isn't installed

Glyphs drawn in an embedded font whose family isn't available are gathered
during import and built into one small TrueType font per family and style,
kept with the document (font/ttf blob). Text objects record the fonts and a
hash of their text: layout and rendering draw them in the kept font until the
text is edited (undo restores it) or the family is installed. Lines are
spaced against the file's own widths with per-glyph placement (#3756).

* PDF import: satisfy crate layering constraints without format dev-dep

* FileFont: negate us_win_descent in i32 to prevent overflow on extreme negative descenders

* PDF import: a kept font carries the file font's licence flags, and the docs say what that means

Review of #4569: the fsType of the file's font is copied to the font built from its glyphs (a test pins it against Embedding), so exports honour it; the docs state the limits, that the file's font program is not parsed, and that a saved file carries third-party glyphs.

* PDF import: a glyph curve far outside any glyph is left out; docs say what the limits and the font program mean

CodeRabbit on #4569: coordinates beyond 1e6 font units are refused before the curve is subdivided. The docs say the 64-font limit is what draws one type object and that the file's font program is read only for its licence flags and metrics.

* PDF import: two programs of one font keep the stricter licence flags; the docs cite their sources

CodeRabbit on #4569: embedded programs of one family and style share one built font, which kept the first program's fsType; it now takes the stricter of the two, whichever came first. The docs entry cites the Acrobat Help pages and the OpenType fsType specification.

* fmt

* PDF import: embedded fonts are on by default, with an opt-out preference

Owner decision on #4568. Preferences > File Handling > Use fonts embedded in imported PDFs (pdfImportEmbeddedFonts, on by default) and the embeddedFonts param of document.open and file.place: off, a PDF's type in a font the machine lacks is set in the fallback font with the missing-font warning, as before. One test each for on and off, one for the preference reaching the options.

* fmt after merging main

* docs: restore the status lines damaged by merges (main's line plus this PR's note)

* PDF import: set embedded_fonts through a builder method (keeps read_opened under the complexity limit)

* PDF import: move the missing-font notes out of read_opened (complexity limit after the merge)

* #4569: isolate file-font resources and reclaim live faces (UNVERIFIED)

* Preserve carried-font ownership across placement and recovery

* Fix carried-font regression test dependencies and unwind probe

* Use explicit OS2 heights in owned-font reference regression

* Keep native font regression artwork inside document layers

* fix(engine): bind file fonts when reading document profiles

* test(engine): initialize file-font leases in new image fixtures

* test: complete file-font lease initialization in image fixtures

* docs: keep the #4568 entry in the file-format parity status line

* fix(pdf): keep a line with another glyph for the same character as outlines (review)

A font kept with the document has one glyph per character. A glyph of the file's font that
differs from the one already kept for its character (a stylistic alternate that maps to the same
Unicode scalar) marks its line, which is imported as outlines so each glyph draws as the file
does.

* docs: resolve the leftover status-line conflict

* Placed document blob: give the new ImageBlob literal its file_font

* Test: a PDF's two glyphs for one character survive a native save and reopen as the file draws them

* Test: move the native save and reopen half of the two-glyphs regression to the engine (layers: no format dev-dep in pdf)

* Fix embedded-font preference help and English fallback checks

* Format embedded-font preference help with the workspace edition

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: skylartaylor <hi@skylar.cc>
2026-11-22 18:18:18 -06:00
dotCooCoo eaf1c48e5e Recolor Artwork: reject a library or group that is not a string
ui.recolorDialog, with or without a preset, treated a `library` or
`group` of another type as omitted, so a preset opened with no limit and
OK could recolor the art without the library that was asked for. Both
are now an error that opens no dialog. Null still means none.
2026-11-22 16:13:38 -08:00
dotCooCoo d61d494bea JavaScript: declarations and spread checks stay within the heap and fuel limits
- A function body, after default parameters or plain ones, and eval code
  check the heap for their function declarations and variables after
  their `let` and `const` environment is made, so the estimate stays
  within the limit while the declarations are bound.
- Looking for an index getter before spreading a long array takes a unit
  of fuel for each property it inspects, as well as for each object.
- An index accessor with only a setter no longer delays the check of an
  array of length 4294967295 when spread begins, since reading the
  elements does not run it.
- The eval test with `with` now gives the `with` object an `x`, and the
  function case declares its own `var x`, so a function closing over
  the wrong environment fails it.
2026-11-22 16:09:51 -08:00
FredApps 2ce595e4da Merge remote-tracking branch 'origin/main' into imo778-metafile-unit-facts
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	xtask/src/pdf_deps.rs
2026-11-23 07:03:03 +07:00
FredApps cde70af446 metafile: take WMF and EMF unit facts from craft-metafile (craft-libs#778)
Use craft_metafile::unit_facts from craft-libs#3071 for the placeable
frame, metric map-mode scan and EMF calibration; the fallback scales
stay VectorCraft's policy.
2026-11-23 06:58:44 +07:00
FredApps 369b8bfc09 Merge pull request #9014 from Terra854/deps/craft-libs-runlength
deps: pin shared EPS prefix decoders
2026-11-23 06:56:33 +07:00
FredApps e563e271a0 build: pin craft-libs to main 33be356 (craft-libs#778)
Move every craft-libs crate to one rev merged on craft-libs main, so the
metafile unit facts from craft-libs#3071 are available.
2026-11-23 06:55:39 +07:00
dotCooCoo b7c98147e9 Recolor Artwork: find a renamed group's name over its preview
Opening Recolor Artwork on a color group while the open dialog previewed
a rename of that group failed with "no colour group", because the name
was checked against the previewed document before Cancel restored it.
The name is now checked against the document without the replaced
dialog's preview. An unknown group still fails and leaves the open
dialog as it is.
2026-11-22 15:51:43 -08:00
dotCooCoo dc9adb195d Scripts: pageItems lists the art inside blends, envelopes, repeats and intertwines
pageItems walked into groups and compound paths only, so the objects inside a blend,
an envelope, a repeat or an intertwine were missing from length, [i], index and
getByName, although each of them reports that container as its parent. The walk now
goes into every container's children.
2026-11-22 15:33:08 -08:00
dotCooCoo 3d460c1697 Scripts: guide, layer, move and addDocument fixes for the object model
- Document.selection and PageItem.selected refuse a path made into a
  guide while Lock Guides is on, instead of passing the check and then
  selecting nothing. The locked artboards are measured once per
  assignment.
- An edit whose command selects the objects it changes puts the current
  layer and the highlighted Layers panel rows back as they were.
  layer.setCurrent takes keepRows, which leaves the highlighted rows as
  they are.
- move on an object on a locked artboard throws Cannot move, as editable
  reads false for it. duplicate, with or without a relative object, on a
  hidden or locked object or an object on a locked artboard throws
  Cannot duplicate and makes no copy.
- When move takes the last path out of a compound path, the empty
  compound path is deleted in the same undo step.
- addDocument writes each warning from reading the profile's file to the
  Script Console as addDocument: <warning>, and a previewMode of
  PixelPreview throws an error that says it is not available yet.
2026-11-22 15:33:08 -08:00
dotCooCoo 828f43447d Undo: a command run during a tool drag is its own undo step
A command run from a panel, a menu or an automation client while a tool
drag was open ran inside the drag. With Real-time Drawing on, the drag's
next move put the document back to where the drag began and dropped the
command's edit, and Escape dropped it too. With Real-time Drawing off,
the release lost what the drag drew or moved.

Such a command now runs on the document without the drag's preview and
records its own undo step and journal entry. The drag then continues
from the command's result: with Real-time Drawing on, its preview is
applied again at once. The release records the drag's step after the
command's, Undo takes back the drag first and the command next, and
Escape cancels only the drag. The drag acts on the objects it started
with, so a selection the command makes does not change what it moves,
and the fill and stroke proxies keep showing those objects' paints.
Objects the command deletes, hides or locks are left out of the drag.
A change the command makes to the current layer or to the new-art paints
stays when the drag ends or is canceled. When the command deletes the
art being dragged, the drag records no step. A warning or an error from
the preview applied again goes to the command's result.

Commands that already kept the drag as a step first still do (Undo,
Redo, command.batch, swatch.renameGroup, edit.newDocumentFromState and
the others that call settle_interaction). Typing in progress is still
kept as a step of its own first. A command run during a Quick Pen press,
object.transform with copy during an Alt-drag, and a command run during
a dialog's or a panel's preview still run inside the interaction.

Docs: docs/mcp.md (undo / redo row), docs/target-app-parity.md.
2026-11-22 15:17:12 -08:00
FredApps 5065041fb1 Merge branch 'main' into deps/craft-libs-runlength
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-23 05:54:55 +07:00
Dylan M. Taylor 409d821751 Use the shared EMF and WMF EOF diagnostic (#9125) 2026-11-22 17:21:09 -05:00
FredApps 62ccdea828 Merge branch 'main' into deps/craft-libs-runlength 2026-11-23 05:14:11 +07:00
Terra854andFredApps 76b8839448 SVG: share XML attribute escaping (#9030)
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-23 05:13:39 +07:00
ncic 3b668aec46 Pencil: a tall redraw keeps an open line's ends and a thin shape's body (#3793) 2026-11-22 21:59:44 +01:00
Terra854 eb3a9ba335 Import: share Mac Roman decoding across legacy formats (#9042) 2026-11-23 03:37:59 +07:00
dotCooCoo e37b052028 Print: the PDF fonts note names the fonts drawn as outlines
PDF print embeds subsets only of the fonts whose licenses allow it and
draws the others as outlines. The note that None and Complete add now
says so, as do the Fonts params text, docs/mcp.md and the progress line.
2026-11-22 12:12:38 -08:00
dotCooCoo 14e5fae4ca Docs: Overprint Preview's white canvas applies while the artboards show
The ui-parity row, the Views evidence line and docs/mcp.md now state the
condition that white_canvas() checks: the canvas around the artboards is
white in Overprint Preview and Separations Preview while the artboards
show.
2026-11-22 12:03:06 -08:00
dotCooCoo f7a5e3991d Print: type left out for the page limit sends none of its glyphs
When an object passes the page body limit, the walk takes its body,
image placements and image codes back out. The glyphs it showed through
the job's fonts stayed in the page's font list, so Subset sent fonts for
type that was not printed, and Complete could send whole fonts for a face
no printed object uses. The walk now records the glyphs each object adds
and takes them back out with the rest.

Tests: the glyphs of an object left out for the limit are not in the
page's font list, and ruby readings print as outlines in place while the
base text shows through the font.
2026-11-22 11:52:43 -08:00
dotCooCoo ec3fe96195 Recolor Artwork: roll back the replaced preview before reading the group
Opening Recolor Artwork on a color group over its own preview of that
group read the group's colors before the preview was rolled back, so the
new dialog started on the previewed colors and OK could apply them again.
The replaced dialog now ends first, after the parameters are checked, and
the group is read from the restored document.
2026-11-22 11:46:52 -08:00
dotCooCoo 6327295d28 EPS: white fills and strokes knock out with Discard White Overprint
PDF export lets a fill or stroke marked to overprint do so only when it
is not white with Discard White Overprint in Output (Document Setup, on
by default). EPS export and composite PostScript printing ignored that
setting, so an overprinting white fill or stroke was written with
"true op" and the inks below it stayed visible. They now apply the same
rule to path fills and strokes, character fills and type object fills.

The tiles of an overprinting pattern fill overprint with it, as in PDF
export. Before, a tile marked to overprint wrote its own "true op" and
"false op", which turned overprinting off for the tiles after it.
Separated plates are not checked for white, since their colors are
already the plate's coverage.

Re-exporting or printing to PostScript a document with an overprinting
white fill or stroke gives different output: the white knocks out
instead of overprinting, unless Discard White Overprint in Output is off.
2026-11-22 11:39:17 -08:00