You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Brass fonts on the Android screens (brand brass 1.5.1) #306
The brand moves the Android screens to its own fonts (brass 1.5.1, section "Fonts" → "Android"), as the debug page did in 2.29.1 (#304).
assets/fonts/: add BrassSerif-Bold.ttf, BrassMono-Regular.ttf, BrassMono-Bold.ttf from the brand, byte for byte, next to the .woff2; one OFL.txt.
Load them once per process with Typeface.createFromAsset; an asset that does not open falls back to the system serif / monospace.
Headings and buttons (menu keys, dialog titles, section bands, Cancel/Save) in Brass Serif; everything else (fields, check boxes, radio buttons, labels, the tunnel state line, the status line) in Brass Mono, bold as Brass Mono Bold. No system face left in the menu and the dialogs. Overlays on the video keep their faces.
Sizes of headings and keys checked so nothing is clipped.
A unit test checks the SHA256 of the font assets; screenshots before and after in the emulator (API 21 and 34).
Activity