File > Print offered the same built-in sizes for every printer, so a card
printer's CR80 size could not be chosen. The Size list now holds the paper
sizes the chosen printer's driver lists: the CUPS PPD's PaperDimension
entries on macOS and Linux, and the printer's forms on Windows. A size the
dialog has itself (Letter, A4) keeps its own id under the driver's name;
others print as a custom size of the driver's width and height. Custom is
always offered, and a printer whose driver lists nothing keeps the built-in
list.
The lookup runs on a worker thread and the dialog updates when it answers;
the Windows lookup stops after 10 seconds. Each opening of the dialog and
each printer change reads the driver again. A paper the new printer does
not list becomes a custom size of the same width and height. The preset
editor keeps the built-in list.
A PDF part without layers comes in on one layer named for its page. When
the editing data is set aside (a stale copy of another page size, say),
pairing that layer with the editing data's one layer locked art nothing
ties to it. Layers now take locks only by a name unique on both sides.
* fix(effects): draw dark dots in RGB Color Halftone
(cherry picked from commit 2dbe91af9f)
* Cover dark-on-light RGB halftone polarity
Updated halftone tests to clarify behavior regarding pixel brightness and dot sizes.
(cherry picked from commit babd60e332)
* effects: bound Color Halftone dots at full coverage
(cherry picked from commit 8fb0bf55607762df6e3acc2ed7ed37a643fea022)
* effects: describe Color Halftone ink coverage
(cherry picked from commit 0dbf12514095b6e12cb4414055d8ac47ee1fbcdc)
* Document the change to saved RGB halftones
* Test the bounded edge overlap of full halftone dots
---------
Co-authored-by: Mex <[email protected]>
Co-authored-by: dotCooCoo <[email protected]>
A whole-table loop or .all(…) whose source calls an asserting helper
runs that helper for every entry, so census no longer reports it.
A negated is_ok() or is_some() checks a rejection and is no longer
counted as a presence check; !is_empty() still is.
A break can end a whole-table loop before the last entry, and an unwrap_err() or expect_err() on the other side of an && always runs, so neither is a presence-only census.
The Normal-mode test compares the default output with blurMode=normal,
so a fault both share passes it. Three checks now stand on their own:
- A 6-pixel row at radius 2 checks exact averages that a radius-1
search gives differently (105 and 115 at the ends instead of 110).
- A step from gray 100 to 200 at radius 12 checks that the pixels next
to the step read the box-blurred copy at threshold 50 and keep their
gray at threshold 30, that pixels far from the step keep theirs, and
that medium quality takes in less of the other gray than low.
- A one-column gray-200 stripe at radius 12 checks that a neighbour
whose own value is past the threshold stays out even when its
blurred value is within it.
- A 5 x 5 image at radius 2 checks that a pixel two columns away counts
and one two columns and two rows away (outside the disc) does not.
- A 7 x 7 image with default settings checks that the default radius
of 3 reaches a pixel three columns away.
- The radius-1 threshold test gives its last two pixels the same color
with alpha 255 and 128, so it fails if alpha is left out.
#8770 renamed the chrome test helper Shown::starting to app_bar_control,
which looks only in the window's title bar because the Tools panel can
hold a control with the same name. The test
the_app_bar_home_is_small_and_menu_titles_pad_their_text came in with
2030c7b2d2 while #8770 was open and still called starting, so
vectorcraft-ui-egui's tests no longer compile on main (E0599 at
chrome/tests.rs:573). The test now calls app_bar_control("Home").
- The two-anchor ellipse test now expects the exact area of its two
cubics, 4/5 of the box (4800), instead of a 10% band around the true
ellipse that accepted handles moved 10 pt inward (4560).
- The abutting trace seam must sit within 0.05 px of the anti-aliased
edge at x = 10.4, so snapping it to a whole pixel fails.
- The straight-on shadow area is compared exactly with 10000: the
sampling grid has 1 pt2 cells and no sample on the square's edge.
- The pinned Pathfinder inputs now also get a point check: for Unite,
Minus Front, Minus Back, Intersect and Exclude, every grid point away
from an input edge must be inside the output exactly when the inputs
covering it say so, so the pins no longer rest on the sweep that
computed them alone.
The Alt-drag test now requires the 80 pt offset instead of any positive x. The pattern transparency dither tests check the exact 25% and 75% opaque shares. The plug-in tests' near() allows 2 levels per channel instead of 40.
* Tools: add search beside Edit Toolbar
Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.
Closes#8758.
* Format the toolbar Search interaction regressions
* Format the native Search tooltip expectation
* Use the current stroke paint API in Properties
* Scope app-bar test lookups to the title bar
---------
Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
The Affinity raster tests compared decoded pixels with CRCs captured from
the reader's own output, so a decoding error present when the CRC was
taken would pass. They now read the image's tiles straight from the
archive (256-byte by 256-row planes, states 2 and 4), interleave them,
scale 16-bit samples with rounding, and compare the whole buffer. The
Affinity 3 signatures drop the CRC of the model's Debug output and keep
the feature counts.
The DXF golden test no longer rewrites its expected files when
WRITE_DXF_GOLDENS is set. Each golden file is first checked against the
drawing it should hold (rectangle corners, circle center, radius and
bulges, ACI and true colors, lineweights), and a mismatch saves the
output to the temp directory for review.