Add display components 041-065; move Icon into display; QR via rsc.io/qr

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 18:37:54 -04:00
1 parent 59fde4096d
commit 0247a130f5
41 files changed
+2152 -44

No files matched your search

+10
View File
@@ -90,6 +90,16 @@ func microGlyph(r rune) [MicroHeight]uint8 {
return g
}
// MicroOK reports whether the micro font has all of s.
func MicroOK(s string) bool {
for _, r := range s {
if _, ok := micro[unicode.ToUpper(r)]; !ok {
return false
}
}
return true
}
// MicroWidth returns the width of s in dots.
func MicroWidth(s string) int {
n := 0