Using Different Languages

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ADePSP
Posts: 58
Joined: Thu Jul 13, 2006 9:07 pm

Using Different Languages

Post by ADePSP »

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
pipspsp
Posts: 4
Joined: Sat May 13, 2006 1:43 am

Post by pipspsp »

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?
ADePSP
Posts: 58
Joined: Thu Jul 13, 2006 9:07 pm

Post by ADePSP »

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
mbf
Posts: 55
Joined: Fri Aug 18, 2006 7:43 pm

Post by mbf »

Checkout http://freetype.sourceforge.net/freetyp ... 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.
Post Reply