Commit Graph
788 Commits
Author SHA1 Message Date
ruchirguitar c766f2f450 History panel: add snapshot-safe row context menus and keyboard access 2026-11-26 04:54:14 +05:30
ruchirguitar 56701fa020 G13: add View Snapping submenu 2026-11-25 23:28:16 +05:30
Codex 4e0a1028ad Clarify Quick Actions eligibility in parity docs 2026-11-25 23:18:15 +05:30
dotCooCoo c71fc0a25b Merge main into feat/recolor-preset-library 2026-11-25 09:11:53 -08:00
dotCooCoo 771383bed8 Merge feat/scripts-api-d1a-app-documents into feat/scripts-api-d4b-text-styles 2026-11-25 04:53:10 -08:00
HassanKhan dff90d6f7d Merge remote-tracking branch 'upstream/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-25 16:00:38 +05:00
dotCooCoo 1f1c8ccf8c Merge main into feat/scripts-api-d1a-app-documents 2026-11-24 20:48:43 -08:00
Codex 30d701a5b3 Adapt Properties Quick Actions to the refactored panel 2026-11-24 21:53:38 +05:30
jmvergesandClaude Opus 5.5 6467e3d1d5 Merge main (19ebdcab54) into the font width import branch
Main moved the pdf crate to the craft framework (craft::pdf) and added the
marks and output exports next to this branch's page_widths ones: keep all
three, keep cid::replacement crate-visible for page_widths, and read
craft::pdf in page_widths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:56:42 +00:00
yoriswind f7a8565ca4 Merge current main for the gradient stop color-mode menu 2026-11-23 09:34:00 -08:00
5af36bae87 Fix #4568: PDF import keeps embedded fonts for text whose family isn't installed (#4569)
* PDF import: keep embedded fonts for text whose family isn't installed

Glyphs drawn in an embedded font whose family isn't available are gathered
during import and built into one small TrueType font per family and style,
kept with the document (font/ttf blob). Text objects record the fonts and a
hash of their text: layout and rendering draw them in the kept font until the
text is edited (undo restores it) or the family is installed. Lines are
spaced against the file's own widths with per-glyph placement (#3756).

* PDF import: satisfy crate layering constraints without format dev-dep

* FileFont: negate us_win_descent in i32 to prevent overflow on extreme negative descenders

* PDF import: a kept font carries the file font's licence flags, and the docs say what that means

Review of #4569: the fsType of the file's font is copied to the font built from its glyphs (a test pins it against Embedding), so exports honour it; the docs state the limits, that the file's font program is not parsed, and that a saved file carries third-party glyphs.

* PDF import: a glyph curve far outside any glyph is left out; docs say what the limits and the font program mean

CodeRabbit on #4569: coordinates beyond 1e6 font units are refused before the curve is subdivided. The docs say the 64-font limit is what draws one type object and that the file's font program is read only for its licence flags and metrics.

* PDF import: two programs of one font keep the stricter licence flags; the docs cite their sources

CodeRabbit on #4569: embedded programs of one family and style share one built font, which kept the first program's fsType; it now takes the stricter of the two, whichever came first. The docs entry cites the Acrobat Help pages and the OpenType fsType specification.

* fmt

* PDF import: embedded fonts are on by default, with an opt-out preference

Owner decision on #4568. Preferences > File Handling > Use fonts embedded in imported PDFs (pdfImportEmbeddedFonts, on by default) and the embeddedFonts param of document.open and file.place: off, a PDF's type in a font the machine lacks is set in the fallback font with the missing-font warning, as before. One test each for on and off, one for the preference reaching the options.

* fmt after merging main

* docs: restore the status lines damaged by merges (main's line plus this PR's note)

* PDF import: set embedded_fonts through a builder method (keeps read_opened under the complexity limit)

* PDF import: move the missing-font notes out of read_opened (complexity limit after the merge)

* #4569: isolate file-font resources and reclaim live faces (UNVERIFIED)

* Preserve carried-font ownership across placement and recovery

* Fix carried-font regression test dependencies and unwind probe

* Use explicit OS2 heights in owned-font reference regression

* Keep native font regression artwork inside document layers

* fix(engine): bind file fonts when reading document profiles

* test(engine): initialize file-font leases in new image fixtures

* test: complete file-font lease initialization in image fixtures

* docs: keep the #4568 entry in the file-format parity status line

* fix(pdf): keep a line with another glyph for the same character as outlines (review)

A font kept with the document has one glyph per character. A glyph of the file's font that
differs from the one already kept for its character (a stylistic alternate that maps to the same
Unicode scalar) marks its line, which is imported as outlines so each glyph draws as the file
does.

* docs: resolve the leftover status-line conflict

* Placed document blob: give the new ImageBlob literal its file_font

* Test: a PDF's two glyphs for one character survive a native save and reopen as the file draws them

* Test: move the native save and reopen half of the two-glyphs regression to the engine (layers: no format dev-dep in pdf)

* Fix embedded-font preference help and English fallback checks

* Format embedded-font preference help with the workspace edition

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: skylartaylor <hi@skylar.cc>
2026-11-22 18:18:18 -06:00
dotCooCoo da5344af2c Recolor with Preset: test that grays of different lightness get different tints
The 1 Color Job test now requires a strictly higher tint on the darker of
two grays for a linked ink, and different colors for a process swatch, so
a flat tint fails it. docs/ui-parity.md gets a Recolor with Preset item
and the M3 row in docs/roadmap.md names the preset flow.
2026-11-22 11:14:02 -08:00
dotCooCoo a5690d2d35 Scripts: stories of one thread share their text index, and a deleted story's missing members say Stale story
Stories read from different frames of one thread share one index of the
story's text while the document is unchanged, instead of each keeping its
own copy. A frame listed in two threads shares only with a story whose
frames match. Story.lines, insertionPoints, textRanges and textSelection
check the story first, so a story whose frame was deleted throws Stale
story.

The cross-document baseFrame test passes a rectangle of the other document
and checks the error and that the rectangle stays a path. docs/mcp.md no
longer says baseFrame and postFix throw, the text-frame entry in
docs/target-app-parity.md no longer lists stories and threading as missing,
and the M13 row in docs/roadmap.md lists text frames and stories.
2026-11-21 22:08:05 -08:00
dotCooCoo c7671c615b Scripts: style objects see a style a batch removes and adds again
- A style object goes stale when the steps of one `command.batch` remove
  its style and add another under the same name, as it does when separate
  `vc.run` calls do. The session notes each batch step's style lists while
  a script runs, and the style objects check each of them.
- `add(name)` with all 4,096 style slots of the run taken throws before it
  adds the style; with one slot left it adds it.
- `typename` of a removed style's `characterAttributes` or
  `paragraphAttributes` throws `Stale style`, as its other members do.
- The style load commands refuse `data` over 64 MB without copying it.
- docs/mcp.md states the 64 MB limit for `data` and decoded `dataBase64`;
  docs/gaps.md G6 and the docs/roadmap.md M13 row list the script text
  and style members.
2026-11-21 21:02:47 -08:00
Drew Dibble b2cb612d8a Merge upstream main into the #7023 ring fix again 2026-11-21 21:34:16 -05:00
dotCooCoo 6cce980e2b Scripts: keep targets and chosen parts when edits restore the selection
- An edit a script makes puts back a Layers panel target, an object
  chosen inside a dynamic symbol instance and an object chosen in an
  Objects on Path group, each with its own selection command.
- Assigning a document's selection selects a symbol instance or an
  Objects on Path group as a whole when one of its objects was chosen.
- file.newPresets lists a grid by column's rows as set, also when there
  are fewer artboards than rows, and New Document's Columns shows the
  columns those rows give the current number of artboards.
- docs/roadmap.md's M13 row names the script object model that is
  available.
2026-11-21 09:46:14 -08:00
RuchirandCursor 9cc4135ee7 Record Quick Actions on the G12 milestone and Properties checklist.
The revision history already listed the selection rules; the milestone row and the per-context checklist did not.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 15:36:43 +05:30
RuchirandCursor edfaed0837 Offer Ungroup, Isolate Group and Unite from the whole selection.
Quick Actions read only the first selected object, so a group later in the selection had no Ungroup, several groups still offered Isolate Group, and several paths had no Unite.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 15:08:28 +05:30
jmvergesandClaude Opus 5.5 fa18e9607a Merge main (71ba804d38) into fix/6983-followup-page-widths-pick-font-copy
Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 17:45:30 +00:00
HassanKhan 933f365034 Merge remote-tracking branch 'origin/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 22:34:16 +05:00
jmvergesandClaude Opus 5.5 c8fb03bf37 Merge main (774abbc7d9) into fix/6983-followup-page-widths-pick-font-copy
Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 17:23:42 +00:00
HassanKhan 971997f18c docs: state the 100,000-object cap in the roadmap's Smart Guides line (#8531) 2026-11-20 22:23:30 +05:00
bflatastic baa6e46658 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 00:18:52 +07:00
HassanKhan a85462ff77 Merge remote-tracking branch 'origin/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 22:13:35 +05:00
bflatastic cc0f98ed6a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 23:46:03 +07:00
ruchirguitar ae21438d48 G12: add Asset Export tile context menus 2026-11-20 22:15:57 +05:30
ruchirguitar edf4e97959 Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine) (#8745)
* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)

* fix(text-styles): require text target for clear overrides and update parity docs
2026-11-20 23:43:35 +07:00
ruchirguitar bffbb1493d Appearance panel: address CodeRabbit review feedback
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
2026-11-20 21:53:59 +05:30
jmverges b8cc1f2788 Merge main (f363f0a3e) into fix/6983-followup-page-widths-pick-font-copy 2026-11-20 15:32:52 +00:00
yoriswind 0a10e3eefb Merge current main and preserve sampler navigation documentation 2026-11-20 03:13:13 -08:00
yoriswind 63278b5bac M3: Copy information-panel readouts on click (#8432) 2026-11-19 23:32:41 -08:00
HassanKhan d43d3c0e3a Smart Guides: objects past the anchor budget keep their edges and centre (#8531)
Targets::collect_inner stopped visiting objects once its 20,000-anchor
budget was spent, so in a document with more anchors the objects
visited last (the topmost, newest ones) gave no edges or centre either,
and a ruler guide, a move, a scale or a drawn point did not snap to
them. The anchor budget now caps only the anchors and the segment
budget only the segments; every visible object gives its bounds, up to
a separate cap of 100,000 objects.
2026-11-20 12:17:09 +05:00
Drew Dibble 28d7b2cafe Merge upstream main into the #7023 ring fix again 2026-11-20 00:11:13 -07:00
yoriswind 5027d01fbc Color conversion: index global swatch bases (#8804) 2026-11-19 19:19:14 -08:00
yoriswind 80ba582c1b Resolve status bar snapping progress conflicts with current main
Keep the newer main entry, the complete snapping entry and both revision histories. The implementation and all 121 chrome test registrations remain unchanged.
2026-11-20 00:27:53 +00:00
yoriswind f5c112a9d2 Resolve status bar snapping progress conflicts with current main
Keep the newer main entry, the complete snapping entry and both revision histories. The implementation and all 121 chrome test registrations remain unchanged.
2026-11-19 23:34:24 +00:00
HassanKhan c5a6971dfb Merge storytold/main (d38e414b77) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 03:56:17 +05:00
BFlat 4df756cc9a Merge pull request #8719 from Hassan1305/feat-8363-trim-view-guides
View: Trim View hides the guides and the grid while it is on (#8363)
2026-11-20 05:38:32 +07:00
yoriswind ed57d9299f Merge current main and retain status bar snapping progress histories
Resolve the four documentation conflicts while retaining both complete histories, scores and estimates. Keep the feature and regression source through the independent main changes.
2026-11-19 22:35:48 +00:00
HassanKhan ff7d571f9d Docs: resolve the conflict markers left in by the main merge (#8711) 2026-11-20 02:45:13 +05:00
HassanKhan 7f1648a03b Merge storytold/main (759cb5f3b4) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:24 +05:00
HassanKhan 60bcf0b274 Merge storytold/main (759cb5f3b4) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:08 +05:00
BFlat 67c9c0ef35 Merge pull request #8761 from dotCooCoo/feat/retype-area-text
Retype: stacked lines become one area type object
2026-11-20 04:42:23 +07:00
BFlat 759cb5f3b4 Merge pull request #8760 from dotCooCoo/feat/retype-tracking
Retype: evenly spaced glyphs keep their spacing as tracking
2026-11-20 04:31:14 +07:00
BFlat 36ee745791 Merge pull request #8774 from yoriswind/codex/8655-scissors-cut-preview
Scissors: preview the actual cut point
2026-11-20 04:25:33 +07:00
yoriswind b421daf6c5 UI: add status-bar snapping quick access
Show compact Smart Guides, Point and Grid controls with the existing snapping menu. Preserve message room and collapse the convenience controls when narrow.

Closes #8687.
2026-11-19 20:32:57 +00:00
HassanKhan 4fcca3f1d4 Merge storytold/main (e9a62670a7) into fix-8711-layers-target-ring
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 01:18:39 +05:00
HassanKhan 867a19a271 Merge storytold/main (e9a62670a7) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
2026-11-20 01:18:16 +05:00
HassanKhan a7d8941c10 Merge storytold/main (6e0e953f92) into feat-8363-trim-view-guides
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 01:11:41 +05:00
yoriswind 36bde202eb Scissors: preview the actual cut point
Show the native point marker at the existing cut target, respecting consumer endpoint eligibility/canonicalization and current snapping/selection. Keep cut commands unchanged.

Closes #8655.
2026-11-19 20:00:59 +00:00