iris: rebuild with bundled fonts, content-scale fix, and a Diagnostics control

Iris's first real-phone report on the previous rebuild found the top
buttons and text rendering fine before any touch, but four defects on
interaction: every glyph vanishing on the first tap or scroll (not
root-caused this pass -- diagnostics added to catch it next report),
bold words rendering as blank gaps (fixed: bundled static Noto Sans/Noto
Sans Mono faces), text far too small (fixed: density-based scaling,
missing on both platforms before this), and the top row sitting under
the status bar (fixed: a new insets hook). Full account in ai-app-2's
docs/RUST.md P0 box.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
irisandClaude Fable 5.1 committed 2026-09-06 00:00:50 -04:00
1 parent b3868db468
commit a9232ac938
2 files changed
+22

No files matched your search

+22
View File
@@ -129,3 +129,25 @@ Two things changed:
If this rebuild still crashes, the on-screen report from point 1 names the real cause directly;
paste it back rather than guessing further from a truncated log.
## 2026-09-06, later: bundled fonts, content-scale fix, Diagnostics control
Iris's first real-phone report on the previous rebuild (no crash) found four
defects the emulator never showed: every glyph disappearing on the first tap
or scroll (rectangles stay drawn -- not root-caused this pass, but a phone
report from this build's new Diagnostics page would help), bold words
rendering as blank gaps (fixed -- bundled Noto Sans/Noto Sans Mono, static
per-style faces, ahead of the platform's own fonts), text far too small
(fixed -- iris had no device-pixel-ratio handling on either platform before
this; density now divides window size, touch coordinates and the shader's
window uniform down to logical units), and the top buttons sitting under the
status bar (fixed -- a new `AndroidAppState::on_insets_changed` hook, unused
until now).
This build also adds a third **Diagnostics** button next to Run/Copy,
filling the report area with adapter identity, font resolution, the atlas's
view count, every wgpu error seen since surface creation, and the frame
report -- "copy this and send it to Iris" via the existing Copy button.
Full account, including what's still unverified on a real phone, in
`docs/RUST.md`'s P0 box in the `ai-app-2` repo (`rustify` branch).