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.
header_size reads every format's header through craft-image-codecs
(probe_allocation_size: stored size with no limit; a GIF's logical
screen through probe_size), no longer through the image crate's
readers. Metafile DIBs are written as PNG by craft-image-codecs.
Save Changes now finds the row for each swatch of the group as recolor.apply
does: a row that lists the color exactly comes first, then a row whose
"#rrggbb" entry has the same hex. A row listing "#0000ff" used to match no
swatch, so the save rewrote the group from the rows in order and changed a
swatch the art does not use. Reading the rows again after the save uses the
same matching, so such a row keeps its new color.
Picking a group in the Color Groups list also forgets the Color Theme Picker
picks the rows last took, so the same picks made again give the new group's
rows the palette, with or without art.
With the new General preference Show Tool Cards (showToolCards, off by
default) and Show Tool Tips on, resting the pointer on a tool button in
the Tools panel, a floating flyout or a toolbar made with New Toolbar
shows a small card in place of the one-line tool tip, and resting it on
a flyout's row shows one too. The card has the tool's icon, name and
shortcut, one sentence on what the tool does, and one line for each
action of the tool's hint-bar text, with the modifier keys named for the
platform. The descriptions live next to the tool catalog
(tool_description); a tool without one keeps its one-line tool tip. With
the preference off the toolbar behaves as before, and the checkbox is
dimmed while Show Tool Tips is off.
The card holds no widget that takes a click, so the pointer and the
keyboard stay with the toolbar. It sits beside its button inside the
window: beside a flyout it goes on the side the flyout opened toward,
past its grab bar, and on a floating flyout it goes below the strip, or
above it when there is no room below. Where the window has no room for
it, the button keeps its one-line tool tip (a flyout row shows none). It goes
away on any press, release, key, modifier key, scroll or pinch, and
comes back only after the pointer leaves the button. While a group's
flyout is open, only the flyout's rows show cards. Every complete
catalog has rows for the preference and the descriptions.
A ≈ button on a family's row in the font menus orders the listed families by
how alike they look to it: that family first, then the families that set the
same script (Japanese, Thai or neither), then the others, each group nearest
first. The Recent Fonts section is left out while the list is ordered this
way. A ≈ chip under the filters names the family and clears the order, with
that family still highlighted; closing the menu clears it too.
The measure is VectorCraft's own. Each face records its OS/2 PANOSE digits,
weight and width classes, x-height, cap height and average character width,
and its post italic angle; a named instance of a variable font takes its wght
and slnt settings. The system font scan reads the head table and the post
table's header besides the tables it read before, so installed families are
compared by the same numbers without loading them. A family is compared by its
face nearest an upright Regular, a number either face does not give is left
out, and a family of another kind counts as further away.
text.similarFonts {family, limit?} returns the same order, with errors for a
missing or non-string family, a family that is not available or not listed in
the font menus, and a limit that is not a whole number from 1 to 100000.
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.