781202223d
This commit extends the optional currently existing low level font baking API with another more high level font atlas API. The font atlas takes away some fine grained memory control from the user but is easier to use and to understand than the lower level API. I added combined with the font atlas a optional default font which allows running the library without a user provided truetype font. While user friendly it is quite big (~12kb) so I added a compiler flag to remove it from the library while compiling if not wanted. Finally I added some additional compiler flags to allow easier to use APIs. The downside is that all of them require the standard library, so if you don't want to add the standard C library I would recommend deactivating all flags marked as standard library flags. |
||
---|---|---|
.. | ||
linuxgl.c | ||
Makefile |