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.
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.