[SDL] sdl_ttf font sizes

Dominique Louis Dominique at SavageSoftware.com.au
Mon Jul 29 15:33:01 PDT 2002


The showfont.c demo should give you all the information you require.

Dominique.

Chris Thielen wrote:
> i think i asked this a while ago with no response (if i'm wrong,
> somebody point me to the responses), but here goes again:
> 
> in sdl_ttf, is there a way to change the font size used when rendering
> surfaces _after_ the lib as been initialized? my glance at the header
> file didnt reveal a function to do so, but if sdl_ttf is a wrapper
> around freetype, i would hope freetype would have a simple function to
> change font sizes.
> 
> anybody know of a way to switch the size (point size) of a font after
> sdl_ttf has been initialized? thanks.
> 
> -- chris (chris at luethy.net)
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 
> 


-- 
http://www.DelphiGamer.com := for all your Object Pascal game 
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL; 
Cross-platform game development with Pascal, has never been easier.





More information about the SDL mailing list