Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: How can I write in a different language characters such Arab [Re: jcl] #293921
10/14/09 19:40
10/14/09 19:40
Joined: Oct 2009
Posts: 18
yemen
W
wesam Offline OP
Newbie
wesam  Offline OP
Newbie
W

Joined: Oct 2009
Posts: 18
yemen
Originally Posted By: jcl
In that case you really need a Truetype font. Look for a font that has arabic characters, but only 128 or 256 characters. That's not a Unicode font and will work with char* and STRING*.

In the strings in your script, you then need to type the ASCII equivalent of a certain Arabic letter. This won't look arabic, but will with that font. You can temporarily switch SED to the Arabic font for seeing it.


OK I will search for that . but about the ascii code equivalent for the certain arabic letters , do you mean I should put the value[number] of the ASCII code that corresponds to the arabic letters?

and thank you after all .

regards
wesam

Last edited by wesam; 10/14/09 19:46.
Re: How can I write in a different language characters such Arab [Re: Tobias] #293925
10/14/09 19:59
10/14/09 19:59
Joined: Oct 2009
Posts: 18
yemen
W
wesam Offline OP
Newbie
wesam  Offline OP
Newbie
W

Joined: Oct 2009
Posts: 18
yemen
Originally Posted By: Tobias
Maybe, you can use a non Unicode font from here:

http://www7.bev.net/civic/icb/ICB_Arabic.html


I accessed into the site and tried the font there. Finally, it was working fine after all. see below :

It's not that pretty. it is usefull by now till we find another one .
and thank you very very very much .
regards
wesam

Re: How can I write in a different language characters such Arab [Re: Cowabanga] #293926
10/14/09 20:05
10/14/09 20:05
Joined: Oct 2009
Posts: 18
yemen
W
wesam Offline OP
Newbie
wesam  Offline OP
Newbie
W

Joined: Oct 2009
Posts: 18
yemen
Originally Posted By: Cowabanga
I actually don't know what's the problem with your code, i just use Truetype and then i type in Arabic, sometimes i have to flip the words, like... الجمل Cheese. I'll have to write it like this: لمجلا eseehC.
And it'll work.


I agree with you in the way you mentioned that the characters must be written in revers ordered.

thanks after all
regards
wesam

Re: How can I write in a different language characters such Arab [Re: wesam] #293927
10/14/09 20:16
10/14/09 20:16
Joined: Oct 2009
Posts: 18
yemen
W
wesam Offline OP
Newbie
wesam  Offline OP
Newbie
W

Joined: Oct 2009
Posts: 18
yemen
Me and my team send our regards to you all guys. And if I found an other arabic true type font I'll inform you all for the results.


thanks
wesam

Re: How can I write in a different language characters such Arab [Re: wesam] #293928
10/14/09 20:44
10/14/09 20:44
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
by the way..

Is there a way to let the game automatically install the font, if it doesn´t exist in the Windows Directory?


I know, in Rpg-maker XP, you put your game Fonts into the projects Subfolder
"Projectname/FONTS/"

And a Script asks for them in Windows.. if they don´t exist, it installs them automatically..


Would be a good feature ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: How can I write in a different language characters such Arab [Re: Espér] #293943
10/15/09 01:33
10/15/09 01:33
Joined: Oct 2009
Posts: 18
yemen
W
wesam Offline OP
Newbie
wesam  Offline OP
Newbie
W

Joined: Oct 2009
Posts: 18
yemen

Quote:
Is there a way to let the game automatically install the font, if it doesn´t exist in the Windows Directory?

To make this happen , I know one way . You should use a bmap font which means when the engin is going to call the font , it will look-up within your project folder.

I don't know if there is another way to make this happen for the true type font !

regards
wesam

Last edited by wesam; 10/15/09 01:35.
Re: How can I write in a different language characters such Arab [Re: wesam] #293971
10/15/09 09:06
10/15/09 09:06
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Your lite-C program can call a Windows function such as AddFontResource for installing a TTF font. Details about this can be found in the Windows API documentation, or google for AddFontResource.

Page 3 of 3 1 2 3

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1