KallistiOS / kos-ports

Ported library collection for KallistiOS
Other
52 stars 33 forks source link

Initial commit of SDL_ttf #53

Closed QuzarDC closed 5 months ago

QuzarDC commented 7 months ago

Since we already have freetype and SDL, this was quite simple. The only caveat, which might (more properly) need an update to the kos-ports scripts, is the header for it. Normally SDL_ttf.h is installed into the same folder as SDL's general headers. The kos-ports scripts have no functionality for this that I could find, so instead I pull the existing SDL headers into the SDL_ttf inst folder and re-link to it as SDL.

Some part of this also creates a duplicated inst/include/SDL/SDL_ttf.h

Hopefully someone may have some suggestions on how to clean that up a bit, but if not it still just works (if a bit messy).