* cad: export DXF through craft-dxf's drawing writer
Delete the local ASCII writer and map the document through
craft_dxf::drawing. Public vectorcraft_cad::export, DxfOptions and
DxfVersion stay so vectorcraft#3068 can rebase without a writer API
change. Pin craft-dxf at the craft-libs#1588 branch tip; update the
rev after that PR merges. Golden files lock shapes_doc() bytes for
R12 and 2018 against the old writer. Part of storytold/craft-libs#791
and #778.
* cad: pin craft-dxf to the #1588 tip with Dylan's writer fixes
Point craft-dxf (and craft-codepage from the same rev) at
0b6244f2b9971deaeb6a79d932c818ff94479757, which includes the
Windows golden line-ending fix, BYBLOCK and image-dictionary
key changes, and the compile fix for the dictionary-key test.
Update the pin again to the merge commit after #1588 lands.
* cad: pin shared DXF writer to merged craft-libs #1588
---------
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
The size of a CF_UNICODETEXT block is checked against the most UTF-8 it
could come to (3 bytes a code unit), so the converted text is never
larger than the limit. CF_DIBV5 and CF_DIB are each copied when they
fit the limit, so a large first format that doesn't decode still
leaves the second to paste.
The menu tree at 957397e7 has 717 items bound to commands and 2 stubs
(Effect > 3D and Materials > Materials and Help > VectorCraft Help);
Check Spelling now opens its dialog. The count leaves out 239 entries
in the recent-file, recent-font, saved-selection and saved-view slots
and in the Open With, Scripts, Plug-ins, Type > Font, Effect > SVG
Filters and View > Perspective Grid preset submenus. The
feature-breadth rows in ROADMAP.md and target-app-parity.md now give
717/719 (99.7%); the earlier counts stay as dated history.
Paste takes at most 64 MiB of a format another app copied, VectorCraft's
existing limit for copied files, and reads the size before the copy:
- On Windows, each registered format, the CF_DIBV5 and CF_DIB bitmaps
(together), CF_UNICODETEXT and the CF_HDROP file list. A larger format
is skipped and the next one is tried.
- On macOS, each pasteboard type's data length is checked before it is
copied.
- A copied file list of more than 1,024 files pastes no file, and no
file in it is opened, on every platform, as the Linux text/uri-list
reader already does. On Windows the CF_HDROP names are counted before
they are read.
A step took the tip halfway between the tips at its ends, turned the
shorter way round. The release reads the pen's pressure and tilt halfway
along the step, and its bearing and rotation halfway the shorter way
round, so a step from no pressure to full pressure with the angle on
Pressure by 90° erases with a level tip there while the outline showed
it upright. Each step now takes the tip of the pen's readings halfway
along it.
A plain drag of the annotator's end handle now slides the end along the
bar's line, at least 10 px from the start, and snaps only to targets on
that line. Alt-drag moves the end freely, changing the length and angle
together, with Shift at Constrain Angle steps. A vector of no length
still moves freely.
Docs: docs/mcp.md, docs/ui-parity.md.
The Languages table listed Indonesian as none and 0%, while
crates/ui-egui/src/i18n/id.tsv ships with 6,947 catalog rows and
Preferences offers it as Bahasa Indonesia. The row now gives the
catalog size and says that status and error messages are partial.
The "Also shipped" list now names Dutch, Danish and Turkish, which
ship full catalogs and are in COMPLETE_MESSAGES.
The release reads the bearing of the first point the pen leaned 1° or
more at for the points before it, while the outline kept the set value
there. The outline now takes that bearing too, and starts again when the
first lean arrives, also when a pen tilted in place at the last point
gives it.
A nested reshaped instance whose baked art passes SYMBOL_ART_MAX_NODES
stays an instance, and the art baked for it now counts against the
instances after it (NESTED_DROPPED, as DROPPED_NODES does for placed
art). Before, the count went back to its value before the instance, so
many sibling instances could each bake up to the limit and be refused.
docs/mcp.md said the Character panel shows the two diacritic fields with
"Show Middle Eastern Options" on. No such item exists: the fields show with
Show Indic Options on (Preferences > Type), as the commands' params text says.