A PDF 1.3 save with `flattener.preserveAlpha: true` failed on transparent
art that the flattener rasterized: the rasters kept their alpha as soft
masks, and the writer refuses soft masks in a PDF 1.3 file. The writer
now turns Preserve Alpha Transparency off, as it already turns Clip
Complex Regions on.
Custom Transparency Flattener Options shows Preserve Alpha Transparency
off and locked, as the save writes it, and its OK stores the preset's
value.
Save PDF › Advanced gets Custom… beside Flattener preset, enabled when the
file is flattened (PDF 1.3, PDF/X-1a, PDF/X-3). It opens Custom
Transparency Flattener Options on the settings the save would use. OK
sets them as `flattener` and the preset shows [Custom]; settings equal to
the preset's leave its name, choosing a preset drops them, and Cancel goes
back unchanged. Clip Complex Regions shows on and can't be changed, since
the PDF 1.3 writer always clips, and overprints follow Overprint.
ui.savePdfDialog keeps a `flattener` it is given instead of dropping it,
and refuses one that is not an object, has an unknown key or a value out
of range. Save Preset… says that PDF presets keep the flattener preset but
not these settings.
The shared flattener editor takes the keys of the switches to lock, so
EPS Options locks its two Preserve switches as before.
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.
While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.
Fixes#6117
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.
flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
A Swatch Options rename of the spot color base keeps it the base, also
as a command.batch step, and so do an Undo and a Redo of the rename.
Deleting the swatch or its color group, merging it into another, making
it a process color or closing its document ends the link, so a later
spot color of the same name does not become the base until it is chosen
again. The base keeps the color it showed.
A batch's Activate Document, New, Open, Close and Move Document steps
are followed, so steps in another document leave the link alone. When
the swatch goes in a way the panel does not follow, the link waits for
an Undo or Redo, and the next other command ends it.