Sign in to follow this  
Jethro_T

SDL_Surface Size

Recommended Posts

Does anyone know if I can somehow control the surface size when I render text using SDL_TTF. When I render a single glyph, no bigger than 10x10 pixels, the surface it produces is huge at 220 x 19.

If not, does anyone know exactly where the glyph will be rendered so I can cut the surface down to the approriate dimensions? Does it start at (0,0)?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this