Scalable Screen Font: Difference between revisions

m
[unchecked revision][unchecked revision]
m (added GOP link)
Line 36:
== Normal Renderer ==
 
There's another for user space applications. This one can render all three types of fonts, supports gzip compressed fonts, it can scale, anti-alias and kern glyphs. Has minimal libc dependencies (memset, memcmp, realloc, free) and compiles to about 28 kilobytes of code. (Just for completeness, you can compile it in total dependency-free mode if you define SSFN_STATICSSFN_MAXLINES, but then there'll be no internal glyph cache and you must provide inflated fonts only to ssfn_load().)
 
<source lang="c">
Anonymous user