With Shadows on, solids in the same opacity and blending mode share one
shadow plane image and solids in different ones get their own, and each
plane image casts only the shadows of the solids in its run. A new test
checks the image order and inks, the plane coverage, the layer plan and
the casters of each plane's scene.
Check counts raster work only for the triangles an image draws. A new
test finds the work limit of one solid's own image and shows that an
unseen duplicate in the scene does not raise it, that drawing both
solids does, and that the image draws within that limit.
Adds tests that draw a see-through object whose two images each fit the
pixel limit alone but not together, and one with 16 and 17 see-through
fills, so removing the shared limit or the image cap fails a test. The
white-background test now uses a see-through solid past the pixel limit
and compares its fallback with the same object in shaded mode.
Render Settings > Rendered drew the shaded faces instead of the image whenever
a solid's fill or stroke was below 100% opacity or in a blending mode other
than Normal. Such a solid now draws its own image in that opacity and blending
mode, lit and shadowed as in the single image, in the order of the fills and
strokes; with Shadows on, the shadow plane draws first, one image for each run
of solids in the same opacity and blending mode. An effect on one fill or
stroke draws its shadow plane behind the object's other fills and strokes, and
with background white one white rectangle goes behind its images. A solid at
0% opacity draws nothing, casts no shadow and is left out of the image's size
and of the rendered mesh budget. The images share the pixel and work limits;
past 16 images the shaded faces are drawn.
Revolve on a group still draws its shaded faces when a member's surface is
see-through or blended, now with its own warning. Gradients, patterns,
mapped graphics and masked members keep the shaded faces.
The CMYK fields of a script's picker now convert through the CMYK profile
of the script's document whenever one is given, not only in a CMYK
document, matching the gamut warning. An RGB color opens through the
active RGB profile, which the picker's RGB fields read its channel values
in, so the opening swatch and the fields agree. docs/mcp.md names the
profiles the picker uses.
File > Open refuses an RTF file that ends inside a group as damaged
instead of opening the text read before the end; File > Place still
places that text. Binary data and bytes after the document's closing
brace are skipped, as the reader skips them.
Text Import Options for a file File > Open asks about now waits while
any dialog is open, as Missing Fonts does, so the two never show at
once.
The File > Open filter test uses the extensions and formats this build
reads, so it holds where no DWG decoder is built in.
When a late files read finds no copied files and the Copy made here was
a bitmap, Paste read the bitmap to compare it with the Copy before it
read the text. A bitmap read that gets no answer leaves the clipboard
worker busy, so the text read then failed at once and Paste took the
internal Copy instead of the text another app put there. The text is
now read first and kept for the paste.
docs/mcp.md's Width profiles section says which commands the footer's
Add to Profiles, Delete Profile and Reset Profiles run, and the
progress doc gets a line for the footer with its tests.
The ProfileSelect doc comment named another vendor's app; it now says
what the drop-down holds. The closed and open widths, the Page Up/Down
step and the saved-row thumbnail size are documented consts, and the
thumbnail's size and inset are no longer literals at their call sites.
The framework's Select, which the Profile control used before, reports
the picked row's place in the list as a numeric value and takes
AccessKit's SetValue, Increment and Decrement. The new drop-down set
only a text value and never read take_set_value, so a screen reader
could no longer step or set the profile. ProfileSelect::access now sets
access.numeric with the row's place and label, and update takes
SetValue and the step moves before its focus check, as Select does.
The Gujarati status notes now give the catalog's real counts: 4,946 `@msg`
rows and 10,890 rows in all, and the revision rows give 4,926 new message
rows. They also say that a web build offers Gujarati only when it is built
with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans
Gujarati; without it `offered_codes` leaves `gu` out on the web.
docs/development.md no longer says a missing translation never fails a test.
It names the four tests that need a row in every complete catalog or every
`COMPLETE_MESSAGES` language.
app.showColorPicker opened the picker with the front document's color
profiles: the opening color, the CMYK fields and the out-of-gamut test
used the active context, while OK converted the pick through the
script's document. With two documents assigned different profiles, the
picker showed and separated colors in the wrong space.
The script picker now draws its opening color, fills its CMYK fields
and tests the gamut through the profiles of the script's document.
Pickers opened from the panels keep using the active profiles.
The clip-outline check behind `pathItems.removeAll()` measured each
subpath by its signed area. The loops of a figure eight turn opposite
ways and cancel, so the check treated the outline as enclosing nothing,
although both fill rules fill it. A subpath whose signed area is within
roundoff of zero is now measured by the area it fills under nonzero.
A subpath whose points all lie on one line still encloses nothing.
The Concept to Vector panel labels its slider and field with tl!("Detail"),
and gu.tsv had a row only for "Detail:", so the label stayed in English
in the Gujarati interface.
When a late text read answers and the Copy made here was a bitmap, Paste
read the bitmap to compare before it read copied files. A bitmap read that
got no answer left the worker busy, so the files' read failed at once and
an art-file list on the clipboard was not pasted. Paste now reads copied
files first whenever the ownership check needs a read of its own, since a
Copy made here writes no files.
The doc comment on Ours now states that a bitmap is known by its size, as
Clipboard::owns already compares it, and the test covers a same-size bitmap
from another app.
The footer's Add to Profiles saved the profile at once as "Width Profile
N". It now opens the same name dialog as the Stroke panel's menu item
Add to Profiles…, as on main, and saves nothing until OK.
stroke.widthProfile.move, Prefs::width_profile_order, the drag and Move
Up/Move Down reordering, stroke.widthProfile.rename and the row menu's
Rename item are taken out, along with their tests, so this change holds
the drop-down footer alone. Reordering and renaming go to their own pull
requests. Dragging a row onto the footer's trash button goes with the
row drag. The engine's width profile commands are now the same as on
main.
A saved row's right-click menu keeps Delete Profile; built-in rows have
no menu.
Delete Profile removes saved profiles only, as on main: the engine
refuses a built-in name again, Reset Profiles clears the saved ones, and
the hidden_width_profiles preference is gone. Hiding a built-in also
made stroke.set {profile: "lens"} fail with "unknown profile lens".
The command's enable check goes back to has_saved_profiles. The check
added here passed whenever a built-in other than Uniform was listed, so
a key press ran Delete Profile with nothing to delete and
shortcut_editor::tests::listed_commands_run_from_a_key_without_a_missing_param
failed.
In the drop-down, the footer's Delete Profile, the row menu's Delete
Profile and the trash drop target act on saved profiles only.
rasterize_as took eight arguments and carried an allow for Clippy's
too_many_arguments lint. The region and the pixel size it fills now go
in as one pair, so the function stays within the limit without the
allow.