forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rendering TrueType fonts

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Wed Jan 04, 2006 4:32 am    Post subject: Rendering TrueType fonts Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Thu Jan 05, 2006 2:15 am    Post subject: Reply with quote

I waited 12 hours for bump =/
Back to top
View user's profile Send private message Send e-mail AIM Address
BlackPaladin



Joined: 06 Jan 2006
Posts: 11
Location: Portland, Oregon -- USA

PostPosted: Fri Jan 06, 2006 8:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group