Drawing Text in SDL

Started by
10 comments, last by MatrixCubed 17 years, 10 months ago
Quote:Original post by eektor
@ender_341 Thanks I need that. Does that deal with the font size as well or is that just the font type? For example what do I put in the parenthisis, Arial or 12?


Neither, you send it the TTF_Font that has the font loaded to it.
-Matt S.
Advertisement
I use LMNOpc Bitmap Font Builder to create bitmapped fonts of various sizes that will be used in my game, then use my general-purpose tile/sprite library to render the text onscreen.

This topic is closed to new replies.

Advertisement