Commit Graph
15434 Commits
Author SHA1 Message Date
dotCooCoo a0f9fb7426 Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 17:25:48 -08:00
dotCooCoo 0813f69d0d Merge main into feat/3d-soft-shadows 2026-11-15 17:24:39 -08:00
dotCooCoo af67af91f6 Type: Show Similar Fonts reads the loaded faces once for the whole list
similar_families looked up each listed family's traits on its own, and
each look scanned every loaded face, so ordering the font menu took time
in the square of the families loaded. It now gathers the loaded faces'
traits in one pass and reads the scan's catalog once, and family_traits
uses the same helpers, so both give the same traits.
2026-11-15 17:24:30 -08:00
dotCooCoo 6e2cad713a Check Spelling: a deleted selected object leaves the dialog's scope
When another command deleted one of the objects the dialog was opened on,
the next check named that object in its ids and was refused, so the rest of
the selection was never reached. The check now leaves deleted objects out;
with every one deleted it checks nothing rather than the whole document.
2026-11-15 17:23:44 -08:00
dotCooCoo 893ed2c7e3 Merge main into fix/confined-exports-script-paths 2026-11-15 17:20:46 -08:00
dotCooCoo 2a973becbc Symbols: Align to Pixel Grid leaves symbol editing layers to their symbol
- An instance of a pixel-aligned symbol on another symbol's editing layer is part of
  that symbol's art, so it is no longer snapped and written into that art.
- Turning Align to Pixel Grid on for the symbol being edited now writes its art back
  and shows it snapped on the editing layer at once, instead of after the next edit.
2026-11-15 17:17:28 -08:00
dotCooCoo fa42ea6dc8 Symbols: snap a pixel-aligned symbol's instances again only when its editing mode ends
While a pixel-aligned symbol was open in symbol editing mode, every edit snapped its
art and walked the whole document for its instances, even when the art did not change.
That pass now runs when editing mode for the symbol ends; edits that change the art
still snap it and its instances.
2026-11-15 17:17:28 -08:00
dotCooCoo 3d0900bd77 Symbols: a symbol instance snapped to the pixel grid takes its linked mask along
Snapping an instance of a pixel-aligned symbol to whole points set its transform
directly, so the art of a linked opacity mask stayed at the old fractional position
and shifted against the artwork. The instance now moves as any move moves it, and
the art of an unlinked mask stays where it is.
2026-11-15 17:17:28 -08:00
dotCooCoo a5a2827924 i18n: translate the reworded symbol.options error in every catalog
The error that asks for at least one Symbol Options field now also names alignToPixelGrid.
Each catalog's row for the old wording is replaced with a row for the new one, so the
message is translated again.
2026-11-15 17:17:28 -08:00
BFlat 0c885d0697 Merge pull request #7986 from dotCooCoo/fix/i18n-danish-messages
i18n: Danish translates 1,985 of the status and error messages the untranslated report lists
2026-11-16 08:13:40 +07:00
BFlat abb4af9b87 Merge pull request #7965 from dotCooCoo/fix/export-3d-object-skips-flat-art
3D and Materials: Export 3D Object leaves objects without a 3D effect out in the command
2026-11-16 08:13:27 +07:00
BFlat 2f255f5f99 Merge pull request #7871 from dotCooCoo/feat/3d-classic-black-overprint
3D (Classic): the Black Overprint shading color shades with overprinting black over the fill
2026-11-16 08:13:18 +07:00
BFlat 98a1d0839d Merge pull request #7997 from dotCooCoo/fix/revolve-colored-light-faces-sealed
3D: Revolve's colored-light faces lie over an underlay, so no alpha holes show at 1:1
2026-11-16 08:13:02 +07:00
BFlat 5cb5a1895c Merge pull request #7869 from dotCooCoo/feat/kurikaeshi-moji-shori
Paragraph: Kurikaeshi Moji Shori draws a repeat mark that starts a line as the character it repeats
2026-11-16 08:12:54 +07:00
BFlat 1ac6d68a7e Merge pull request #7968 from dotCooCoo/fix/graph-stacked-column-legend-stroke
Graphs: legend swatches have their series' stroke, so stacked column and area graphs save to .ai as graphs
2026-11-16 08:11:37 +07:00
BFlat 9db3bc5ba4 Merge pull request #7952 from dotCooCoo/fix/emf-svg-symbol-art-live-effects
Export: live effects in symbol art apply in EMF, WMF and SVG
2026-11-16 08:11:28 +07:00
BFlat e37f033eca Merge pull request #7989 from dotCooCoo/feat/prefs-setting-descriptions
Preferences: a line under the fields describes the setting under the pointer
2026-11-16 08:11:20 +07:00
BFlat d9808a393b Merge pull request #7979 from dotCooCoo/fix/flatten-kept-roots-walked-once
Flatten: look at each node of art without transparency once
2026-11-16 08:11:11 +07:00
BFlat f15f711280 Merge pull request #7870 from dotCooCoo/fix/pdf-preserve-numbers-tagged-images
PDF export: Preserve Numbers converts tagged images from their profile
2026-11-16 08:11:02 +07:00
BFlat d150b244d4 Merge pull request #7984 from dotCooCoo/fix/import-fuzz-sliced-psd-samples
Tests: fuzz PSD slices in versions 6, 7 and 8
2026-11-16 08:10:53 +07:00
BFlat 796e37bdb1 Merge pull request #7987 from dotCooCoo/fix/clipboard-flavours-confined-svg
Clipboard: clipboard.flavours leaves out an SVG withheld from a confined caller
2026-11-16 08:10:45 +07:00
dotCooCoo 56d0feddf9 Tool overlays: pieces of a long drag's line meet halfway along a segment
Each piece of a long drag's line also held the first segment of the next
piece, so that segment was drawn twice, once by each piece. Where the
line is thin or partly covered at its edges, the doubled coverage drew a
darker stretch every 64 segments. A piece now ends halfway along the
segment after its last point, and the next piece starts there, so a wide
line still turns at the piece's last point as one line does.
2026-11-15 17:10:18 -08:00
dotCooCoo 65feca6ba8 Plug-ins: text.similarFonts is not callable from a plug-in
text.similarFonts lists every family text.fontList lists, the fonts
installed on the system included, so it joins the commands a plug-in may
not call, as text.fontList is. every_command_is_reviewed failed because
the command was in neither reviewed list.
2026-11-15 17:07:34 -08:00
dotCooCoo c49d45c826 Path Precision Tools: Common Tangents measures each line near where it touches
Each tangent measured every segment of both paths to find where it
touches them, so two paths of thousands of segments with thousands of
tangents took segments × tangents work. Each line now starts from the
segment found for the nearest sampled direction and walks outward only
as far as the stretch that lies along it. On two 2,000-sided polygons
with 4,000 tangents, the segment measurements drop from about 33.5
million to 1.6 million.

A turned or scaled ellipse is measured exactly however thin it is. A
map is refused only when its determinant is within the rounding of its
entries; before, an ellipse more than about 1e12 times longer than wide
was refused as having no area.
2026-11-15 17:01:23 -08:00
FredApps d2b8ebfd95 Merge origin/main into feat/cutover-remaining-codecs 2026-11-16 01:57:11 +01:00
dotCooCoo 41651e1f72 Crop Image: refuse a resample too large for the raster allowance
object.cropImage with ppi now checks that the source, its 16-bit
weighted copy, the resampler's intermediate rows and the results fit in
the raster allowance (2 GB, 512 MB in the web app) before it resamples,
and refuses with "an image of {w} × {h} pixels is too large to resample"
otherwise. A crop that is drawn first frees the drawing's PNG before its
pixels are resampled.
2026-11-15 16:57:10 -08:00
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 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 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 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 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 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 034f9ce9bc Merge main into feat/recolor-add-remove-color-tools 2026-11-15 16:06:06 -08:00