Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once. Main now has
this branch's first File formats row fix (#868) itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measure effect-bearing Align to Path content after spine placement, retaining
the conservative envelope and covering damage containment with original
software-rendered move and Undo controls.
The level a new dimension line lands on now comes from the dimension
lines in the document before the dimension's first preview, so its own
preview is never a level. A dimension drawn earlier between the same two
points now acts as a level as well; before, every dimension of those
points was skipped.
- Of two lines on one level, a line the pointer lies across wins over a
line whose end is nearer the pointer.
- A dropped press while placing removes the level guide with the
preview.
- The reach uses the Smart Guides snapping tolerance helper.
- docs/dimensions.md says the rule applies to a dimension anywhere in
the document.
- The tests are split by behavior, with new tests for the same points,
pointer moves in small steps, the guide after a dropped press and
with Alignment Guides off, and the tie-break.
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The engine test now names the head each style draws (Filled a filled
triangle, Open an open triangle, Tick a slash, None no head) instead of
comparing the dimension line with ArrowStyle::arrowhead, which the
engine itself calls. It moves to crates/engine/tests/it/dimensions.rs.
The Arrow Style previews take each style from a constant list in the
order of the dropdown entries instead of parsing the entry's value
every frame, and a test checks that each entry's value matches its
style.
Part of #8049.
A linear dimension placed next to another one had its line exactly where
the pointer was. Chained dimensions only lined up when the pointer hit
the other line's level exactly, which at a normal zoom it rarely does.
- With Smart Guides on, a linear dimension placed with its line within
the Smart Guides snapping tolerance of the level of a parallel line of
a visible, unlocked linear dimension already drawn has its line on
that level. This applies to two clicked points and to a segment
dragged out.
- With Alignment Guides on, a guide runs along that level across both
lines while the dimension is placed.
- Smart Guides off, a level further off, a locked dimension or one that
is not parallel leaves the line where the pointer puts it.
Docs: docs/dimensions.md, docs/target-app-parity.md.
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row, the File formats rows and the evidence list): main's entries and this
branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A line drawn with the Line Segment tool now shows Line Properties in the
Transform panel and the Properties panel's Transform section, with the two
properties the help page lists for a line:
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html
- object.setLiveShape takes lineLength (pt, above 0) and lineAngle
(degrees, brought into 0 to 360). Every selected line changes in one
undo step; a value that changes nothing records none.
- VectorCraft's own rules: the angle runs counterclockwise from 3 o'clock,
as the Rotate field does; a new length keeps the first end in place and
a new angle turns the line about its midpoint; a line whose ends meet
reads 0 degrees; the section shows only while every selected object is a
live line; a line that would reach past the coordinate limit is an error
that changes no line.
Docs: docs/mcp.md, docs/target-app-parity.md.
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row and the File formats rows): main's entries and this branch's are both
kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A PDF/X-3 or PDF/X-4 export tagged every CMYK color with an ICC-based
space of the same profile that the output intent embeds. In PDF/X-3 and PDF/X-4, CMYK colors in the
profile of a CMYK output intent are now DeviceCMYK, and the profile is
written once, as the output intent's DestOutputProfile (ISO 32000-1,
14.11.5:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=641).
- With output.profiles none and a CMYK output intent, PDF/X-3 and PDF/X-4
write every CMYK color as DeviceCMYK, unless colors are converted to a
CMYK destination of another profile, which keeps its tag. Before, those
standards tagged every color whatever profiles said.
- RGB and gray colors stay tagged, and so do CMYK colors and images in
another profile.
- A CMYK image that carries the output intent's profile is DeviceCMYK,
and so is every CMYK image when none makes CMYK colors DeviceCMYK. A
CMYK JPEG then loses its ICC_PROFILE segments.
- Transparency groups blend in DeviceCMYK when CMYK colors are
DeviceCMYK, also when the file has no ICC-based CMYK space.
- Files without a standard keep the tags that profiles asks for.
- The Save PDF dialog's note for PDF/X-3 and PDF/X-4 says that CMYK
colors in the output intent's profile are written as DeviceCMYK.
Docs: docs/mcp.md, docs/target-app-parity.md and the document.exportPdf
params text.
When several installed faces answer to a text document font record's
PostScript name and the record keeps no version (no key 5), type was set in
whichever copy loaded first. Two copies can share the PostScript name, family
and style and differ only in their widths (two releases of one font): the type
then set at other widths than the file's own page, and envelopes of it could
fail their drawn-art check. #6983 left this case out, as only the page's
widths tell such copies apart.
- `Opened::page_widths` (crates/pdf/src/page_widths.rs) reads the widths the
pages give the characters of each font they set type in, from the font
dictionaries alone and without importing any page: a simple font's
`Widths` from `FirstChar`, a composite font's descendant's `W` under an
`Identity-H`/`Identity-V` CMap, each code's character from the font's
`ToUnicode` map or, for a simple font without one whose `Encoding` is
`WinAnsiEncoding`, from that encoding (ISO 32000-1 9.6.2, 9.7.4.3, 9.10.3,
Annex D.2), by `BaseFont` without its subset tag. Zero widths (codes a
subset doesn't use) are left out; subsets that give a character two widths
give none.
- Its cost is bounded by the file: each resource dictionary is walked once,
however many pages and forms share it, within 65,536 entries for the whole
file, 256 fonts and 4,096 forms; a width array that fonts share by
reference is read once, and none past 4 MB of them; a `ToUnicode` map is
parsed once for all the fonts that name it, and one over 256 KB decoded,
or past 4 MB of maps in all (each charged at most what could be decoded
of it), is left unread. `cid_ranges` reads a `W` list's values as it
takes them instead of collecting the whole list. A font's widths are
shared, not copied.
- `postscript_face` (crates/eps/src/import/text.rs) takes, among the faces
of the record's name, the first that sets those characters (the first 512
in code-point order) each within 1/1000 em. With no widths, one face, a
version in the record, or no face that sets them all, the pick is the one
before. The face found first is checked before any other is loaded, and
the records of one name and version share their widths and their answer,
so each font resolves once whatever the number of records.
- The widths reach the text document through `Structure::page_widths` and
`Texts::with_page_widths`; the engine reads them once per open and passes
them to `ai_layers_alone`, `AiLayers::with_page_widths` and `ai_alone_with`
when it reads a `.ai`'s editing copy beside a PDF part (not for a
placeholder page).
- `without_subset_tag` replaces two copies of the subset-tag strip in the PDF
import, and `replacement` (a `ToUnicode` value that names no character) is
shared with it.
- A fuzz target feeds hostile font dictionaries, `ToUnicode` maps and forms
that draw themselves to the reader.
Measured on 224 users' files (used locally, never committed): 3 font records
in 3 files change copy, each now within 0.5/1000 em of its page; those 3
renders, and no others, change, all closer to the file's own page; envelopes
of type that open live go from 185 to 186, none fewer in any file; no file
opens another way.
Refs #6983
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>