example: add font_spritefont

This commit is contained in:
Timothy Fiss 2025-07-26 17:52:47 -06:00 committed by Nikolas
parent d39c75c234
commit 42956d00c0
2 changed files with 99 additions and 0 deletions

View file

@ -319,6 +319,11 @@ pub fn build(b: *std.Build) !void {
.path = "examples/text/font_sdf.zig",
.desc = "Demonstrates rending a sdf font",
},
.{
.name = "font_spritefont",
.path = "examples/text/font_spritefont.zig",
.desc = "Demonstrates rendering spritefonts",
},
.{
.name = "text_format_text",
.path = "examples/text/text_format_text.zig",