Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Emoji font sidecars

cargo xtask sidecar downloads and verifies these OFL font data files. Nothing is embedded in the executable. Ship the complete fonts/ directory beside it. Cascadia Mono and its existing LICENSE remain unchanged.

Shipping fileUpstream pinSHA-256
NotoColorEmoji.ttfpinned source72a635cb3d2f3524c51620cdde406b217204e8a6a06c6a096ff8ed4b5fd6e27b
NotoEmoji-Regular.ttfpinned sourcede6c18832938afc99caf132b39d6a30a19bac7f2e812e28db2535b4608d27551
NotoEmoji-OFL.txtpinned source6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
NotoEmoji-Mono-OFL.txtpinned source500bb1ccf43df7bbb522112f9133a52b16e1c35e809632f5d8609b179152de5b

Color: Noto Color Emoji 2.051, tag v2.051, CBDT/CBLC PNG bitmap strike (109 ppem). It is byte-identical to vendor/ghostty/src/font/res/NotoColorEmoji.ttf (same hash above).

Monochrome: Noto Emoji 3.002, Google Fonts commit 8b0a1d0f5983c89bc2b93f1b5fb55f9e252744b5, variable TrueType outlines (weight 300–700). The upstream filename is NotoEmoji[wght].ttf; it ships as NotoEmoji-Regular.ttf without changing its bytes, and regular weight selects 400. Google Fonts uses a commit pin rather than a release tag. Ghostty ships static 3.005, 880,860 bytes, SHA-256 cd07743a4c93d8da929afdd28c1d368f11da478a1093146a13610081c2a58440. The chosen upstream downloadable variable differs in version, format and bytes; we do not copy Ghostty's font data into the package. The historical static file in noto-emoji is only 1.05 and was removed upstream as outdated.

Pinned cosmic-text 0.19.0 uses Swash 0.2.10. Its src/swash.rs requests Source::ColorBitmap(StrikeWith::BestFit) before outlines. Swash's src/scale/mod.rs handles Source::ColorBitmap through bitmap strikes and PNG decoding. We select CBDT, matching Ghostty, rather than assume COLRv1 support. The VM candidates exercise this actual path through WARP on both Windows versions.

The configured family, Consolas and explicit user fallbacks remain first. For emoji presentation (Unicode 17 Emoji_Presentation, VS16 or keycap), an installed Segoe UI Emoji is the Windows system color preference. Voyager7 uses this cheap platform-family lookup rather than introducing newer DirectWrite imports on Win7. Remaining platform and installed faces follow, then Noto Color Emoji as a last resort. Every face must cover the whole cluster; an older system face that lacks a new emoji falls through to Noto. When Noto Color is available, emoji coverage shapes the entire grapheme against that exact face using HarfRust 0.5.2, already pinned through cosmic-text. Exactly one nonzero glyph at cluster zero is required. There is no shaper fallback to other fonts. Segoe's separate regional-indicator letters and unconsumed England tags therefore fail, as do split future ZWJ sequences. This uses no font-name exception. Without the color sidecar, the old cmap-only coverage rule is retained. +show-face uses the same rule. Resolution performs the check once per distinct screen cluster at reconfiguration, not every frame; diagnostics measure construction plus shaping for each attempted face, excluding file mapping. On Win7, with no installed system color face, Noto Color precedes monochrome platform fonts such as Segoe UI Symbol. Explicit primary glyphs remain authoritative, including bare symbols. VS15 overrides emoji defaults. Text presentation retains the historical platform and installed order, with monochrome Noto as the last resort. Without Noto sidecars the historical ordering is unchanged, including selector handling. Sidecar OS/2 range bits are advisory: Noto's are incomplete, so its actual cmap is checked before acceptance. The sidecar provenance flag controls priority, without depending on a path spelling; an embedded face could later use the same provenance classification. No embedded packaging is implemented here.

New emoji arriving on a live Surface trigger bounded font reconfiguration once per unresolved screen grapheme; this resets the frame caches so a primary glyph cannot keep an outdated presentation. The existing primary --font is retained. Approved CosmicTestEmoji fixtures and approved goldens are unchanged.

cargo xtask vm-render writes unapproved candidates to build/vm-fonts/{win7,win10}/noto-candidate.bmp and matching .bmp.txt reports. They cover a family ZWJ, Lebanon/Japan/US and England tag flags, three skin tones, keycaps, text/emoji hearts and lightning, default-text smiley, and emoji inside Arabic. They use Cascadia Mono with the normal 9×19 physical cell, shape size 15.36 px.

cargo xtask vm-memory measures idle then a diagnostic emoji-filled screen, then the existing tall grid. The diagnostic independently constructs a fresh Noto-only Engine and measures its first raster call and subsequent cache hit at 16 px; font mapping and shaping are outside the timed region. This measures CPU CBDT decoding/scaling, not discovery, first-frame latency or physical visibility. The diagnostic engine drops before memory snapshots and does not warm the main renderer cache. Reports: build/vm-desktop/*-stats.bin.emoji.txt. Sequence probes also write *.sequence.txt, recording rejected faces, per-face shape time and the selected face for Lebanon and England. The VM candidate task asserts Noto selection for both flags on both guests.

Package additions (sum of file lengths, excluding filesystem block overhead): Noto fonts and their two OFL files add 12,664,707 bytes (12.08 MiB). A standalone level-9 ZIP of these four fonts/ members is 11,139,006 bytes. The complete fonts directory, including Cascadia and LICENSE, is 13,384,000 bytes; the corresponding ZIP is 11,438,016 bytes. These are sidecar payload measurements, not a new release archive format.

When concurrent desktop acceptance uses the shared w18 directory, run python3 scripts/emoji-memory.py with Zig on PATH after building the release application and fetching sidecars. It compiles the same census probe into an isolated C:\v7\emoji directory with its own scheduled task, and holds build/vm.lock around direct guest-agent calls. It never wraps an xtask in an outer flock. This isolated helper measures only the requested idle and emoji screen, without changing display mode or running the unrelated tall-grid gate. Results are retained under build/emoji-memory/.

Actual two-VM sequence diagnostics select Noto Color for both Lebanon and England. Win7's total coverage checks cost 332/239 µs (two faces); Win10's cost 10,206/11,076 µs (41 faces), excluding mapping. Segoe's rejection costs 187/184 µs on Win10. This bounded resolution cost is retained to handle arbitrary future sequences, rather than encode regional-indicator or tag exceptions.

The final inspected, unapproved PNGs are /home/sal/dev/Voyager7/build/emoji-candidates/win7.png and /home/sal/dev/Voyager7/build/emoji-candidates/win10.png. Corresponding VT inputs, BMP reports and *-sequences.txt files sit beside them. An isolated copy of the candidate run is in build/emoji-candidates-final/{win7,win10}/, using the frozen executable from the memory census, so concurrent builds cannot replace the image inputs. The full vm-render command retains its normal build/vm-fonts/ outputs.

The VT can store one Unicode emoji grapheme in several cell payloads. Resolution reassembles logical row text with bounded stack scratch before segmenting it, matching the shaping input while preserving terminal cell allocation and selection maps. Text-symbol coverage also inspects the shaped glyph artwork: color layers, color bitmaps and SVG are declined for text presentation so VS15 cannot select a colored heart. This check, like strict sequence coverage, is only enabled when Noto Color is available; absent-sidecar behavior is retained.