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 

Using Different Languages

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



Joined: 13 Jul 2006
Posts: 58

PostPosted: Tue Sep 05, 2006 6:12 am    Post subject: Using Different Languages Reply with quote

I hope this question has a simple answer...

Someone on another forum (a French user) has been trying to adapt the source I released for my Deal or No Deal homebrew game for a French audience but he is having problems displaying French characters such as €.

€ is abviously not an ASCII character so what would need to be done to display it...? I was thinking something to do with the setlocal function but have never messed about with this...

If anyone knows I'm sure this guy would appretiate it...

In the spirit of international relations and all it would be good to see my verson of the game enjoyed in another language...

ADe
Back to top
View user's profile Send private message
pipspsp



Joined: 13 May 2006
Posts: 4

PostPosted: Tue Sep 05, 2006 9:30 am    Post subject: Reply with quote

add a font lib
then change the default font to a french one.
I don't remember your game. A link would be nice;P
did youuse the printf() or were you blitting stuff?
Back to top
View user's profile Send private message
ADePSP



Joined: 13 Jul 2006
Posts: 58

PostPosted: Thu Sep 07, 2006 4:08 am    Post subject: Reply with quote

pipspsp wrote:
add a font lib
then change the default font to a french one.
I don't remember your game. A link would be nice;P
did youuse the printf() or were you blitting stuff?


I used freetype so maybe I could replace with a french font but i'm not sure if true type fonts come in different languages... Sounds like a good possible idea...

PSPUpdates reviewed my version of this gameshow here,
http://pspupdates.qj.net/index.php?pg=49&aid=63015
Back to top
View user's profile Send private message
mbf



Joined: 18 Aug 2006
Posts: 55

PostPosted: Thu Sep 07, 2006 9:54 pm    Post subject: Reply with quote

Checkout http://freetype.sourceforge.net/freetype2/docs/tutorial/step1.html, section 6.a. "Converting a character code into a glyph index". By default freetypes assumes that you use UNICODE. The unicode for € is 0x20AC.
Back to top
View user's profile Send private message
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