Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / What's the meaning of "Charset"?

Author
Message
Carlos
21
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 31st Oct 2004 18:51
What's the meaning of the second parameter "Charset" in SET TEXT FONT commend?
How can i use non-English fonts?

Carlos
medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 31st Oct 2004 19:12
In DB Pro click help/help contents/principles/ASCII character codes. And scroll down to the bottom of the screen. There you will find the codes to change the language (The charset value)

Currently re-writing the game and re-doing sprites for 800x600 (was 640x480). This game will get a release soon.
Carlos
21
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 31st Oct 2004 19:25
I have tried to use Chinese Fonts but it does not work.
Do anyone know how to use Chinese font to display Chinese Characters?

Carlos
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 31st Oct 2004 22:01
Are they installed on your machine?

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Carlos
21
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 1st Nov 2004 17:59
Yes,I have the "¼Ð·¢Åé" and "²Ó©úÅé" installed on my machine.
They are in C:\WINDOWS\FONTS\
I typed SET TEXT FONT "¼Ð·¢Åé" but the text showed were some strange characters.

Carlos
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Nov 2004 19:14
Carlos, i'm afriad the Character Sets don't work. Atleast not in any reasonably useful fashion.

God knows how they have been created, but they just don't work.
I've tried to get several languages (Russian, Japanese, and Korean) working with limited success.

Not sure if it is a case of how DBP handles strings or if it is a case of poorly implimented Character Sets functionality.
Really, considering most of Dark Basic Professionals clients use Windows XP which uses Unicode exclusively there is no reason to be using the old Character Sets. Infact what disappoints me even further is that the IDE itself can't handle Unicode characters either.

In my opinion this is a very bad practise considering it really forces non-latin based people to either conform to an English letter set or miss out.

Eitherway, it means if you want to have a Multi-Lingual game you'll have to code your own translation system (which is a pain in the backside!)


Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 2nd Nov 2004 07:38
I've tried using the japanese shift_jis font before, didnt work. Maybe a new plugin?

The second method would be saving every character as an image... *whistles at hd-space usage*

Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 2nd Nov 2004 07:54
Nah Baal, I think what hinders it really is the way it's implimented.
I'm still totally dumbfounded why it doesn't use UniCode IME, because DirectX9 (9.0c XNA) makes it a peice of cake to add.

Until then workarounds are needed.


Login to post a reply

Server time is: 2025-06-01 09:33:49
Your offset time is: 2025-06-01 09:33:49