| View previous topic :: View next topic |
| Author |
Message |
JoshDB

Joined: 05 Oct 2005 Posts: 87
|
Posted: Wed Jan 04, 2006 4:32 am Post subject: Rendering TrueType fonts |
|
|
Hey guys, coming back for help again ( :
I've successfully made a pretty interactive program in C. It has no real purpose, just a learning ground. Now I've installed Freetype, SDL, SDL_ttf, and have followed the tutorial at http://gpwiki.org/index.php/SDL_ttf:Tutorials:Basic_Font_Rendering regarding the loading and rendering of TTF font files.
Now, two things it doesn't tell me:
What lib (if any) do I need to link in the makefile?
What is the "destsurf" in the "drawtext" function.
It might just be me. All this code is in a regular C project. Is this for a SDL-specific file, hence the lack of a destsurf, or should it just be "screen"?
Ugh. I don't know what SDL is ( : |
|
| Back to top |
|
 |
JoshDB

Joined: 05 Oct 2005 Posts: 87
|
Posted: Thu Jan 05, 2006 2:15 am Post subject: |
|
|
| I waited 12 hours for bump =/ |
|
| Back to top |
|
 |
BlackPaladin
Joined: 06 Jan 2006 Posts: 11 Location: Portland, Oregon -- USA
|
Posted: Fri Jan 06, 2006 8:54 am Post subject: |
|
|
Search for SDL on google. It's a standardized cross-platform graphics/sound architecture. There are tutorials out there on this. _________________ Unix Junkie |
|
| Back to top |
|
 |
|