4 releases
0.1.6 | Mar 25, 2021 |
---|---|
0.1.5 | Feb 12, 2021 |
0.1.3 | Jan 12, 2021 |
0.1.2 | Jan 12, 2021 |
#1351 in Game dev
39 downloads per month
Used in rokol
78KB
387 lines
fontstash-rs
lib.rs
:
Wrapper of fontstash (actually a fork of it)
Custom renderer
fontstash
is render-agnonstic. You can pull FonsQuad
s via FonsTextIter
and batch them to
make draw calls.
Multiple lines of text
fontstash-rs
doesn't handle multiple lines of text out of the box. You would need some layer to
draw or measure them.
TODOs
- support state push/pop
Dependencies
~0–2.3MB
~45K SLoC