Commit Graph
16972 Commits
Author SHA1 Message Date
FredApps 273dd79442 refactor(doc): read Group 3 TIFF rows through craft-stream-codecs
group3_tiff_rgba decodes each strip or tile with
craft_stream_codecs::decode_ccitt_raw instead of hayro-ccitt; the error
messages stay as they were. vectorcraft-engine's group3_reference test
keeps the hayro-ccitt reader as the reference: over 190 Group 3 TIFFs and
5,500 cut or edited copies the pixels and refusals match, except that a
strip or tile wider than MAX_CCITT_COLUMNS (2^20) is refused as an
overflow where hayro-ccitt ran out of data. Needs craft-libs#1772.
2026-11-16 01:56:14 +01:00
dotCooCoo b1b5e86e57 Image Trace: Outline view leaves out renamed seam fills
Outline views left out an Abutting trace's seam fills only while their
clip group kept the name "Seam Fills". Renamed, the group drew its
clipping box and, on a stretched image, the outlines of its filled
seam bands. The group is now also left out when it is still the lowest
traced shape, where the trace puts it.

The outline-view test samples inside the seam band beside the shared
edge on the stretched image, and checks that renaming the group leaves
the view unchanged.
2026-11-15 16:56:01 -08:00
dotCooCoo 045ae54d83 Merge main into fix/transform-copies-raster-effects-groups 2026-11-15 16:55:39 -08:00
dotCooCoo 7e2095fd28 Command Palette: a press outside the popup closes it
A press of any pointer button outside the open Command Palette closes
it: a click, a right-click or the start of a drag. Before, the palette
stayed open after such a press. It closed on a pick, on Escape, or when
the app bar's search button or Help › Search Commands… was used again.

While the palette is open, a backdrop under the popup covers the canvas,
the toolbars, the docked panels and the app bar, in the same order as a
modal dialog's backdrop. The press that closes the palette does not
press a tool button or another control under it. Windows drawn above
the backdrop, such as a progress window, still get their clicks, and
such a click also closes the palette. Clicks in the search field and on
a result work as before.
2026-11-15 16:55:20 -08:00
dotCooCoo d436d38fb1 Effects: each copy of a group's or layer's Transform effect carries the raster effects listed before it
A group's or layer's own Drop Shadow, glow, blur, Feather or pixel filter
listed before its last Transform effect that makes copies now goes with each
copy, made of all the copy's members together. Its sizes scale by the copy's
mean scale, and a Drop Shadow's offset turns, reflects and scales with the
copy. Before, one shadow was drawn around all the copies at the group's own
distances. A raster effect listed after the Transform effect still paints
once around all the copies, and the members' own raster effects stay as a
copying Transform effect leaves them.

Each copy is a group holding the members. A clip group's copies each clip,
a layer's art stays a layer, and its ruler guides stay once above the
copies. Compound shapes, Shaper groups and groups with Pathfinder, 3D, Crop
Marks, Vector Halftone, a painting plug-in, a perspective or fills and
strokes with geometry effects keep the earlier behavior.

The canvas, the object's bounds, baking for export (type in such a group is
no longer kept as type under one shadow), export with raster effects as
images and Expand Appearance draw the same copies. Expand Appearance gives
the copies ids of their own, expanding a copy with a random Transform effect
before its ids change so it keeps the canvas's random values.
2026-11-15 16:54:49 -08:00
dotCooCoo 578b26cc7c Tool overlays: draw every dash of a dashed piece as line segments
dashes_from drew the cut first dash and a line shorter than the rest of a
dash as one path. The tessellator snaps horizontal and vertical line
segments to pixels but not paths, so those dashes could look softer than
the rest. Each line of them is now its own line segment, as
Shape::dashed_line draws a dash, and a line of no length is skipped.
2026-11-15 16:50:35 -08:00
dotCooCoo 3d5a8afdbb Merge main into feat/font-menu-show-similar 2026-11-15 16:48:53 -08:00
dotCooCoo 81556496f5 Glyphs: the end-of-frame pick test measures its frame with the test font's own characters
The test set its first frame to 20 by 16 pt and relied on a fallback face
for the ideographs. With craft-fonts loaded, the CJK fallback face makes
the line with the ideograph taller than the frame, so the frame held only
the "a". The test now uses the characters a, x and space, which the test
font maps, and sets the frame width from their advances.
2026-11-15 16:46:22 -08:00
dotCooCoo 4ad75291cb Path Precision Tools: Tangent Circle draws the circles that touch two or three shapes
Object › Plug-ins › Path Precision Tools › Tangent Circle…
(`addon.pathtools.tangentCircle`) draws the circles that touch two
selected paths or compound paths at a set radius, or that touch three of
them. A circle touches a shape when it meets the outline without
crossing it, with the whole outline outside the circle or inside it: at
a smooth point it is tangent there, and at a corner or an open end it
passes through that point. Circles, ellipses at any angle and other
closed or open paths all work; the members of a compound path count as
one outline.

When every shape is a circle, the circles are found in closed form (up
to eight for three circles, the problem of Apollonius) and then moved
onto the drawn Bézier circles, which differ from true circles by up to
0.0273% of the radius. Other shapes are searched on a grid, and the
centers left are refined with Newton's method on the curves. With three
shapes, circles up to 64 times the diagonal of the box around the
shapes' anchors and handles are found.

The circles are listed by radius, then top to bottom, then left to
right. The dialog takes the radius (with two shapes; 36 pt to start)
and previews every circle found or one picked by number; OK draws them
with the current paint as one undo step, selected. No circle, more than
64 circles (shapes touched along a whole curve, such as two concentric
circles), shapes at one point or too small for the radius, more than
2000 segments and a search past its limits are errors that leave the
document unchanged.

The Tangent Circle and Circle: rows are in every catalog, and the
command's messages in the catalogs that translate messages.

Docs: docs/mcp.md (Path Precision Tools add-on),
docs/target-app-parity.md, docs/ui-parity.md and ROADMAP.
2026-11-15 16:37:17 -08:00
dotCooCoo 5b6d8cff60 Merge main into fix/variable-library-warning-kind-names-i18n 2026-11-15 16:37:09 -08:00
dotCooCoo 669d98fab1 Tests: Show Similar Fonts' limit check tolerates fonts that other tests add
Other tests add and remove composite fonts in the shared font database,
which can change the list between the two text.similarFonts calls. The
limited answer is compared whole with the first families of the full one
when FontDb::generation is the same before and after both calls, and by
the installed families when the fonts changed during each of 20 tries.
2026-11-15 16:36:58 -08:00
dotCooCoo 61062d7d98 Effects: copies of a later copying Transform effect carry the raster effects before it
A Transform effect that makes copies and is listed after a fill's or
stroke's first Transform effect with Transform Patterns or Scale Strokes
& Effects on made its copies without following the raster effects listed
before it, so a Drop Shadow kept its offset on every copy. Each copy now
takes the raster effects before it turned, reflected and scaled with that
copy's map, as the first Transform effect's copies do. Without either
option of its own, it does so only when no raster effect is listed after
it.
2026-11-15 16:36:48 -08:00
dotCooCoo fd7bdee746 Merge main into feat/brush-options-of-selected-object 2026-11-15 16:35:36 -08:00
dotCooCoo ca822f41f7 Check Spelling: Ignore and Change All reach every word past the check limit
text.spelling.check listed at most 10,000 words and always started each
type object at its first byte, so the dialog could not go on inside an
object. With 10,001 unknown words in one object, Ignore ended the check
after the first 10,000. Change All stopped when a round changed nothing,
so a target after 10,000 other unknown words was never reached. Follow-up
to #7744; part of #4936.

- text.spelling.check takes from {id, byte}, which goes on from that
  byte of that type object and then the objects after it, and max
  (1 to 10,000). The paragraphs before the one that holds from are not
  checked again.
- The dialog keeps the words a check lists after the one shown, and
  Ignore and Ignore All take the next word from them. A new check goes
  on from the last word listed once they run out. Every word is reached,
  in a selected group's type too.
- text.spelling.change {to, words} replaces every listed word in one
  undo step and lays each object out once. Change All finds every
  occurrence with one check after another, then changes them with it.
- Change and Change All to the word shown make no edit and no undo step.
- When another command changes the document or the custom dictionary
  while the dialog is open, the next step checks the scope again from
  its start. An ignored occurrence stays skipped while the same word is
  at the same bytes.
2026-11-15 16:34:23 -08:00
dotCooCoo 6c3a092996 Line Segment: a line from one curve to another snaps to their common tangent
With Smart Guides and Snap to Tangent on, a Line Segment drag pressed
anywhere on a convex closed path with curves and dragged to within the
snapping tolerance of another such path lands on a common tangent of the
two. Both ends move to where the line touches the paths, the start sliding
along the first path. The line is the tangent whose touch point on the
second path is nearest the pointer, so moving the pointer around that path
switches between the outer tangent and the one crossing between the paths.
Each end shows the "tangent" label when Anchor/Path Labels is on, and the
line is drawn as a guide when Alignment Guides is on.

Before this change the start of a Line Segment drag always stayed where it
was pressed. It still does when Shift, Alt or Space is held, when an
anchor, center or crossing lies nearer the pointer than the second path,
when the press snapped to an anchor, center or crossing off the first path,
when Snap to Tangent is off, when Snap to Grid or pixel snapping places
drawn points, or when either path bends inward somewhere or has more than
512 segments.

The tangents come from the Common Tangents geometry. Each pointer move
looks at the 16 nearest closed subpaths within the snapping tolerance and
keeps the tangents of up to 64 pairs for the rest of the drag.
2026-11-15 16:19:42 -08:00
dotCooCoo 1f059f6e01 Command Palette: a shorter window scrolls the list to keep the highlight in view
When the window shrinks so the list shows fewer rows, the list scrolls to
the highlighted result instead of leaving it below the visible rows, so
Enter runs a result that can be seen.
2026-11-15 16:17:50 -08:00
dotCooCoo 57f2859ae6 Command Palette: Tab reaches Recent Commands, and Enter runs the row the arrows moved to
The search field no longer takes the keyboard back while Tab has moved it
to the Recent Commands button, so Enter or Space on the button opens the
list instead of running the highlighted result. While the list is open,
Enter and Space run the row the arrow keys of the same frame moved to,
not the row that had the keyboard in the frame before.
2026-11-15 16:17:21 -08:00
dotCooCoo e83f78f681 Crop Image: the Control bar leaves room for the cropping options
While the Crop Image tool is in use, the image's Control bar shows its
file name, color mode and resolution only, so the tool's PPI, reference
point, X, Y, W and H follow them in a wide window instead of being left
out behind Unembed, Image Trace, Mask, Crop Image and Remove Background.

ui.cropImage's params text now lists the ppi, reference and linked
options and says Apply sends ppi with the rect.
2026-11-15 16:16:15 -08:00
dotCooCoo dea17e5446 PSD export: a slice is clipped to the region before it is rounded to pixels
A region whose edge falls inside a pixel no longer drops a slice that overlaps it, and no longer writes a slice that lies past it. The overlap is found in document coordinates, and only that part is converted to pixels.
2026-11-15 16:14:51 -08:00
dotCooCoo 88d94ef78f Path Precision Tools: Common Tangents refuses a path with a short inward bend
The convexity check looked at 32 points along each segment, so a cubic
that bends the other way for a short stretch between two of those points
was taken as convex. Each segment is now also checked whole: the cross
product of its first and second derivatives, a quadratic in t, must not
turn against the way the outline turns anywhere on the segment.
2026-11-15 16:14:50 -08:00
FredApps 58174c6642 refactor(doc): read CMYK JPEG inks and headers through craft-image-codecs
The CMYK reader's JPEG side (inks, component count, size, ICC profile)
uses craft_image_codecs::jpeg_inks instead of zune-jpeg, which stays only
as the dev-dependency the comparison test reads with: inks, sizes,
component counts and profiles match it over CMYK, YCCK, RGB and gray
JPEGs, whole and cut off. Frames zune-jpeg panicked on read as no inks.
Needs craft-libs#1779.
2026-11-16 01:13:46 +01:00
dotCooCoo 21dc195159 Merge main into fix/recolor-empty-new-rows-left-out 2026-11-15 16:09:51 -08:00
dotCooCoo be26bddb7e Type: Show Sample cites the help page that describes it
The links to the archived help PDFs now open the page with the Show Sample step
(#page=352 in the CS4 help, #page=348 in the CS6 reference) instead of an earlier
page. The comments and docs/mcp.md also say which part's face gives the em box and
ICF box: the part that sets the sample's first Kanji, which is a custom set when one
holds that character.
2026-11-15 16:08:33 -08:00
dotCooCoo aa4d07973a Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 16:08:02 -08:00
dotCooCoo 9eb6a0fc48 Merge main into feat/eraser-shift-line 2026-11-15 16:07:54 -08:00
dotCooCoo 418ae818e5 Merge main into fix/erase-region-params-refused 2026-11-15 16:06:28 -08:00
dotCooCoo 3c73995861 Merge main into feat/script-file-folder-write 2026-11-15 16:06:24 -08:00
dotCooCoo 6f8b64cecc Merge main into fix/singular-messages-translated 2026-11-15 16:06:18 -08:00
dotCooCoo 46e5ab21e0 Merge main into fix/pen-input-params-pressure-tilt-rotation 2026-11-15 16:06:17 -08:00
dotCooCoo 16c8dbac06 Merge main into fix/js-interp-errors-translated 2026-11-15 16:06:15 -08:00
dotCooCoo bcab943669 Merge main into fix/i18n-adjacent-placeholders 2026-11-15 16:06:09 -08:00
dotCooCoo 034f9ce9bc Merge main into feat/recolor-add-remove-color-tools 2026-11-15 16:06:06 -08:00
dotCooCoo 31fdb815d2 Merge main into fix/ai-save-clip-object-wrap 2026-11-15 16:06:03 -08:00
dotCooCoo 6313eeea41 Merge main into fix/i18n-justification-order-message 2026-11-15 16:05:56 -08:00
dotCooCoo 41647e3754 PSD: mark the type data's Cookie key as a file format name
The Cookie dictionary in a type layer's text engine data uses a key that
the format defines and that names a vendor product. The line now carries
a brand-ok comment, so cargo xtask brands passes.
2026-11-15 16:02:09 -08:00
dotCooCoo 592dcec59c MCP: regenerate the UI command catalog for Options of Selected Object
The catalog's params text for ui.brushObjectOptions now matches the
desktop table, which says that changing one end of a range or one
colorization field leaves each path's other values as they are.
2026-11-15 15:59:51 -08:00
dotCooCoo f389d644fc Tests: the plain-label paste test changes a graph option before its undo
Graph Type options that leave a graph as it is no longer record a step of
history, so the test's third undo had nothing to take back. The test now
turns on Add Drop Shadow, which redraws the graph and records a step.
2026-11-15 15:57:06 -08:00
BFlat cad4bb0c6e Merge pull request #7834 from dotCooCoo/fix/the-liquify-warning-s-tool-name-and-object-kinds
i18n: Liquify's skip warning shows its tool and object kinds in the interface language
2026-11-16 06:56:45 +07:00
BFlat 4a33a0132e Merge pull request #7930 from dotCooCoo/feat/shortcut-list-csv
Keyboard Shortcuts: Export Text… also saves the list as a CSV file
2026-11-16 06:56:36 +07:00
BFlat 43e4e66c33 Merge pull request #7978 from dotCooCoo/fix/new-document-units-choice
Fix #7944: New Document opens in the General units and keeps units chosen in its menu
2026-11-16 06:56:24 +07:00
BFlat 3e615f7c67 Merge pull request #7972 from dotCooCoo/feat/glyphs-show-opentype-categories
Glyphs: the Show menu lists the font's OpenType glyph categories
2026-11-16 06:56:16 +07:00
BFlat 89ebbd754a Merge pull request #7898 from dotCooCoo/fix/live-paint-strokeedge-through-edges
Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
2026-11-16 06:56:07 +07:00
BFlat 75dc7dcd20 Merge pull request #7964 from dotCooCoo/feat/ellipse-anchor-count
Ellipse: the click dialog sets how many anchors the ellipse has
2026-11-16 06:55:58 +07:00
BFlat 87b936d80a Merge pull request #7970 from dotCooCoo/feat/ai-save-wrapped-area-type-live
.ai save: area type wrapped by plain paths, compound paths or groups stays type
2026-11-16 06:55:50 +07:00
BFlat 47dd56afbb Merge pull request #7962 from dotCooCoo/feat/symbol-align-to-pixel-grid
Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
2026-11-16 06:55:41 +07:00
BFlat bf7fefd89e Merge pull request #7954 from dotCooCoo/feat/file-info-templates
File Info: the menu saves, imports and lists metadata templates
2026-11-16 06:55:33 +07:00
BFlat 9bc50f911d Merge pull request #7956 from dotCooCoo/fix/outline-fill-opacity
Pathfinder: Outline edges keep their fill's opacity and blend mode
2026-11-16 06:55:25 +07:00
BFlat 6a3c9cfc8b Merge pull request #7957 from dotCooCoo/feat/eraser-alt-drag-marquee
Eraser: an Alt-drag erases everything inside a marquee, a square with Shift
2026-11-16 06:55:17 +07:00
BFlat 385ad36761 Merge pull request #7883 from dotCooCoo/feat/3d-bevel-reset
3D and Materials: the Bevel section's Reset restores only the bevel settings
2026-11-16 06:55:08 +07:00
BFlat b7a1428325 Merge pull request #7935 from dotCooCoo/fix/psd-relink-clip
Links: relinking a clipped PSD follows the new file's clipping path
2026-11-16 06:54:59 +07:00