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.
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.
The line that a round Eraser, the Knife, the Path Eraser, the Pencil with
Live preview off or a smoothing drag shows was one path of every point,
copied, flattened and tessellated again each frame, and with the
Eraser's Size following the pen each step was a new path each frame.
- A drag of more than 64 segments now shows in pieces of 64 segments,
each also holding the next piece's first segment so wide lines join
as one. Pieces the drag has passed come back as the same shared path,
and the canvas reuses their triangles while the view stays the same;
only the last piece is built again, and only when it changed.
- With Size following the pen, each step is kept as its own shared path
and only a new or moved step is built.
- The Knife's pieces carry where the dash pattern starts, so the dashes
run on across pieces (Overlay::SharedPath gains `dash`).
- The smoothing band is shared until it changes.
The canvas still copies the kept triangles into each frame. Release
commands (path.eraseRegion, path.knife, path.eraseSegments,
path.freehand) are unchanged.
* 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>
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.
Column… and Marker… count a graph's series as graph.column and
graph.marker do, so a graph whose data was cleared shows neither.
When a translated Graph Type… or Graph Data… label does not fit in half
of the panel, each button of the pair takes a row of its own at full
width instead of clipping its label.
On X11 and the Wayland data-control clipboard (through arboard), the
Paste menu check read only the clipboard's text, so a file manager copy
with no text left Edit > Paste disabled while the paste keys pasted the
first copied file that is art. After a text miss, the check now reads
the copied file list when the paste can take files, without opening a
file. Copied files already enabled Paste through the core Wayland check
and the Windows check. A paste of text alone does not read the list.
Tsume no longer stops at horizontal type. In vertical type an upright
character loses its share of the blank space above and below its ink,
inside its cell down the column (the font's vertical metrics, else at
least one em, with the Proportional Metrics change), in point type and
on a path. A character lying on its side is measured along its own
width, and the characters of a tate-chu-yoko block close up across the
column while the block keeps its one em.
Tsume now measures what a glyph paints: its COLR or SVG art, else its
color bitmap, else its outline, so a color glyph is no longer measured
by the outline its art replaces.
Docs: docs/mcp.md, docs/target-app-parity.md, text.setRangeStyle and
text.setFormat params.