Game Development Community

How to support Chinese Font?

by Hugeone · in Site Feedback · 08/21/2005 (1:09 am) · 17 replies

I want to develop the game with T2D, but it doesnot support Chinese Font. Please give me a suggesstion , thanks a lot!

#2
08/21/2005 (8:33 am)
I have tried to do it ,but I failured !

Please give me a suggestion ,thanks! Or post me the threads.
#3
08/22/2005 (10:47 am)
Just click on Teck's link, there's a list of different forum threads and resources for you. The first returned thread in particular addresses your question.
#4
08/22/2005 (11:39 am)
Unfortunatly, T2D owners do not have access to the fourms where these questions are answered....
#5
08/22/2005 (2:43 pm)
Hey Mark, thanks for that post, i got the code now :)
#6
08/23/2005 (6:37 am)
Sorry, I cannot access the thread through "Try doing a search first" link.
The link is "http://www.garagegames.com/mg/forums/result.thread.php?qt=14957".

The tip is :

=====================================
Forum Posts...

You do not have access to this forum thread.
=====================================

Why not, thanks a lot!
#7
08/23/2005 (11:22 am)
That post is in the TGE owner-only section. There's quite a bit of overlap between the various engines, but because you don't need TGE to get T2D, people like yourself are left without access to a lot of information that would be helpful to them.

GG should do something to address this problem, but I'm not sure what that would be.
#8
08/23/2005 (6:43 pm)
Thanks Mark!

I see. The post in the TGE posts.

If the T2d Engine can directly support the Chinese Font, for example, showing in the game screen and inputing in the GUI Editor etc, it will be better to us.

If not now, can you copy the TGE post thread and paste here? I want to know how to solve the matter .

Thanks .
#9
09/24/2005 (10:44 am)
Until now, I am sorry that I does not find a good solution , how to solve the Chinese Font supported.
I want to discuss with all friends, please help me to solve the matter.

Thanks in advance !
#10
09/24/2005 (2:25 pm)
Well, i know a way you can solve this, but it is a 'hack'. use a windows form always on top of the game graphics, and have your chinese font inside of that.

of course that only works for windows, and is probably too much of a hack. that and you need to figure out how to use windows forms with t2d. if you use my t2d.net it's easy, if not, well you figure it out :)
#11
10/04/2005 (6:28 am)
@Jason
Please tell me the solution however the "hack" method.
My game will run in the window platform.

Thanks .
#12
10/20/2005 (9:00 am)
Can nobody tell me the matter ?
I must do it again and read the codes. droof...
And I have not the direction to slove the question.
... ...

I want to tell the developers and designers, can the next version support the function?
Our need it.

Thanks at first.

~ HugeOne
#13
03/08/2006 (10:23 pm)
Continue ... ...
#14
03/09/2006 (12:06 pm)
@Hugeone: t2d should be supporting unicode now.

Though I'm guessing it's not been tested by anyone yet, so it might not work yet.

There are a few options if this is the case:

1) use some bitmap fonts and display them as sprites on your screen. This will require a lot of work for you but it is very straight forward, assuming you can find a set of chinese bitmaped fonts.

2) I think someone got Flash to render in their game before. That would be another way of displaying fonts/gui.

3) The windows hack would be to display a windows form. I am not a C++ programmer so unfortunatly I cant help you with what calls you need to the Win32 API's to make that work. (It is trivial to do so in c#, but this is not (currently) supported by anyone except me, so you would be severely limiting your code path at this point)

4) You could try rendering openGL directly to your window surface. I am not a game dev so I cant help you with doing this, but I think it would be fairly easy for anyone with c++ and opengl experience.

5) Have you enabled the unicode flag in t2d? I dont remember what it is, but someone mentioned that t2d doesnt build unicode automatically... you have to set a #DEFINE.

PS:I am very very sorry I cant be of more specific help. I honestly dont have time right now to do any game dev work, so this is all off of memory. I will definatly be experimenting with unicode support in the future however... but that will be around this time next year :/

-Jason
#15
03/11/2006 (7:41 am)
@Jason Swearingen

Thank you at first.
I will try it following your options.
#16
04/05/2006 (9:15 am)
I try it,but the lastest version of 1.1 doesnot support Chinese Font.

I want to make game with Chinese Font, please give me some sugguestion, thanks in advance.

TO the developers, which verison will support the Chinese Font or Unicode Char ? I want to know it. lol :)

~ HugeOne
#17
04/15/2006 (6:11 am)
Thats weird, I was seeing a lot of advertising about unicode support
before TGE 1.4 that I was thinking this have been throughly tested.
But in the last TGB beta 2 _UNICODE_ is only defined in the debug
build, and fundamental changes have been done in related classes
so I guess unicode support still is in testing fase... maybe I'm wrong
I don't have access to TGE 1.4