Commit Graph
19746 Commits
Author SHA1 Message Date
dotCooCoo e2e5307106 Retype: the docs say the panel lists fonts matching any selected shape
The Retype panel lists every font whose glyphs exactly match at least one
selected outlined shape, ranked by how many shapes each matches. The rows
in docs/type-parity.md and docs/ui-parity.md now say so.
2026-11-18 17:17:08 -08:00
ruchirguitar 175c180a62 Merge origin/main into feat/layers-guide-context-menu 2026-11-19 06:46:44 +05:30
dotCooCoo 2eeb582f35 Merge main into feat/proof-setup-save-load 2026-11-18 17:16:14 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 7b45c4d58b i18n: Georgian plug-in folder and instruction budget sentences fit in three lines 2026-11-18 17:14:44 -08:00
dotCooCoo 621c06bd26 Free Transform: distorted images keep their corners and placement through files, exports and refusals
- A file's corners are kept only when there are exactly four that the
  image can take; a longer list is skipped without decoding it. Corners
  the affine map misses stay a distortion, and a scale past the
  perspective limit leaves the image at its nearest affine placement.
- Distort checks the corners in a frame local to the quad, so a missed
  corner far from the origin is still refused.
- Relink and Unembed refuse a named or selected distorted image before
  searching a folder or writing a file. Create Gradient Mesh lists the
  distorted images it leaves in `skipped`. Place with Replace refuses
  only when the measured image is distorted and the file is not text.
- SVG cuts a distorted image in a scaled symbol instance at the placed
  size. EMF pieces store only the pixels inside their clip. PDF mesh
  pieces of a CMYK image keep a same-corner mask as its soft mask, color
  mask included. Both `.ai` writers write an image at the nesting limit
  at its nearest placement with a warning. DXF warns only when it writes
  the image.
- The canvas cuts the mesh by the view's largest stretch. Warped images
  with a singular placement keep finite corners.
- docs/mcp.md and docs/plugins.md describe the tolerances, the DXF and
  WMF fallback, the partial result of Create Gradient Mesh, and when a
  plug-in sees `corners`.
2026-11-18 17:13:56 -08:00
dotCooCoo 1350134d3f Path Precision Tools: test switching the Tangents choice with Preview on
The point-and-ellipse test now also switches the choice in place while the
preview shows, checking that the same two lines stay on the canvas and that
Cancel restores the document. After each undo it compares the whole document
with its starting state.
2026-11-18 17:11:56 -08:00
dotCooCoo 5e62518a09 Swatches: a drop lands where the button came up, with the keys held then
A drop on the Swatches panel is decided by the position and modifiers of
the primary button's release, so moving on to another swatch or letting
go of Alt later in the same frame no longer changes which swatch takes
the drop or whether it replaces one. Hover feedback still follows the
pointer and the keys held now.

Replace Pattern Art also refuses type whose inline graphic shows a
symbol painted with the pattern, which would make a tile that refers to
itself.
2026-11-18 17:07:36 -08:00
dotCooCoo 6561c30c8f Layers: isolation mode keeps menus, drops and Show Layers Only to the isolated art
- With Show Layers Only on, an isolated group or object is listed as the
  top row instead of leaving the panel empty.
- Duplicate Selection in the panel menu sends the rows the panel lists,
  so a highlighted row outside the isolated art is not copied.
- In isolation mode the Hide, Outline and Lock Others pairs in the panel
  menu and the row menu are off, and Alt-clicks on an eye or a lock
  change nothing. Locate Layer is off while a group or object is
  isolated.
- OK in Delete Selection's question deletes nothing when isolation mode
  started while it asked and a row it asked about is outside the
  isolated art.
- The isolated row shows no drop place for an Alt-drag onto itself, and
  a guide is not dropped on a layer outside the isolated art.
- Each document's isolation mode is followed on its own, so a document
  first shown in isolation mode opens its isolated row.
- The isolation test steps out of a sublayer one level at a time, as
  Exit Isolation Mode now does.
2026-11-18 17:07:30 -08:00
dotCooCoo 1f26501f91 Pen: no rubber band where a click adds no segment, and the label measures the band
A click on the last anchor retracts its handle, an Alt click over the path
goes to the Anchor Point tool, and a join with an end that lies on the last
anchor merges the two ends. None of these adds a segment, so no rubber band
shows there. The measurement label measures to the anchor the band ends on
instead of the snapped pointer. A press and a hover no longer search for an
end at the snapped point when snapping left the pointer where it was.
2026-11-18 17:05:57 -08:00
dotCooCoo 322e02954f Proof Setup: another dialog in its place undoes its preview
When another dialog replaces a previewing Proof Setup dialog, the proof
view the dialog found comes back. Opening Proof Setup again starts from
that view, and a Proof Setup dialog that comes back from under another
dialog previews its settings again. A proof setup that a command sets
after the preview starts stays when the preview is undone, whether by
another dialog, Preview off or Cancel, and so does Overprint Preview.
2026-11-18 17:04:50 -08:00
dotCooCoo 32e7344cb9 Merge main into feat/arc-by-points 2026-11-18 17:04:49 -08:00
dotCooCoo 779cbae110 Links: the label resets the list the panel reads and decides the filter from the drawn rows
- show_selected_image resets the Arc<Cache> entry that cached() reads, so
  the next draw reads the list again. It wrote a plain Cache under the
  same key before, which cached() never saw.
- The Show filter goes back to Show All when the rows the panel draws
  leave out the selected image, instead of from a separate query made
  when the label was clicked.
- reveal_panel brings a panel to the front of its open flyout when
  another tab of the group is in front.
- The Control bar test docks Links beside Layers and checks where it
  opens, so both passes reach a docked panel.
2026-11-18 17:02:31 -08:00
dotCooCoo 85d1dfc94b Preferences: Default Language and Graphics Processor descriptions match the behavior
Default Language now says it applies only while [Normal Character Style] sets no language. Graphics Processor now says the canvas is shown through the chosen processor while the artwork is drawn on the CPU, and that Automatic prefers the integrated one on Windows and macOS. The rows in all 28 catalogs follow.
2026-11-18 17:02:26 -08:00
BFlat fc2a525ee1 Merge pull request #8635 from storytold/fix/ase-cap
color: an .ase library over the cap gets VectorCraft's own, translated message again
2026-11-19 08:00:13 +07:00
bflatastic 891dd6310d color: an .ase library over the cap gets VectorCraft's own, translated message again
#8627 left the check to craft-cms, whose wording isn't in the catalogs, and
main's test of the message failed.
2026-11-19 07:59:02 +07:00
dotCooCoo ec6068e62e i18n: the Georgian Hyphenation Exceptions sentence fits in three lines
The Georgian row for the Hyphenation Exceptions description wrapped to a fourth line, which failed every_description_names_a_setting_and_fits_in_every_language. The row now opens with a shorter phrase for "in paragraphs with Hyphenate on".
2026-11-18 16:58:55 -08:00
dotCooCoo 59752f7ebf Swatches: Color Group Options renames only the group it opened on
OK closes the dialog and renames nothing when another document has
become the active one, or when the color group at the group's place in
the list no longer has the name and swatches the dialog opened with.

swatch.renameGroup makes a drag still in progress an undo step of its
own first, so canceling or undoing the drag leaves the rename.

ui.colorGroupOptions without group opens on the color group selected
alone in the Swatches panel, as long as the panel's selection still
belongs to the active document and art.

The panel's selection follows renames in a command.batch only up to the
first step that may switch documents or replace a group. Ungroup Color
Group and Delete Swatch take the names they removed out of the
selection.

The es catalog had the missing `group` and no colour group `{group}`
rows twice after the last merge of main; the duplicates are removed.
2026-11-18 16:58:21 -08:00
dotCooCoo 36f5e777d9 Brushes: library test clicks Decorative after Pressure Sensitive
The Decorative click ran frames up to 3.5 s, and the Pressure
Sensitive click that followed started again at 3.0 s, so egui
panicked with "Time shouldn't move backwards". The Decorative case
now runs last, at 4.0 s.
2026-11-18 16:55:51 -08:00
dotCooCoo b92cdba3e0 Repeat: switching tools during a mirror axis or repeat handle drag puts it back
Switching away from the Selection tool while dragging a mirror axis or a
grid or radial repeat's handles left the drag's preview open under the
next tool. The Selection tool now cancels these drags on a tool switch,
as Escape already did, so the repeat goes back to its options from
before the press. A press that has not changed anything leaves no undo
step.

The deactivate doc comment now lists these drags and the Image Trace
divider.
2026-11-18 16:54:56 -08:00
dotCooCoo 82edccca6f Save PDF: OK on Custom… keeps the overprint option it opened with over a preset saved again
When the saved flattener preset was deleted and saved again under the
same name with another Preserve Overprints value while Custom… was open,
OK took the new preset's value instead of the one the dialog showed.
OK now keeps the value the options opened with, and reads the preset
only when that value is missing.
2026-11-18 16:48:42 -08:00
dotCooCoo a396be39be Merge main into fix/linked-handle-repeat-no-undo 2026-11-18 16:47:55 -08:00
dotCooCoo 3d5a6c3c01 Three-Point Arc: ] while hovering moves the shown third point to the new mode
With both ends placed and Shift held, switching modes with `]` left the
point the tool showed where the old mode put it until the pointer moved,
while a click there drew the arc of the new mode.
2026-11-18 16:47:52 -08:00
dotCooCoo a1bc9f40b8 Merge main into fix/followup-8463 2026-11-18 16:47:48 -08:00
dotCooCoo cd640a6183 Merge main into fix/issue-8568 2026-11-18 16:47:45 -08:00
dotCooCoo 6c5e10fd64 Color Settings: keep script gates and background reads after a profile answer
- A scope narrowed to the confirming caller keeps the script gates of both,
  and reads are exempt from them only where both scopes exempt them.
- A file read off the UI thread does the rest of its read after its profile
  answer (linked files and type) off the UI thread too; an open a caller
  asked for by path still finishes before OK returns.
2026-11-18 16:46:24 -08:00
dotCooCoo 76705afc2f Dimension: leave a null arrowHead out of saved options
Saved and recorded dimension options carried "arrowHead": null even
without a stroke head, so a recorded dimension.create failed in versions
that do not know the option. The field is now left out when it is null.
dimension.create, dimension.update and Dimension Tool Options still take
it. The name is read without a copy of its own, and a name longer than
any built-in one is refused before it is parsed. Through ui.dialog.set,
an arrowStyle set in Dimension Tool Options clears arrowHead, and a
built-in arrowHead sets the arrowStyle of its Arrow Style entry, as that
menu does. The Arrow Style field reads only a built-in head's name from
a draft.

The Stroke panel and Arrow Style look up a built-in arrowhead's name in
the catalog's arrowhead rows first, then its plain row. Every complete
catalog gets an arrowhead row for Feather, so the Feather arrowhead is
named as an arrowhead in each, and the de, gu, it, ja, ko, uk, vi,
zh-hans and zh-hant catalogs no longer show it in English.

Versions that have the stroke arrowhead but do not read arrowHead keep a
dimension's saved arrows until they draw the dimension again, and then
draw arrowStyle; versions without the stroke arrowhead do not open the
file. The params text, the doc comments, docs/dimensions.md, docs/mcp.md
and docs/target-app-parity.md say so.

The French Line Arrow row moves next to the other rows of its block.
2026-11-18 16:46:10 -08:00
dotCooCoo 6f3f373cd5 Preferences: the Performance hover test covers Low-Latency Drawing
On the desktop, the test now also hovers the Low-Latency Drawing row and checks that it shows its own sentence and no other row's.
2026-11-18 16:43:12 -08:00
dotCooCoo c870693669 Preferences: describe Low-Latency Drawing and Plug-in Instruction Budget
Low-Latency Drawing and Plug-in Instruction Budget joined the Performance
and Plug-ins & Scratch Disks categories after these descriptions were
written, so the test that every setting has a sentence failed on them.
Each now has a sentence with a row in every complete catalog, and the
Performance and Plug-ins hover tests include their rows.

The hover tests now count a label as shown only while its center is
inside its clip rectangle, so the pointer is never moved onto a row that
is half scrolled out of the list. The Performance hover test also waits
for the smooth scroll to settle before it moves the pointer, as the File
Handling test does.

The six Polish description rows that called artwork "grafika" use
"kompozycja", the catalog's term. docs/target-app-parity.md states the
same Automatic graphics processor order in the Performance entry and
under Graphics processor.
2026-11-18 16:41:13 -08:00
dotCooCoo 30ead6b0ca Tests: "vectorize" checks label words for trace and a place in the first five
The check for the results above the image trace commands matched any label
containing the letters "trac", so labels such as Highlight Tracking or
Subtract passed it. It now splits the label into words with the search's own
word rules and accepts a word that is "trace" or stems to it (Tracing, Traced,
Traces). The first image trace command must also be in the first five results.
2026-11-18 16:41:08 -08:00
dotCooCoo e3ccd346ad Selection: widget drags read the release point and a tool switch cancels them
A drag of a corner, pie or blend widget, an Objects on Path widget, a
bracket of type on a path or a 9-slice guide released away from its last
drag event now drags there before it ends, so the release keeps what a
drag to that point would show. The Objects on Path tool reads the release
the same way.

Switching tools during a drag of an Objects on Path widget, a bracket, a
repeat control or a 9-slice guide now cancels it, as Escape does, in the
Selection tool and the Objects on Path tool. Before, the preview stayed
open after the tool was gone.
2026-11-18 16:40:59 -08:00
dotCooCoo 6de3954e6b Part of #5941: drop-down lists keep their current option in view in a short window
A drop-down list measures itself against the whole window on the pass it
opens and takes the room beside its field on the next pass. The current
option was scrolled into view only on the first pass, so where the room
beside the field was less than half the list, the option could end up
below the rows shown. It now scrolls into view on both passes.

The new test opens a 20-option list in windows 260 and 180 points tall
with the current option at its end, in its middle and near its start,
and checks that the option shows whole inside the list's clip.
2026-11-18 16:40:48 -08:00
dotCooCoo 37b3dd9a3e Part of #5941: drop-down lists open with their current option in view
A drop-down list now opens scrolled so that its current option sits in
the middle of the list, or as near to it as the list's ends allow, so
the option shows whole. A list that fits opens at its first option, as
does one with no current option.

The Format list test chooses the last format, checks that it shows
whole and that the list opens again at the same rows after a scroll,
and checks that the theme gives every scroll area the bar at rest.
Export for Screens' test picks GIF after SVG, since PNG is no longer in
view when the list opens with SVG in its middle.
2026-11-18 16:40:48 -08:00
dotCooCoo 61cc30e9b8 Image Trace: a shown center point keeps its drag over the divider
With Show Center on, a press on a selected Image Trace object's center
point where the Split view's divider crosses it moved the divider
instead of the object. The divider now leaves a press on a shown center
point to the Selection tool, as it already did for the bounding-box
handles.
2026-11-18 16:40:27 -08:00
dotCooCoo 9f859372e4 Reflect tool: a click released after the document changed sets nothing
A press that the document or selection changed under before its release, without
becoming a drag, now sets no reference point and starts no Reflect axis, as a
drag from such a press already did.
2026-11-18 16:40:21 -08:00
dotCooCoo 3bcd405781 Preferences: Plug-in Instruction Budget and Low-Latency Drawing show a sentence
Both settings came in with main and had no sentence, so the one-sentence
test for the categories up to Appearance of Black failed. Each now has an
English sentence and a row in the 28 complete catalogs, and the hover and
keyboard tests for Plug-ins & Scratch Disks and Performance cover them.

The hover tests for User Interface, Performance and File Handling scroll
until the row's label lies wholly inside the field list before they move
the pointer to it.

The Polish rows for art and artwork in these sentences say kompozycja, as
main's Polish vocabulary test requires.
2026-11-18 16:39:55 -08:00
dotCooCoo aec24ad610 Swatches: Add Used Colors ends typing first and keeps other Global Edit members' colors
swatch.addUsedColors ends a typing session in progress before it reads
the colors, so typing is its own undo step and its colors are counted,
also when the run finds no new color. With Global Edit on, linking the
selected art to its new swatches no longer gives that paint to the other
members, so a member with another color keeps it.

The menu test also checks that Add Selected Colors is disabled with
nothing selected.
2026-11-18 16:37:57 -08:00
dotCooCoo 1102663014 Merge main into feat/save-pdf-save-summary 2026-11-18 16:37:38 -08:00
dotCooCoo bd54c2a63b Three-Point Arc: measure the arc's curve, not its handles, against the canvas
An arc near the canvas edge whose handles reach past it while the curve
stays inside showed "Arc too large", though shape.threePointArc draws it.
The tool now measures the curve's bounds, as the document's range check
does for such a path.
2026-11-18 16:37:07 -08:00
dotCooCoo 197f3ed645 Symbols: a click just outside New Symbol or Delete Symbol reads its own modifiers
egui counts a release within its interact radius of a button as a click on
it. The panel's buttons now read Shift and Alt from such a release too, and
skip a release that ends a drag, which egui does not count as a click.
2026-11-18 16:36:41 -08:00
dotCooCoo c213d42373 Preferences: Plug-in Instruction Budget and Low-Latency Drawing show a sentence
Plug-in Instruction Budget and Low-Latency Drawing reached main after
the descriptions were written and had no sentence, so the coverage test
for General through Devices failed. Both now have a sentence and a row
in every complete catalog. The Low-Latency Drawing sentence says that a
present mode set at launch overrides the preference.

The Tab tests now check the order in which one pass first reaches each
control, so a wrong order no longer passes after the focus wraps. The
User Interface and Performance hover tests take the row's position after
the wheel scroll has settled. The Plug-ins & Scratch Disks and
Performance tests cover the two new rows.
2026-11-18 16:31:27 -08:00
dotCooCoo e8d070ea37 Retype: the panel says when a search left shapes out
retype.find keeps the `truncated` flag type.retypeFonts returns, and
retype.list returns it. When shapes past the first 2,048, or more than
16 groups deep, were not compared, the panel says so under the field.

- Rows for that line and for the "Retype: select outlined text (paths
  or compound paths)" error in every complete catalog. The panel shows
  that error when a search finds no path to compare.
- The params text and docs/mcp.md say "the fonts whose glyphs match the
  selected outlined text". docs/type-parity.md's Retype row lists the
  missing Type menu, context menu and Quick Actions entry points and the
  favorites filter, as the other two docs do.
- Font samples: when eight samples are rendering, finished ones join
  the ready samples before a new one starts. Samples whose text changed
  while they rendered were never asked for again, so after eight of them
  no sample started; typing in the panel's sample field reaches that.
- The panel test that checks the first-ranked font accepts a tie with a
  renamed copy that other tests load into the shared font database.

Part of #4934.
2026-11-18 16:27:05 -08:00
dotCooCoo 52e959d4be 3D (Classic): Map Art keeps to the limits the art draws within
- When any solid's mapped art passes the shared limits, every solid in
  the effect draws without its mapped art, so Invisible Geometry hides
  all of them or none.
- A revolved group lists its surfaces with the members' shared curve
  sampling, and an extruded group lists none past the faces of one
  object.
- Commands refuse art on walls, bevels and Revolve's side whose curves,
  cut into straight pieces at the map's scale and placed about the
  surface's center, pass 400,000 points. Caps are not counted.
- Each contour's bounds test counts as a cut, in Map Art and in the side
  graphics.
- On a facet whose curved edge bows out of its cell, the art reaches the
  whole facet.
- A bevel as deep as the solid leaves no walls, and its bevels take the
  numbers after the caps.
- Surfaces past the face limit are refused as the side is.
- threeD.mapArt keeps a deleted symbol only while the request leaves
  `symbol` out.
2026-11-18 16:25:43 -08:00
dotCooCoo d6bc984cad Merge main into feat/distorted-image-commands 2026-11-18 16:24:18 -08:00
dotCooCoo e6b6a3dc78 Merge main into feat/circle-tool-options 2026-11-18 16:24:04 -08:00
dotCooCoo 585fd878fa Recolor Artwork: Undo Changes keeps its newest step past the byte limit
The dialog's history always keeps the step to the current fields, so
Undo Changes is never enabled with no step to go to.
2026-11-18 16:23:48 -08:00
dotCooCoo 5fe226850d Color Wheel: keep the OKLCH chroma search below the asked chroma
The first chroma search in largest_fitting_chroma ran from 0 to 0.5 and
could land on the line from black to blue above the chroma asked for. The
result then fell back to the asked chroma, which lies outside sRGB, and
from_oklch clipped it, changing the lightness and hue. The search now
stops at the asked chroma, so the chroma it finds always fits.

The parity doc now says color.convert's OKLCH matches the rows only for
a color inside sRGB, since it clips the display RGB first.
2026-11-18 16:21:28 -08:00
BFlat bab45a99f3 Merge pull request #8631 from storytold/fix/cutovers-main
Revert #8626 (HP-GL/2 through craft-plotter) and fix #8627's palette tests: main fails to build
2026-11-19 07:21:15 +07:00
dotCooCoo 8c22c4cbe3 Brushes: check Vector Packs tinting and the applied brush
The Vector Packs test now renders each brush with a teal stroke and checks
that every generated path is filled with that color, and after each
brush.addFromLibrary call it checks that the line's stroke uses the brush.
The black-stroke render still checks that each mark repeats along the path.

G5's Missing entry in docs/gaps.md now counts thirteen built-in brush
libraries, matching the Done entry.
2026-11-18 16:20:50 -08:00
dotCooCoo 7451b07a96 Save PDF: the saved Summary writes line breaks inside option values as LF
A text option such as the output condition could carry CRLF or CR into the
file, which then mixed line endings.
2026-11-18 16:19:42 -08:00