forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do I display text using a unicode font?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Mon Dec 04, 2006 3:59 pm    Post subject: How do I display text using a unicode font? Reply with quote

Hi all,

Does anyone have any ideas on how to display a text message using a unicode font?
What I am trying to do is install a japanese font (Simsun.ttf), and display a success message, in japanese, using the Simsun font, when accomplished.

Thanks in advance,
Hooligan

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Dec 05, 2006 2:16 am    Post subject: Reply with quote

a bit of possible lateral thinking here

how about displaying the message in a browser box using html ... would that do the job?

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Tue Dec 05, 2006 4:46 am    Post subject: Reply with quote

That might just do it... I'll see what I can do.

Thanks,
Hooligan

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Dec 05, 2006 10:50 am    Post subject: Reply with quote

Unfortunately even Delphi doesn't support Unicode.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Tue Dec 05, 2006 3:48 pm    Post subject: Reply with quote

Actually there are units and classes in Delphi which allow you to use Unicode characters for display. Theres many third party controls which can display unicode as well; tntware makes a nice set of freeware unicode controls for Delphi but only work under 2000/2003/NT/XP/Vista, earlier versions of Windows did not support unicode.
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Dec 06, 2006 8:58 pm    Post subject: Reply with quote

Hooligan,
Can you send me the font you are trying to use. It should be possible to do this with GadgetX since it is not local specific and has the abilities to call Unicode functions and ActiveX controls.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Wed Dec 06, 2006 10:38 pm    Post subject: Reply with quote

Hi Dragonsphere,

I certainly can, but it is a 10MB truetype font set... It is included in M$ Office installations or can be downloaded as part of a M$ support package here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=fc02e2e3-14bb-46c1-afee-3732d6249647&DisplayLang=en

It is also available with Windows XP Embedded, which is where I will use it from...

I will include a text file that uses this font. Open it in notepad and change the font to SimSun.

If you could make it work with GadgetX, that would give me the justification to have my company purchase it... Twisted Evil Wink

Thanks,
Hooligan



JapaneseReady.txt
 Description:

Download
 Filename:  JapaneseReady.txt
 Filesize:  442 Bytes
 Downloaded:  1207 Time(s)


_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Dec 12, 2006 12:51 am    Post subject: Reply with quote

Hooligan,
I have this working with GadgetX however I had to make a few small changes to the way GadgetX handled these string types. I was not happy with the old way. I will be packaging the new build either tonight or tomorrow. I will make sure to include an example for you to follow.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group