╭ changed ───────╮ │src/ui/Title.zig│ ╰────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────╮ │504 }, │ │505 else => null, │ │506 }; │ │507 +} │ │508 + │ │509 +// whether every char of `text` has a glyph │ │510 +pub fn covers(text: []const u8) bool { │ │511 + for (text) |c| { │ │512 + if (glyphFor(c) == null) return false; │ │513 + } │ │514 + return true; │ │515 } │ │516 │ │517 // map a 2x3 sub-pixel pattern to its corresponding sextant codepoint│ ╰──────────────────────────────────────────────────────────────────────────╯