summaryrefslogtreecommitdiff
path: root/ui_sdl.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-03 09:33:12 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit153f0a88862507cf1f5dda71f71db3d6649dfeaa (patch)
tree7538291e50865317cec1028d5cb31c778861b3f8 /ui_sdl.zig
parentda3263702e39574046b56586df8465b8eccdab7d (diff)
downloadpardes-153f0a88862507cf1f5dda71f71db3d6649dfeaa.tar.gz
pardes-153f0a88862507cf1f5dda71f71db3d6649dfeaa.zip
patched font to maplemono
Diffstat (limited to 'ui_sdl.zig')
-rw-r--r--ui_sdl.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui_sdl.zig b/ui_sdl.zig
index 2e3f8afa..8bc68db5 100644
--- a/ui_sdl.zig
+++ b/ui_sdl.zig
@@ -15,7 +15,7 @@
// false), so image.zig falls back to its PETSCII cell-art path — which renders
// fine here, since it just writes cells.
//
-// This is the quick-and-dirty first cut: ASCII + box-drawing + block glyphs via
+// This is the quick-and-dirty first cut: ASCII + box-drawing + Nerd Font glyphs via
// a fixed 1024² R8 atlas (dynamic, grows as new codepoints appear), reverse /
// invisible / dim honored, bold/italic/underline/strikethrough ignored. Terminal
// appearance is preserved: a monospace grid of styled cells on a dark page.
@@ -62,7 +62,7 @@ pub fn Loop(comptime EventType: type) type {
return SdlLoop(EventType);
}
-const font_ttf = @embedFile("assets/DejaVuSansMono.ttf");
+const font_ttf = @embedFile("assets/MapleMono-NF-Regular.ttf");
const vert_spv_bytes = if (is_emscripten) "" else @embedFile("ui.vert.spv");
const frag_spv_bytes = if (is_emscripten) "" else @embedFile("ui.frag.spv");
const vert_glsl_es = if (is_emscripten) @embedFile("ui.vert.es.glsl") else "";