The Flattener Preview, Object > Flatten Transparency and the EPS, PDF and
print output that flatten transparency now walk each object without
transparency once, while planning, to list the type, strokes and
overprints that Convert All Text to Outlines, Convert All Strokes to
Outlines and dropping overprints change. The preview's lists, the no-op
check and the outlining all read that list.
On 100 groups of a stroked rectangle and stroked type plus five other
objects (309 nodes), with both options on and overprints dropped, the
preview looks at nodes 309 times where it looked 615 times, and
flattening looks at them 309 times where its walks made 2,352 visits,
outlines they made included. The flattened art and ids match the walk per option for
every mix of the three options.
The test font mapped ゝ, ゞ, ヽ and ヾ but not U+3099, so the cluster
ゝ U+3099 went to the first fallback face that has both characters.
Built with craft-fonts, that is a Japanese face, which drew the voiced
mark with its own glyph, and
kurikaeshi_moji_shori_draws_a_decomposed_voiced_mark_voiced failed.
The font now maps U+3099, so the cluster is shaped in the test font
with or without craft-fonts.
When a pick draws the selected character with a wider glyph and the text
flows it on to the next frame of threaded text, the Type tool now edits
that frame with the character still selected.
The errors of perspective.plane.infer (a hidden grid, both options off,
a negative tolerance, `at` given with `clear`) and of
perspective.widget.options (anchorPoint or gridlineIntersection that is
not true or false) had a row only in the Georgian catalog, so the status
bar showed them in English in the other 23 languages that translate
every message. Each now has an @msg row in every one of them, with the
parameter names and the command id kept.
automatic_plane_positioning_errors_are_translated runs the commands,
checks each error's text, and checks that every complete-message
catalog has an exact row for it and shows it translated.
A path without modes of its own takes them from its values, so a changed calligraphic variation or scatter range could change the mode the dialog showed (a Random size became Fixed when its two ends met). brush.objectOptions now keeps each path's drawn mode for every item params does not set, and still sets the modes params give.
The params text also says which way the calligraphic angle and the scatter rotation turn, as every_turn_param_says_which_way_it_turns requires.
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.
Show Sample (Hide Sample when it shows) in Type > Composite Fonts... draws
the font picked in a line of sample text, with the first character of
each custom set added, through the renderer, so color and bitmap glyphs
keep their colors. Buttons beside it show or hide lines for the ICF box,
em box, baseline, cap height, highest ascent and lowest descent, highest
ascender and x-height, and Zoom draws it at 25% to 800% of 36 pt. The em
box and ICF box are the Kanji part's font's; the other lines measure the
faces the glyphs are drawn in, fallback faces included. Each line takes
its part's size, baseline and vertical scale, and Kana scaled at center,
as layout sets them.
ui.dialog.set takes sample, zoom and the seven line fields, and refuses a
zoom outside the menu or a line that is not true or false. FontFace gains
cap_height(), the estimate a face without an OS/2 cap height uses, beside
x_height().
Docs: docs/mcp.md, docs/type-parity.md, docs/target-app-parity.md.
The MCP guide and the dialog test's doc comment said Line Width is available while Draw Filled Lines is on. The dialog also needs Connect Data Points on, as its code and test already check.
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.
On an image stretched more one way than another, a seam stroke was as
wide as 1.5 pixels at the larger scale, so across the less stretched
direction it reached far past its edge: on a 40 x 20 image scaled 20x
across, a stroke along a horizontal edge covered 15 pixels on each
side, over transparent rows too.
On such an image, the seam fills are now each stroke's outline in image
pixels (butt caps, round joins), filled with the stroke's paint. An
image scaled alike in every direction keeps strokes. The anchor limit
counts the outlines' anchors. Outline views and Expand by color
recognize a seam fills group of filled outlines as they do one of
strokes, and Expand by color again recognizes the unclipped seam fills
group of a trace made before the seam fills were clipped.
A Drop Shadow, glow, blur, Feather or pixel filter listed before a
Transform effect that makes copies of type, an image or a symbol instance
was drawn once under all the copies, at the object's own distances. Each
copy now carries those raster effects, as paths' copies do: scaled by the
copy's mean scale, with a Drop Shadow's offset turned, reflected and
scaled with the copy. Raster effects listed after the Transform effect
still paint once around all the copies.
Type is copied as its outlines, an image in its frame and a symbol
instance as its symbol's art. The canvas, the object's cull bounds,
export and Expand Appearance use the same art; type whose Transform
effect only moves its copies is exported as its outlines in that case.
Type and symbol instances in perspective, objects whose fill or stroke
has geometry effects of its own, and objects with a linked opacity mask
keep one set of raster effects.
Under read roots, clipboard.exportSvg refuses an SVG that would name a
linked image file outside them, but clipboard.flavours still listed
image/svg+xml and the SVG markup as text/plain, and
Session::clipboard_flavours still made them. Both now take Include SVG
Code only when the SVG is not refused; PDF, PNG and a type-only copy's
text are unchanged.
Area type with wrap shapes was always written as outlines in the editing
data for other apps. It is now written as type when the reader works the
same wrap out again from the objects above it: each wrap object is a path
of one subpath, a compound path of visible members, or an unclipped group
of such objects, with no paint, or a solid fill, a plain solid stroke or
both, without effects, art style, opacity mask or clipping, with an
offset within -1000 to 1000 pt; the type's stored shapes match the ones
those objects give it; and the shapes of all area type stay within the
2,000,000 anchors the reader copies. Each frame of a thread is checked on
its own. When art is left out at the object limit, such type is written
as outlines again. Other wrapped area type stays outlines.
The reader recomputes the wrap with resolve_wrap after reading
(resolve_text_wrap in crates/eps/src/import/native/build.rs) and reads the
options with text_wrap in crates/eps/src/import/ai/read/document.rs; the
round-trip tests check the reopened characters, frame, wrap shapes and
wrap objects. resolve_wrap's layer walk is shared through a new
wrap_sources so the check follows the same traversal.
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.
A type layer now records the type's own anti-aliasing method (None,
Sharp, Crisp or Strong; None when the export draws without
anti-aliasing) instead of Smooth. Type with a character that its font
lacks, and so is drawn with a fallback font, stays pixels; breaks,
joiners and variation selectors do not count. Hidden type that the export
leaves out (Include Hidden Layers off) no longer splits its layer, and a
fill or stroke that blends in a mode other than Normal keeps the layer
whole like an object that does.
The reader test uses craft-psd, which replaced the psd crate on main.
Edit › Keyboard Shortcuts gets a Hold Shortcuts checkbox, off by default,
with a ? button that explains it. While it is off, the dialog has no Hold
column and every key runs on its press as before. While it is on, the
dialog shows a Hold column and the Hold Shortcut Delay (`keyHoldDelay`,
0.35 s, 0.2 to 1.0 s), and a letter, digit or punctuation key, alone or
with Shift, can hold a tool or command. Held for the delay, the key runs
its hold shortcut once and its repeats are ignored until it is let go; a
quicker press runs what the key runs without one, at the release.
Another key, or Cmd, Ctrl or Alt, ends the wait first; focus loss, a
dialog, a text field, Presentation Mode or an input method composition
ends it without running anything. A hold on a letter alone leaves the
letter with Shift as it is, and a key the active tool uses itself (E
with the Extend Path tool) does not wait. A tool key with a hold
shortcut runs the hold instead of choosing its tool temporarily
(`holdToolKeys`). Preferences › General › Options lists both settings
too, with the delay dimmed while Hold Shortcuts is off.
Hold shortcuts are stored apart from the shortcuts (`shortcut_holds`).
`shortcuts.set` takes `hold`, `shortcuts.list` rows have `hold`,
`shortcuts.conflicts` lists hold clashes, Export… writes `holds` and
Import… reads it, and Export Text… adds a `Hold X` column while the
checkbox is on. Reset to Defaults and the presets clear them. The new
strings have rows in every catalog.
The palette leaves out the engine commands that Edit › Keyboard
Shortcuts marks as needing a value (`needs_a_value`): a query with no
default key and no menu bar item, whose answer a pick drops (Document
JSON, Select All Unused in the Brushes panel), and a command that needs a
value no menu item gives (`transparency.set`, Document Setup's units).
Of those commands, the ones whose pick does something without params
stay listed: Stop Script, Clear Script Console, Clear Plug-in Cache,
Reset Preferences, Forget Import Matches, Begin Undo Group and End Undo
Group, the six Save … Preset commands, Delete Gradient Preset, Pixel
Snapping Options…, the three Asset Export commands that open the Asset
Export panel, New Symbol, Gradient Vector, Define Perspective Grid and
Select Slice. That leaves out 296 of the 1,006 engine commands it
listed. The UI commands it listed stay as they were.
Each panel is a result under Window › Show Panel: a pick shows the panel
and leaves one already showing as it is. Each Effect menu item is a
result, named as the menu names it, whose pick runs what its menu item
runs; while the item is dimmed, no dialog opens and the status line
says why. Results whose name
without its menu path is the whole query come first, so "layers" shows
the Layers panel among the 14 results. The search hint and the
app bar's search tooltip say "Search commands, tools, panels and
effects", in every catalog.
- Resampling at a resolution asked for weights colors by alpha in 16 bits a
channel, so a pixel with alpha 1 keeps its color instead of turning black.
- A box between pixels is drawn with the image stretched so the box fills
the whole pixels drawn; nothing past the box is squeezed into it.
- A linked W or H below a point raises both sides together, keeping the
box's proportions.
- Apply no longer clears the box and the resolution; leaving the tool does,
so a crop that fails keeps them for another try.
When a pick put a character in at the end of a full frame of threaded
text, the text flowed the character on to the next frame, and the pick
looked for it only in the frame it was typed in: it refused the pick
and changed nothing. The pick now finds the character by its place in
the story, draws it with the glyph in the frame it went to, and the
Type tool edits that frame with the caret after the character.