The error that asks for at least one Symbol Options field now also names alignToPixelGrid.
Each catalog's row for the old wording is replaced with a row for the new one, so the
message is translated again.
Danish is in COMPLETE_MESSAGES, but the untranslated report listed 2,066
status and error messages with no Danish row, and they showed in English.
- da.tsv gains 1,985 @msg rows in one block under a comment. Placeholders,
doubled braces, backticked names, command ids, double-quoted values and
bare true, false and null stay as the English writes them.
- Rows that other open pull requests add to da.tsv, and the 38 messages no
catalog has a row for yet, are left out. So are the three messages that
open #7353 rewrites so that a catalog row can match them.
- A test checks a sample of the new rows with their values filled in.
- docs/localization-parity.md and docs/target-app-parity.md give the new
counts: the report lists 81 Danish messages.
The Preferences dialog shows one sentence for the setting under the
pointer, or for the setting whose control has the keyboard focus when
nothing is under the pointer. While the pointer moves between rows or
onto the line, the line keeps the last row's sentence. Screen readers
get the same sentence as the focused control's description. A setting
without a sentence leaves the line empty.
The line sits under the field list in every category. The field list is
59 pt shorter to make room, so the dialog keeps its size and each
category scrolls a little sooner.
The sentences come from one table keyed by preference id. This change
describes the six Units rows (General, Stroke, Type, East Asian Type,
Numbers Without Units Are Points and Identify Objects By), with rows in
every complete catalog.
New Document opened on the most recent entry in the units that entry was
made in, so with Preferences › Units › General in millimeters, File › New
and New Without Dialog still made documents in points, and the rulers and
the Measure tool, which follow the document's units, read points. The
dialog now opens in the General units on a Recent entry too. An entry
made in pixels, and an entry that is a saved preset in the units it was
saved in, keep their units. Before, the dialog opened in the entry's
own units.
Units chosen in the Units menu were also replaced by the next tab, card
or preset chosen, for example the Web tab's pixels, or a Recent or Saved
card's units on a click or on the double-click that creates the
document. A choice made in the menu, or with ui.dialog.set (also while
More Settings or Manage Profiles is open), now stays until Create.
Without such a choice, clicking another Recent or Saved card still
brings back that card's own units.
Docs: docs/mcp.md (New Document), docs/target-app-parity.md evidence.
The templates menu leaves out Templates Folder when the session has no
metadata templates folder, as in the web build, instead of offering an
item that only reports that there is none.
Save Metadata Template adds .xmp to a name typed without it, so the
templates list shows the file, and asks before replacing a file already
there under the completed name. File Info's OK and Enter wait while a
template being imported shows its merge choice, so the template is not
dropped. docs/mcp.md now says the title is left out of a template only
when it is blank or a new document's Untitled-N name.
After Alternates for Current Selection, the Glyphs panel's Show menu
and panel menu list the categories the browsed font's GSUB features
give glyphs to: Ligatures, Swash, Stylistic Alternates, each stylistic
set by the font's name for it (else Set N), Small Caps, Ornaments,
Fractions and Figures. Choosing one shows that category's glyphs, the
characters first and then the glyphs no character maps. A font without
the chosen category shows Entire Font.
- text: FontFace::glyph_categories reads the single, alternate,
multiple and ligature substitutions of each category's features,
once per face, leaving out a substitution an earlier subtable of
its lookup shadows, within a total glyph budget.
- engine: text.glyphCategories {family, style?} lists them.
- ui-egui: the Show menu and panel menu entries, with Ligatures,
Ornaments and Figures rows in every catalog.
Docs: docs/mcp.md, docs/target-app-parity.md.
The panel's Export 3D Object button chose the objects to export in panel
code and passed their ids to assets.add3D, which on the same selection
refused every object when one had no 3D effect. Passing ids also skipped
the refusal while a part of a dynamic symbol instance's art is selected,
and a group whose 3D effect is on its fill or stroke enabled the button
and then failed.
assets.add3D without ids now leaves out the selected objects without a
3D effect it exports, a group or layer whose 3D effect is on a fill or
stroke, and an object inside another selected 3D object; a path of a
compound path counts as the compound path. Objects given in ids are
still refused. exports_three_d in vectorcraft-effects tells whether an
object has such an effect without building its meshes. The button runs
the command on the selection and is available only while a selected
object passes that check.
symbol.new and symbol.options take alignToPixelGrid (off by default),
symbol.list rows report it, and the New Symbol and Symbol Options dialogs
show the checkbox. When it is on, the horizontal and vertical straight
segments of the paths in the symbol's art, opacity mask art included,
snap to whole points (half points for an odd centered stroke) at the
symbol's natural size, and its stroke weights become whole points. Each
instance placed at that size, reflected across one axis or not, moves to
whole points and goes back to them after every move. A scaled, rotated or
sheared instance, and an instance in another symbol's art, stays where it
is. In symbol editing mode the stored art and the editing layer snap
after each edit.
Duplicate Symbol, rename, copy and paste and symbol libraries keep the
setting, and Delete Symbol removes it.
Docs: docs/mcp.md, docs/ui-parity.md.
A click with the Ellipse tool opens a dialog with a new Anchors field
under Height, 4 by default. With 4, OK draws the same live ellipse as
before. Any other count from 2 to 1000 draws a closed plain path with
that many smooth anchors spaced evenly by angle, from the left one and
clockwise, with handles of 4/3*tan(theta/4) scaled along each axis and
the path fitted to the typed width and height. The dialog sends the
nearest whole number from 2 to 1000 (4 for an empty field or text that
is not a number). The count confirmed last is kept as the Ellipse
tool's anchors option, and the next Ellipse dialog opens on it.
shape.ellipse takes an optional anchors param (default 4). A number
that is not a whole number from 2 to 1000 gets one error naming that
range, a value that is not a number gets the usual type error, and
nothing is drawn. The MCP draw_shape tool lists anchors for ellipses.
Docs: params text, docs/mcp.md, docs/target-app-parity.md (Shapes).
egui builds the accessibility update's node list from a hash map, so the
order of the open list's rows in it is not the display order. The test
sorts the rows by name before checking that only Spring is marked.
A tiled pane of a document behind the front one blends its translucent
art with that document's simulated paper in sRGB before the display
profile's conversion. The test tiles two documents with different paper
colors and checks the back pane's backdrop and its middle pixel against
the converted blend, the blend over the front paper and the art
converted alone.
Since the Data Set box took over renaming (#7860), the list button next to
it passed an empty name to dropdown_names_named, so the open list marked no
row. The button now keeps its empty closed field and marks the current
data set's row in the open list.
The rename test opens the list, checks that only the renamed data set is
marked and clicks the other row to choose it, instead of running
dataset.select. The no-data-set test checks that the box is disabled.
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.
File Info's menu saves the fields as an XMP metadata template (into the
Metadata Templates folder next to the preferences, or any file), imports
one with a choice of three merges, lists the saved templates and opens
the folder. The import is one undo step and records nothing when no
field changes.
- file.info.saveTemplate writes the title (when it is not the
document's name), author, author title, description, keywords,
rating, copyright status, notice and URL that have a value.
- file.info.applyTemplate reads a file, a saved template or XMP text
(at most 8 MB) and merges it: replace clears the fields first, keep
takes each field the template has, append adds keywords and fills
only empty fields. apply: false returns the merged fields without
changing the document.
- file.info.templates lists the folder's .xmp files.
- A PDF or .ai also opens with the rating and author title its XMP
packet gives.
Docs: docs/mcp.md, docs/target-app-parity.md.
Graph Type… now opens Object › Graph › Type…'s own dialog (graphType)
since main made Graph Type a dialog of its own, so the test checks that
kind and the graph's column type instead of the generic command dialog.
Export Text…'s save dialog in the desktop app adds a CSV type after
Text and Shortcut sheet, and shortcuts.exportText takes `format: "csv"`.
The CSV file is UTF-8 with a byte order mark, CRLF line ends and RFC
4180 quoting. Its header row is Group,Command,Shortcut in every UI
language, then one record per row the dialog lists, in the sheet's
groups (Tools, then a group per top-level menu) with names and
shortcuts in the UI language. A row with no shortcut has an empty
Shortcut field. A field that starts with =, +, - or @ and has more
after it, or that starts with a tab or a carriage return, starts with
an apostrophe.
Docs: docs/mcp.md, docs/target-app-parity.md.