ink.separations accepts 9-300 dpi, but craft-prepress renders each plate within 4 megapixels, so a page larger than A5 at 300 dpi was separated at less with an empty warnings list. separate() now adds a warning naming the resolution used and the one asked for, and the command's params text says the resolution is lowered to fit 4 megapixels per plate.
Document tabs that overflow the bar scroll (trackpad, wheel, or arrows), keep the active tab in view, and list every open document in a menu.
Fixes#2358.
`name` ID 6 names a variable font's default instance, so every instance
was previously embedded under that same name. A named instance's
PostScript name is now built as Adobe TN #5902 prescribes.
Related to #1690.
Refuse UNC, device and non-disk verbatim paths in automation roots by their form, before any file-system lookup, and judge each symlink from its own text. This closes the NTLM/WebDAV leak where canonicalize was asked about a path first.
Adds Cell Options › Diagonal Lines so cells can be drawn with diagonal lines. The dialog applies only to the cells and document it opened for, and PowerPoint export writes the diagonals as cell borders. Includes Swedish catalog rows for the new strings.
For a catalog-only variable family, named instances are discovered before the Font Style combo and the Family menu list their styles, so the first opening is complete. Styles are cached once per popup opening. Synthetic fvar regressions run by default.
Related to #1210.
Create Outlines built each glyph's outline as horizontal text does. In a
vertical frame the canvas and the PDF export also turn each upright glyph
(PlacedGlyph::vertical_xf), and a frame of several columns put each line in a
group whose children had no transform, losing the frame's quarter turn. CJK
glyphs lay on their sides and the columns became rows.
Each upright glyph now takes its turn, as the renderer applies it, and each
line in the group takes the frame's text turn (Document::text_local).
Fixes#2895
Moving page 4 into spread 1 does not move the section that starts at page 3, so the label takes the comma-separated branch: pages 2, 3 and 4 are numbered 2, 1 and 2, and the assertion now expects exactly that. The test failed before this change (left: "2, 1, 2", right: "2-4").
* Formats: port the craft-libs cutover follow-ups from #2734 to main (craft-libs#778)
Brings #2734's changes (made against the release branch) to main:
IDML CDATA on write and table span parsing, DOCX plain-text accepted
changes, XLSX invalid number cells shown as written, shared CMYK JPEG
polarity, exact PPTX opacity, PDF CMYK fallback wording, and the
craft-libs re-pins. Imported DOCX built-in headings keep main's and
v0.21.0's spelling ("Heading 1"), with a test. craft-pdf, craft-prepress,
craft-cms, the krilla/hayro patches and craft-xml-dtd move to the #1322
squash merge on craft-libs main (a5ac3aa0).
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
* Point the PDF dependency check at the craft-libs main pin
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
* Formats: address review on the cutover follow-ups
- PDF: keep main's CMYK fallback warning. The shared decoder reads planar
CMYK TIFFs and makes associated alpha straight, so neither falls back;
a test now checks both keep their inks.
- DOCX plain-text import uses craft-wordmodel's Paragraph::final_text,
which already drops tracked deletions and expands inline objects.
- IDML: a test pins numeric table spans (fractions round down, spans past
the table or past 32 bits reach its edge, anything under 1 or not a
number spans one cell).
- Cargo.lock: craft-rtf takes craft-codepage at bfea7d98 after the merge
with main.
* PDF test: expect the CMYK fallback warning's main wording
---------
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
* cli: report an empty benchmark layout instead of panicking
Return a clear error before benchmark work starts when the document contains no spreads.
* test: report a benchmark error for documents with no spreads
Create a structurally valid round-tripped document with no spreads and require bench to exit 1 with the clear error.
* cli: report failures after keep-going scripts
Keep executing requested steps while retaining the first failure in Report, so failed scripts return nonzero before save/export.
* docs: describe first script failure in Report
Describe the first failing step without assuming all callers stop immediately.
* test: cover keep-going failure reporting and output guards
Exercise failures before and after a successful step, preserve the first failure, and require both output paths to remain absent.
Reject numeric prerelease identifiers with leading zeros and core components larger than u64 before replacing the workspace version. Extend the existing validator and replacement tests.
Option, with or without Shift, on a letter, digit, symbol or Space types a
character on macOS, so the window takes the key before the menu bar sees
it. The bar carried such a user shortcut as its key equivalent and the
window's dispatcher left the key to the bar, so the shortcut ran nowhere.
These shortcuts now stay in the app, like modifier-less ones.
When a command leaves a live caption behind its source, the pass after
the command rewrites the caption's text but kept the document's
revision. The Pages panel thumbnails, the separations preview, the
preflight worker and the Links panel key their caches by (uid,
revision), so they kept drawing the old caption. The pass now bumps the
revision when it changes the document, as Smart Text Reflow and
auto-size already do.
* Stroke: the text Weight field keeps its value between 0 and 800 pt
With text selected, the Stroke panel's Weight field sent the typed value
to type.char unchanged, so 2000 or -5 became the text's stroke weight.
The object Weight field keeps its value between 0 and 1000 pt. The text
field now keeps its value between 0 and 800 pt, the range of the
character style's Weight field.
* Properties: the text stroke Weight field keeps 0 to 800 pt
The Properties panel's text stroke Weight field capped typed values at
100 pt while the Stroke panel's text Weight field and the character
style's Weight field allow up to 800 pt. It now uses the same 0 to 800 pt
range.