I was wondering if anyone had any good ideas on what would be the best
way to delay choosing a pt size for a font using SDL_ttf. I’d like to
be able to load a font ahead of time, and display it in several sizes…
right now the only way to do that is either to load all of the different
sizes seperately ahead of time or abstract the rendering of fonts to
reload a font and cache it every time a new point size is requested.
It seems like there must be a better way to do this. Is there a way to
resize a previously loaded font just providing a prefilled TTF_Font and
a new point size that I’ve just missed?–
End of Rant.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Size: 232 bytes
Desc: This is a digitally signed message part