The CI, FreeBSD, nightly, macOS nightly and release workflows pinned
craft-fonts b076417, which has no fonts/latin-manifest.txt, so every
build warned that it could not embed the tab-title face. They now pin
craft-fonts main at 16bbfc3, which adds Noto Sans Condensed SemiBold
(storytold/craft-fonts#72), so builds from these workflows draw document
tab titles in it. The pin also brings Noto Sans Lao, Noto Sans for eight
Indian scripts (Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu,
Kannada and Malayalam) and the Latin catalog.
With the new faces a build loads 135 faces instead of 54, and Retype
compares the first 96 first. Two faults showed:
- Retype: near matching fits a shape with at most the 256 glyphs closest
to it in proportion over every face. The dots and periods of the new
faces, drawn alike in each family and each named weight, took all 256
places, so a simplified Source Sans 3 period after "no" matched no
glyph of Source Sans 3 and was left as an outline. A shape that near
matches no glyph of the font of the line before it is now also
compared with that font's own 256 closest glyphs, and joins the line
when one fits. RetypeIndex::near_matches_in does that lookup.
- Tests: six Retype tests added their test font to the global font
database and expected Retype to compare it, which it did only while
fewer than 96 faces were loaded before it. They now name the font
(type.retype's fonts, or live type in the family as #6896 does for
of_two_versions_only_the_one_the_name_gives_is_listed), and
lines_in_family fails when the family has no match instead of reading
another face.
all_supplied_craft_font_families_are_registered_without_system_fonts
looked up every embedded craft-fonts face in the document font database.
The tab-title face is embedded for tab titles only and the database
leaves it out (document_fonts), so the test now checks the faces
document_fonts lists.
docs/mcp.md describes the new near-match step, and docs/ui-parity.md and
docs/localization-parity.md describe the new pin.
The pin change and the version test fix follow #6896 by @newsbaba24x7.
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
Merge-only delta: CodeRabbit reviewed 91c7634e, the last authored head; this head adds only a merge of main, so its CodeRabbit check is a skip.
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.
Co-authored-by: Dylan M. Taylor <[email protected]>