diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-03 09:33:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 153f0a88862507cf1f5dda71f71db3d6649dfeaa (patch) | |
| tree | 7538291e50865317cec1028d5cb31c778861b3f8 /ui_sdl.zig | |
| parent | da3263702e39574046b56586df8465b8eccdab7d (diff) | |
| download | pardes-153f0a88862507cf1f5dda71f71db3d6649dfeaa.tar.gz pardes-153f0a88862507cf1f5dda71f71db3d6649dfeaa.zip | |
patched font to maplemono
Diffstat (limited to 'ui_sdl.zig')
| -rw-r--r-- | ui_sdl.zig | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ""; |
