Repository navigation
The Android screens in the brass 1.5.1 fonts (2.30.0) - #307
Conversation
….30.0) Menu keys, dialog titles, section bands and the dialogs' buttons in Brass Serif, the rest in Brass Mono; the .ttf files next to the page's .woff2, read once, the system serif or monospace if one does not open. The menu's cells are measured in Brass Serif. A test checks the fonts' SHA-256 against the brand's SHA256SUMS; SHOTS also takes Settings and Reset. Closes #306
PR Summary by QodoApply Brass brand fonts to Android screens
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all |
Closes #306. The brand's fonts on the Android screens, as the debug page got them in 2.29.1 (#304).
assets/fonts/:BrassSerif-Bold.ttf,BrassMono-Regular.ttf,BrassMono-Bold.ttfnext to the page's.woff2, byte for byte the brand's files (brass 1.5.1); oneOFL.txt.BrassFontsTestchecks all seven files against the brand'sSHA256SUMSand that nothing else lies there.Brass: the faces are read once per process withTypeface.createFromAsset; an asset that does not open leaves the system serif / monospace.monospacestays as the fallback), the version under Exit (a span:TypefaceSpan(Typeface)is API 28). Bold text becomes Brass Mono Bold.tests/e2e.sh:SHOTS=1also takes the camera's Settings and the Reset question.Checks (local, Docker): unit tests, lint (13 warnings as before),
check-version.sh; e2e UDP API 21 19/19, UDP API 34 19/19, TCP API 21 20/20, TCP API 34 20/20. Screenshots before and after withSHOTS=1on API 21 and 34: menu, Network, Settings, Reset; nothing clipped.SHOTS=1on API 21 fails "no picture in Decoder" before and after the change alike (the lighter stream on the old emulator); the screenshots are taken anyway.The
.ttffiles add about 60 KB (compressed) to the APK.