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).
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).