DWG was read only: Export As listed it grayed out, document.export
answered with a hint to export DXF, and a script's
AutoCADExportFileFormat.DWG, the default, threw an error.
- document.export {format: dwg}, a .dwg path, and document.exportDxf
with format: dwg write the drawing the DXF export writes, with the
same options, converted by craft-dwg in the --dwg-worker copy of the
app. Versions are 2000, 2004, 2007, 2010, 2013 and 2018; R12, R13
and R14 are refused with an error that names them. Records the DWG
writer can't write in that version are left out with a warning that
counts them by type.
- Export As lists DWG and opens DWG Options: DXF Options with the DWG
versions. A version remembered from DXF Options that DWG isn't
written as starts on 2018.
- Scripts: AutoCADExportFileFormat.DWG writes a .dwg file;
AutoCADRelease13 and 14 with DWG throw an error.
Docs: docs/mcp.md, docs/control-protocol.md, docs/file-format-parity.md,
docs/target-app-parity.md, docs/roadmap.md.
Co-authored-by: Alex-BB44 <[email protected]>
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
Conflicts:
- crates/engine/src/tests.rs: keep both the missing_links and moved test modules.
- crates/ui-egui/src/panels/links.rs: take main's labelled menu entries and give
the Show Missing Links row its translated title.
- docs/roadmap.md, docs/target-app-parity.md: take main's rows and re-apply this
PR's #5547 notes.
- docs/ui-parity.md: take main's Headless column layout, re-add this PR's history
and behaviour rows (Headless: unknown), and count the new row in the summary.
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.
A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.
Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
The web build had no Gujarati face, so it never offered Gujarati: the
language gate looked only at embedded craft-fonts faces, and web builds
embed only BIZ UDPGothic.
- crates/text/web-fonts.txt lists Noto Sans Gujarati Regular as a
`demand` face, like Noto Sans Devanagari for Hindi: served beside the
wasm under fonts/ui/ and fetched by the interface font stack when its
text needs Gujarati, never at startup or in the background queue.
- The Gujarati gate counts an embedded Gujarati face, or on the web a
served one (SERVED_FONTS); desktop behaviour is unchanged.
- Tests: web_fonts_follow_the_list expects the new demand face;
web_offers_gujarati_with_the_served_gujarati_face checks that a web
build with only the served face offers `gu`;
web_gujarati_face_covers_the_gujarati_catalog checks that the served
face alone draws every Gujarati character of the catalog.
Docs: gaps.md (G16), localization-parity.md, roadmap.md,
target-app-parity.md.
PathItem.closed on an empty path checked only that the path was
editable, so an empty path in a group on a locked artboard accepted
closed = true. The setter now uses the same check as other path edits;
an assignment of the value the path has still does nothing.
Also splits the M14 roadmap row that a merge joined with the next row.
* Tools: add search beside Edit Toolbar
Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.
Closes#8758.
* Format the toolbar Search interaction regressions
* Format the native Search tooltip expectation
* Use the current stroke paint API in Properties
* Scope app-bar test lookups to the title bar
---------
Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
- hasSelectedArtwork = true on a layer with nothing to add runs no
command even when the selection already holds more than 10,000
objects; a layer whose art would take the selection past the limit
still throws a RangeError.
- artboards.insert() returns undefined.
- Reflection gives Artboards.index an Artboard result and any key, and
PageItems.parent any type, since layers, groups and compound paths
have their own collections.
- The node.move test now requires the move of a clipping path to its
own place to succeed, and the opacity test changes the item whose
opacity it set.
- docs/mcp.md and the M13 roadmap line describe the changes and list
Document.pathItems as available.
blend_render_consistency, direct_handle_mirror, ellipse_drag_anchors,
eraser_open_fill, group3_reference, path_fill_hits, pen_space_handle,
preflight and scissors_snap were each a test binary of their own. They
now are modules of crates/engine/tests/it, with their tests unchanged,
so the engine's tests link nine fewer binaries.
The files that stay separate change process-wide state (installed
plug-ins, Safe Mode, the font database, color settings, the working
directory), are run by name from CI or xtask (the Affinity corpus
tests, script_corpus, import_fuzz), or compile for about a minute on
their own (command_sweep), which would make every edit to tests/it
rebuild it.
Docs that named the old paths name the new ones, and the preflight
command in docs/production-preflight.md runs `--test it preflight::`.