Skip to content

Nairou/fontstash-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fontstash-zig

Fontstash bindings for Zig!

Font stash is light-weight online font texture atlas builder. This version uses FreeType for high-quality glyph generation (see build-freetype.zig for the FreeType build script).

The code is split in two parts, the font atlas and glyph quad generator fontstash.zig, and a sample OpenGL 3 backend glfontstash.zig.

Example

See example.zig for a complete example.

The example pulls in several other dependencies (glfw, zgl, freetype) in order to get a working OpenGL window, but they can be ignored if you just want to see Fontstash API usage.

screenshot of the example program output

About

Fontstash bindings for Zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published