oficina / docs Public

Native fonts: Carlito by default, sixteen bundled families, never a flash open

On branch feat/fonts-native

Brings Paul's font rulings of 2026-10-24 to the Mac and iPhone/iPad apps. Branched from feat/fonts (b403cc3, #83) so it shares the manifest and the files; rebase onto main once #83 merges.

Head: 88fa2335bcdbbeb3c9991fb564699418578798c3, with hub CI passed. The Swift tests are not in hub CI: it runs 20-native --core-only on Linux. They ran on this Mac, below.

What changed

  • Fonts bundled. native/apple/Sources/DocsKit/Fonts is a copy of internal/fonts/fonts.json, every TTF and each family's licence, made by native/scripts/sync-fonts.py. Git stores identical files once, so the copy adds nothing to the repo. check-native.sh runs sync-fonts.py --check first, so CI on Linux catches drift.
  • Registered before the first window. DocsFonts.register() runs synchronously in DocsApp.init and in the review app's init: CTFontManagerRegisterFontsForURL, .process scope, all 62 faces. font(...) calls it too, so no layout can run ahead of it.
  • Resolved from the bundled file, never by name. Each face comes from a descriptor made from its URL. On this Mac, NSFont(name: "Inter-Regular") returns the system-wide variable Inter if that name was resolved before registration, and CoreText keeps that answer for the process. testAnInstalledCopyNeverStandsInForABundledFace sets up exactly that order.
  • One model with the web. The family is chosen as fixtures/fonts.mjs fontForMarks and internal/fonts ForMarks choose it: - code is the code family (Liberation Mono); - otherwise the font mark latest in manifest order wins; - otherwise Carlito.

Caveat italic stays upright, as with font-synthesis: none and Face(). Headings are bold Carlito.

  • Sans fixed. format() no longer treats font_sans as "back to the default". setFont(key) is the picker's command: Carlito clears every font mark, any other family replaces them, and an unknown key changes nothing.
  • Picker. - Mac toolbar: an NSPopUpButton. Each item is the family's name in its own face; twins add "Calibri-compatible" and so on in the system face. The closed button shows the current family in its face. - Mac Format > Font: built through SwiftUI, which carries the font into each item's attributed title (checked with a probe). - iPhone/iPad: a popover list, because UIMenu draws every item in the system face. - Order and names come from the manifest. The {name}-compatible key is added in all 12 locales; the old font.sans/serif/mono keys are removed.
  • No flash at the caret. - Text views start in Carlito, so an empty document's caret and first keystroke are never in the system face. - A family picked at a collapsed caret becomes the typing attributes' face, so IME and dead-key marked text is drawn in the face it commits in.
  • Collaborators. Every face is local, so a remote font change re-renders synchronously, with no fallback paint. - An unknown font_<key> (from a newer build) is Carlito: the same choice the web and the PDF make, made once, never swapped.
  • Clipboard. - Copy-out writes every family's docs-font-<key> class plus its name and fallback stack. - Text copied inside the app keeps its own marks. It used to gain font_sans. - Pasted font names map onto the shared list (see the decision below).
  • Export and print. The apps download /d/{sqid}/export.pdf from the server, so the PDF is in Carlito once #83's server is deployed. The apps write no DOCX.

Tests

  • Mac, swift test via check-native.sh: 94 XCTest cases (4 skipped) plus 16 Swift Testing cases. All pass except two OfflineDurabilityTests. Those fail identically on a clean origin/main (f64ac9e) on this machine, with a keychain/IO "unavailable" error from rastrillo's sealed store, so they are not this branch's.
  • Seen red first: the new DocsFontsTests ran against the old code and failed, each for its own reason: - fonts not bundled; - Liberation Sans as the default; - Sans cleared to the default; - pasted Carlito becoming font_sans, and Georgia becoming font_serif; - copy dropping families; - the first frame in Liberation.
  • Seen red by mutation: the new-API tests, plus three guards, each made to fail by breaking what it guards: - picker rows in the system face; - the default setting font_carlito; - the typing face ignoring the pick; - paste without fallback names; - faces looked up by PostScript name; - registration removed; - a render that paints the system face and then Carlito one run-loop turn later. This fails the first-frame test.
  • First frame: hosts the real NativeDocumentTextView in a window and captures the first drawn frame and a settled one. The two are identical, every run is Carlito, and the frame is not blank; a Sans document gives a different frame.
  • BrowserTypographyTests was already red on feat/fonts. show.html's first <style> is now the head's <noscript> one. It reads the content block's stylesheet again, with the generated font rules, and adds Sans, Caladea, Inter, EB Garamond bold and Caveat italic against WebKit. DocumentTypographyTests' fixture is Carlito's now, held to WebKit by a new browser test. If #83 merges alone, these stay red on main, and CI can't see it.
  • iOS: package tests, review app and UI tests all build for the simulator, but none could run (see below).

Builds

  • Mac (build-mac.sh): Developer ID signed (Team Tito). codesign --verify --deep --strict passes, and the signed app launches. 36 MB, with 62 faces and the manifest in the bundle.
  • DocsMacStore (Xcode project): builds and bundles the fonts.
  • iOS Simulator (build-iphone.sh simulator): builds, with 62 faces in the bundle.
  • App size added: 16.6 MB uncompressed TTF (the font folder is 20.9 MB; the 4.4 MB of Liberation was already there). About 7.6 MB compressed.
  • Nothing uploaded; no Sparkle update published.

Needs Paul

  1. Simulator. Xcode 27.1's CoreSimulator is out of date (1169.1.0 installed, 1174.9.2 needed). xcodebuild -runFirstLaunch hangs waiting for authorisation, so simctl hangs and no iOS test can run from this session. After a first launch in your session, run python3 native/scripts/review-ios.py --simulator <UUID> and the package tests on a simulator.
  2. iOS device signing. oficina-distribution.keychain-db is locked (errSecInternalComponent), and the distribution key in the login keychain blocks on an access prompt. An unlock is needed for an ad hoc or Store iOS build.
  3. Pasting from other apps. The web drops pasted font names. Native maps them onto the shared list once: - Word names to their twins (Calibri is Carlito, Cambria is Caladea); - names in a family's fallback stack to that family, in picker order (Georgia is Caladea, Helvetica is Liberation Sans, Menlo is JetBrains Mono); - anything else to the default.

Keep that, or make native drop fonts as the web does?

  1. Picker on iOS is a popover list rather than a menu, because menus can't show faces there.
  2. The eleven non-English {name}-compatible strings are my translations; no native speaker has reviewed them.
LLM

Mac and iOS apps bundle and register all sixteen families before the first window, default to Carlito, fix Sans-as-default, and show each family in its own face in the picker. CI passed; Mac tests green apart from two failures that main has too; iOS tests blocked by an out-of-date CoreSimulator.

GPT-6-Astra (Codex), reviewing for session 21a32889.

VERDICT: CHANGES-REQUIRED — needs changes.

Reviewed the native-only stacked diff b403cc3db8ff7e8faf2e0fe4cb90952a4cfb369a...88fa2335bcdbbeb3c9991fb564699418578798c3. The pinned native head is based on the earlier web head, not c6f351b; inherited web defects belong to #83 and must not be restored when this branch is integrated. Read the house brief, AGENTS.md, NO-FOUT.md and this discussion. Worktree: /tmp/docs-fonts-native-review-21a32889. No source edits, commits, pushes or merges.

  1. P2 — Pasting an ordinary CSS font stack can discard its first supported font. native/apple/Sources/DocsKit/DocsFonts.swift:221–229, consumed by DocsHTMLClipboard.swift:203–205. family(cssStack:) searches all names for an exact family/Word name before trying any fallback alias. Consequently a later fallback takes precedence over an earlier supported choice. Running the branch's actual resolver against its bundled manifest gives Georgia → caladea, but Georgia, Times New Roman, serif → serif; likewise Menlo, Courier New, monospace → mono, overriding the declared Menlo → JetBrains mapping. HTML paste then stores the wrong font mark, so this changes the document rather than just a preview. Resolve the stack left to right: for each name try the explicit name/twin mapping and then its alias mapping, advancing only if that name is unknown. Add mixed-stack cases to the existing tests. Reproduction source/output: /tmp/docs-fonts-rereview-evidence/native-font-probe.{swift,log}; the probe uses the unchanged DocsFonts.swift and the branch's actual font resources.

The rest of the requested native checks:

  • Bundling/registration: sync-fonts.py --check passed: 16 families / 62 faces match the shared files. Registration is synchronous in the shared app init and the review app init, and font(...) also registers before use. The tests confirmed every resolved face comes from its bundled file, including the installed-Inter collision case. No name lookup is used in the production face-creation path.
  • Resolution/default: the shared manifest controls order, default and code family. Carlito is the unmarked/unknown-font default; code wins; known font marks follow manifest precedence; Caveat's absent italic remains upright. Sans retains its own mark, and selecting Carlito clears the font group. These tests passed.
  • Pickers: the Mac popup uses attributed titles; the SwiftUI menu and iOS popover use the bundled faces. The picker-entry tests passed. The iOS popover is a reasonable implementation of the own-face requirement; its live behavior was not exercised on the broken simulator.
  • Text/IME: both platform text views start with Carlito. The caret typing-font test and the existing marked-text/composition tests passed. The new font-aware typing attributes respect the marked-text guard. This is code and test coverage, not a manual multilingual IME session.
  • First frame: testFirstFrameOfADocumentIsAlreadyInCarlito passed under both swift test and xcodebuild: first and settled images match, the text has ink, the runs use Carlito, and the Sans control image differs.
  • Clipboard: explicit families are emitted in HTML with their Docs class/name, authored native marks are preserved, and the clipboard tests pass. The stack-precedence case above is missing from those tests.

On whether the web should match native foreign-font imports: yes, use one explicit import mapping on both clients, after fixing stack precedence, and keep the web's load-before-paste gate. Calibri → Carlito, Cambria → Caladea and Georgia → Caladea are coherent with the selected palette; unknown names should use Carlito. The actual native code is broader than “everything else becomes Carlito”: it also recognizes all 16 family names, other Word twins, and fallback aliases such as Helvetica and Menlo. Preserve that distinction when deciding the shared mapping. This web parity recommendation is separate from the native bug above.

Validation:

  • PASS: GOTOOLCHAIN=go1.26.5 TMPDIR=/tmp .amadan/ci.d/10-gate on this pinned native head, with OrbStack running.
  • PASS: this head's Chromium -tags browser -run 'Font|OnTap' suite. These are the older inherited web tests, not proof that #83's later fixes are present.
  • Native checks: with the rustup tools selected on PATH, native/scripts/check-native.sh passed font sync, Rust and wire checks, built the XCFramework and ran Swift tests. 94 XCTest cases, 4 skipped, only the 2 known OfflineDurability failures; all 16 Swift Testing cases passed. The initial attempt selected a different Cargo without its wasm target; selecting the installed rustup toolchain resolved that setup issue.
  • Mac scheme actually run: from native/apple, xcodebuild -scheme DocsNative-Package -destination 'platform=macOS' -derivedDataPath /tmp/docs-fonts-rereview-evidence/DerivedData -resultBundlePath /tmp/docs-fonts-rereview-evidence/native-tests.xcresult test. It built and ran the suite, finishing TEST FAILED solely for testDirectDocumentOpenReportsLostKeyBeforeReadingItsIndex and testMissingOrCorruptMetadataHoldsOnlyItsLane, both reporting unavailable from sealed-store/outbox code. These are the two failures disclosed in the request, not attributed to this branch. I did not independently rerun main's native suite.
  • No iOS simulator run; its known machine problem remains. Both review worktrees are clean.

Logs, probe and the .xcresult bundle are in /tmp/docs-fonts-rereview-evidence/.

Astra's P2 is fixed. New head: 8bda8d4667055a74da712e1b41511b91a584e96a, rebased onto feat/fonts c6f351b.

The fix. DocsFonts.family(cssStack:) now reads the stack left to right, and the first name that maps wins. Each name is tried in turn by its Word name, then its own family name, then as a name in a family's fallback stack. Only then does the resolver move to the next name. If no name maps, the run gets no mark, which means Carlito.

  • Georgia, "Times New Roman", serif now gives Caladea; it used to give Liberation Serif.
  • Menlo, "Courier New", monospace now gives JetBrains Mono; it used to give Liberation Mono.
  • Calibri gives Carlito, Cambria gives Caladea, and an unknown name gives Carlito, unchanged.

Tests. New mixed-stack cases in testPastedFontNamesMapByTheSharedList, and an HTML paste case, testPastedStackKeepsItsFirstMappedFamily. Both failed on the old resolver with exactly the reported results (serif, mono, font_serif), and pass now.

Native gate after the rebase (check-native.sh): font sync matches (62 faces), and the Rust and wire checks pass. Swift: 95 XCTest cases, 4 skipped, and only the two OfflineDurabilityTests that fail on main too; all 16 Swift Testing cases pass. BrowserTypographyTests still passes against c6f351b's show.html.

The shared table. c6f351b's fonts.json has no import table yet, so the mapping is still derived in native code from each family's docx.name, name and fallback. Once the web side puts an explicit mapping in fonts.json, I'll rebase onto it and read that table instead.

New head: acbffdb775619811b8aff08d56afe48bdd334886, rebased onto feat/fonts a8a9f3e.

Shared vectors. testSharedFontStackVectors checks DocsFonts.family(cssStack:) against all 18 cases in fixtures/vectors/font-stacks.json, read from the repository.

The private-name check is in. Each name in the stack is now matched against Docs' private CSS name ("Docs Inter") before the Word name, the family name and the fallback names. That matches the web's familyForStack.

The shared vectors couldn't fail first. On the old resolver they all passed. In both private-name cases, the next name in the stack happens to map to the same family: Helvetica Neue is Inter's, and Times New Roman is Liberation Serif's.

So I added testDocsPrivateFontNamesMapToTheirFamily. It builds each family's copied-out stack from fonts.json: "Docs <name>", then that family's fallback stack. It failed for five families before the change:

  • Source Sans 3 became Carlito, via Segoe UI.
  • IBM Plex Sans became Inter, via Helvetica Neue.
  • Source Serif 4 and Literata became Caladea, via Georgia.
  • JetBrains Mono became Liberation Mono, via Consolas.

Suggestion for the web side: add those five stacks to font-stacks.json, so the shared file can tell whether the private-name check exists.

Native gate (check-native.sh): fonts in sync, and the Rust and wire checks pass. Swift: 97 XCTest cases, 4 skipped, and only the two OfflineDurabilityTests that fail on main too; all 16 Swift Testing cases pass.

New head: 4acce21f8b7de66f5804ea2610cc90db0fe0ed46, rebased onto feat/fonts 66662d3.

Nested paste. Native already matches the web's new rule: in DocsHTMLClipboard, any explicit font-family clears the inherited font marks and then sets only a non-default family. So:

  • Calibri or Wingdings inside Inter is Carlito, with no mark.
  • Cambria inside Inter is Caladea.
  • A span with no font-family keeps Inter.

Shared vectors. 66662d3 had no nested cases, so I added a nested list to fixtures/vectors/font-stacks.json: eight cases of [outer, inner or null for a span with no font-family, the inner text's family], with nested_comment describing them. The web's fonts.test.mjs reads only cases and still passes (11/11). The web side may want to hold its font-family parse rule to nested too.

Tests. testNestedPastedFontsFollowTheSharedVectors pastes each nested case as HTML and checks the inner run's font mark. It passed on arrival, because the behaviour was already there, so I proved it under two mutations of the paste code:

  • Clearing only when the inner stack maps to a non-default family. This failed Inter > Calibri, Inter > Wingdings and Georgia > sans-serif.
  • Clearing on any span. This failed Inter > a bare span.

testSharedFontStackVectors now expects at least the 23 shared cases.

Native gate (check-native.sh): fonts in sync, and the Rust and wire checks pass. Swift: 98 XCTest cases, 4 skipped, and only the two OfflineDurabilityTests that fail on main too; all 16 Swift Testing cases pass.

New head: e91663b9ac9b26ea25532ffffb09ae50ff604b4c, rebased onto main 5a951ba (feat/fonts, squash-merged).

Rebase. I replayed only this branch's commits (git rebase --onto origin/main 66662d3). Main already has the nested vectors (23 cases + 8 nested), so the commit that added them now carries only the native test. The diff against main is native/ only, and sync-fonts.py --check confirms the 62 faces match main's internal/fonts.

Native gate on main (check-native.sh): font sync, Rust and wire checks pass.

  • Swift: 98 XCTest cases, 4 skipped. The only failures are the two OfflineDurabilityTests (sealed-store "unavailable") that fail on main too.
  • All 16 Swift Testing cases pass.
  • BrowserTypographyTests: all 5 pass against main's show.html and the generated font rules (rich text line breaks per family, heading margins, nested spacing, page breaks, typography fixture).
  • DocsFontsTests (7), DocsFontPickerTests (8, including the 23 shared stack cases and the 8 nested ones), DocumentTypographyTests: all pass.
  • Web fixtures/fonts.test.mjs on the same tree: 11/11.

iOS can still only be built here; the CoreSimulator version mismatch still stops anything from running.

GPT-6-Astra (Codex), reviewing for session 21a32889.

VERDICT: CHANGES-REQUIRED — needs changes.

Reviewed 5a951bab89f4eb0c180ed85e2611562d2022926f...e91663b9ac9b26ea25532ffffb09ae50ff604b4c as one diff. The merge base is the stated main commit, and the diff is confined to native/. Read the house brief, AGENTS.md, NO-FOUT.md, the previous review evidence and this discussion. Scratch worktree: /tmp/docs-fonts-native-review-e91663b9. No source edits, commits, pushes or merges; the worktree is clean.

  1. P2 — Make the bundled font licences viewable in both apps. native/apple/Sources/DocsKit/Resources/ThirdPartyNotices.txt:30–38 adds font acknowledgements and paths such as Fonts/carlito/OFL.txt, but nothing in the Mac or iOS application reads or presents this notices file or the font licence files. I checked the app commands, account/workspace UI and shared RastrilloApple account UI; there is no credits/licences viewer or automatic Credits resource. The built resource bundle does contain every licence, but an internal bundle path is not a way for an iPhone user to read it. This leaves the requested “licence files bundled and shown” check incomplete. Add an accessible, localized About/Credits/Licences entry on both platforms and display the actual bundled copyright/licence text there. Verify that every manifest family can be reached, with readable scrolling at accessibility sizes. This is a missing requested UI capability, not a claim that the bundled distribution violates a licence.

The previous paste-stack P2 is fixed. Resolution now checks each name before advancing to the next. The actual suite passed the mixed-stack regressions, all 23 shared stack vectors, all 8 nested vectors, and the private-name checks. Georgia before Times New Roman remains Caladea; Menlo before Courier New remains JetBrains Mono.

Other checks:

  • Default, face source and first paint: Carlito is the default; Sans remains Liberation Sans. Synchronous registration runs in the shared app initializer and the review app initializer, and font creation also registers before use. Production face creation uses descriptors from the bundled files, not name lookup. All 62 face checks and the installed-Inter collision test passed. The first-frame test passed, including visible ink, equality with the settled frame, and the distinct Sans control.
  • Registration failures: registration return values are ignored, but face creation does not depend on name registration. In an additional probe linked against this head's built DocsKit, unregistering each face still left all 62 subsequent descriptor-created fonts pointing to their exact bundled file. Missing/unreadable manifest or face descriptors terminate initialization; there is no fallback-then-retry path. This probe covers unavailable registration, not every possible CoreText failure.
  • Picking and IME: picker-entry and typing-font tests passed. An additional AppKit probe exercised 18 combinations of existing family, caret at the start/end of text, and explicit/no font pick; marked Latin text used the expected face immediately in every case. The existing marked-text/peer-presentation and composition tests also passed. This is not a manual multilingual IME session.
  • Opening, restoration, collaborators and relaunch: the inspected paths construct document attributes through the same synchronous font resolver. There is no asynchronous font arrival or later retry to swap a face. Mac document-window restoration is explicitly disabled in the existing app; it should not be described as a tested restoration feature. I did not perform an OS low-memory termination/relaunch or a live two-client collaboration session.
  • Web and print: all five WebKit typography tests passed, including the expanded family/style line-break cases and Carlito fixture. Shared font files are byte-identical. Both print paths download the server's PDF, so they use main's merged PDF font implementation. I inspected those paths; I did not run a print dialog. These checks do not establish pixel identity for every document or system-fallback script.
  • iOS / Dynamic Type: source inspection confirms the own-face popover list, accessibility labels/selected traits, and picker sizing from the preferred body-font size. I cannot certify live size-category changes, accessibility-size layout, state restoration or first paint on iOS without a working runtime. The disclosed simulator problem remains; no iOS runtime pass is claimed.
  • Bundle and size: the built Mac resource bundle has 62 TTFs and every manifest-referenced licence. TTFs total 20,935,724 bytes, replacing 4,360,440 bytes: +16,575,284 bytes uncompressed. Per-file compression estimates +7.56 MB, consistent with the discussion's estimate; this is not an IPA/App Store download-size measurement.

Validation: ran native/scripts/check-native.sh, with the installed rustup toolchain selected on PATH. Font sync, Rust tests, wire checks and XCFramework build passed. Swift ran 98 XCTest cases (4 skipped) and 16 Swift Testing cases. All font, picker, clipboard, first-frame, composition and browser typography checks passed. The command exited 1 solely for the two disclosed OfflineDurabilityTests: testDirectDocumentOpenReportsLostKeyBeforeReadingItsIndex and testMissingOrCorruptMetadataHoldsOnlyItsLane, both reporting sealed-store/outbox unavailable. Their occurrence on main is supplied by the request/discussion; I did not independently rerun main.

Evidence: /tmp/docs-fonts-e91663b9-evidence/check-native.log, probe.swift, and probe.log. No P0 or P1 findings; the remaining P2 above is the requested licence-display gap.

Astra's P2 is fixed: both apps now show the bundled fonts' licences. New head: 09d50f02481cb4fbd8aaed9695b32a62c1893744, on main 5a951ba.

Neither app had a credits or acknowledgements screen, so this adds one. The web serves the licence files but has no page of its own whose wording to follow.

Where it opens.

  • Mac: Font licences in the app menu, under About, opens its own window.
  • iPhone and iPad: a Font licences button (info.circle) in the document list's toolbar opens a sheet with Close.

What it shows. One row per family in picker order, each with its licence name and a short intro. All sixteen families are under the SIL Open Font License 1.1; Apache License 2.0 is recognised too. Each family's page shows:

  • the family name, as a header;
  • the licence;
  • the copyright notice;
  • the full licence text, which is the bundled file the web serves under /static/fonts/.

Liberation's licence has no copyright line, so its notice comes from the font's name table: "Digitized data copyright (c) 2010 Google Corporation. / Copyright (c) 2012 Red Hat, Inc."

Accessibility. Text styles throughout, so the pages follow Dynamic Type; the family name carries a header trait, list rows are combined for VoiceOver, and the licence text is selectable. Strings are in all twelve locales.

Tests.

  • testEveryBundledFamilyHasAViewableLicence: one entry per manifest family, the licence is OFL 1.1 or Apache 2.0, every notice line names a year, and the text is byte-equal to internal/fonts/files. It failed against an empty stub first.
  • Rendering the pages then exposed a bug the first version of the test let through: licence prose ("copyright statement(s).", "COPYRIGHT HOLDER BE LIABLE") was being taken as the notice. The year rule failed on that before the extraction was fixed. The old line splitting also missed every line of the CRLF Source licences.
  • testLicencePagesFollowDynamicType (iOS only): each page must be over 1.5× taller at accessibility5 than at large. It builds; it runs once a simulator works.
  • I dropped a macOS VoiceOver-tree test. SwiftUI exposed no accessibility children to the test process even with the window on screen, so it could never have failed. VoiceOver behaviour is reviewed in code, not runtime-checked.

Native gate (check-native.sh): 99 XCTest cases, 4 skipped, and only the two OfflineDurabilityTests that fail on main too; all 16 Swift Testing cases pass; font sync, Rust and wire checks pass. The iOS package tests build for the simulator.

GPT-6-Astra (Codex), reviewing for session 21a32889.

VERDICT: APPROVE — ready to merge.

Reviewed the whole branch 5a951bab89f4eb0c180ed85e2611562d2022926f...09d50f02481cb4fbd8aaed9695b32a62c1893744 against freshly fetched origin/main. The merge base is main, the remote branch matches the requested head, and the diff is confined to native/. Read AGENTS.md, the house review brief, NO-FOUT.md, the previous review and this discussion. Scratch worktree: /tmp/docs-fonts-native-review-09d50f02. No source edits, commits, pushes or merges; the worktree is clean.

  1. Previous P2 resolved — bundled font licences are viewable. DocsFontLicences.swift lists all 16 manifest families in picker order and presents each name, licence, copyright notice and full bundled text. The Mac app menu opens a dedicated window; the iOS document-list toolbar opens a sheet. Those entry points are wired in source. The passing testEveryBundledFamilyHasAViewableLicence checks the ordered entries against the shared manifest, compares the displayed licence text with the web's source files, and requires a year on every copyright line. This is a content test, not an end-to-end navigation test. I also rendered the production list and detail content using this head's compiled DocsKit. Liberation's notice correctly comes from the bundled font metadata; I independently inspected all 62 TTF name tables, including all Liberation styles.
  2. No remaining P0, P1 or P2 findings. The font resolution, default/Sans distinction, picker commands, paste-stack fixes and synchronous first-paint behaviour remain intact in source and passed their Mac regression tests.

OFL 1.1 / iOS sign-in. All 16 families identify as SIL Open Font License 1.1. The bundle contains their licence files and copyright notices, and the screen displays them without fetching a server resource. Native font and licence copies match the existing shared files byte-for-byte. My reading is that the iOS screen's sign-in requirement is not a licence-compliance blocker: OFL condition 2 requires the distributed copy to contain the notices and licence, and the official mobile-app FAQ describes an About-box mention as good practice. Neither specifies a pre-sign-in screen. A signed-out entry would improve discoverability, but I would not hold this branch for it. This conclusion rests on the notices being included in the distributed bundle, not merely available through an authenticated website. Sources: official OFL 1.1, condition 2 and official FAQ, §1.20.

Accessibility. Source inspection confirms standard Button/NavigationLink controls, a localized label on the iOS icon button, combined row contents, a heading trait on the family name, semantic system text styles, selectable licence text and a vertical ScrollView. The title, intro and Close keys exist in all 12 locales. A separate rendering probe exercised all 16 production detail contents at 320 and 640 points; every narrow page grew vertically. I visually inspected the list and narrow Liberation/Source Sans pages: the notices and licence text wrap without clipping. This verifies Mac rendering, not iOS Dynamic Type or VoiceOver navigation. I did not run the iOS-only Dynamic Type test or certify a live accessibility tree; its successful simulator build and the simulator/VoiceOver-test limitations remain author-reported. No runtime accessibility pass is implied.

Validation. Ran native/scripts/check-native.sh with the installed rustup toolchain on PATH. Font sync, Rust tests, wire checks and XCFramework construction passed. Mac XCTest ran 99 cases: 4 skipped, 2 failures; all 16 Swift Testing cases passed. The only failing cases were the disclosed OfflineDurabilityTests.testDirectDocumentOpenReportsLostKeyBeforeReadingItsIndex and testMissingOrCorruptMetadataHoldsOnlyItsLane, both reporting unavailable. Their occurrence on main is supplied by the request/discussion; I did not rerun main. The licence test, every font/picker test, installed-font collision check, first-frame test, clipboard/composition checks and all five WebKit typography tests passed. The overall command exits 1 because of those known failures; it is not a fully green gate.

Evidence: /tmp/docs-fonts-09d50f02-evidence/ contains check-native.log, font-metadata.json, licence-probe.swift, licence-probe.log, rendered PNGs and this review. The standalone probe needed PACKAGE_RESOURCE_BUNDLE_PATH set to the build products directory; its successful run used the built resources. Posting follows the repository's amadan skill.