What about more languages/translations?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby esteel » Tue Jan 16, 2007 11:55 am

Well people play quake for 10 years and non-unicode was never a problem.. why create one? Yes it might be nice but i think its not needed.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby kneekoo » Tue Jan 16, 2007 12:20 pm

Who am I to argue such a thing? :P You're right, of course. People have been playing Quake the last decade and having English all-over it didn't keep them out. Being translated, though, might boost the project's popularity so that's another strong argument to consider.

I won't say games have auto-programming or auto-evolution mode. There's human effort in every new feature and we're already enjoying the current outcome. We are grateful for that. You did that for us. Now making it multi-language might make it more rewarding for you, because new people can join. Translators will be ready when you are. Until then, keep up the good work. :)
kneekoo
Newbie
 
Posts: 8
Joined: Mon Dec 11, 2006 11:43 am
Location: Romania

Postby esteel » Tue Jan 16, 2007 1:24 pm

kneekoo wrote:Who am I to argue such a thing? :P You're right, of course. People have been playing Quake the last decade and having English all-over it didn't keep them out. Being translated, though, might boost the project's popularity so that's another strong argument to consider.

Hehe what i meant was that the way the engine and its font system work are not prepared for unicode.. all they do so far are at max 256 characters and i'm not sure how easy it would be to change this. For knowing that i think divVerents idea to just replace some of the now used glyphs with common european characters is the most promising idea and is also rather easy compared with huge rewrites of internal stuff. I have little clue about the engine itself so maybe its easier then one thinks but from what i learned while programming thats a thing that has not happend to any programmer yet :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby divVerent » Wed Jan 17, 2007 8:21 am

However, Darkplaces DOES need a better font renderer. Currently it takes an image and divides it into 16 rows/columns of characters, just like Quake did. This also means that fonts are necessarily fixed width.

If there is some way to get a TTF renderer in, why not - but the problem is that:

  • the main engine developer lives in the US, and TTF's hinting is covered by software patents
  • TTF renderers are quite large and not exactly portable
  • Internals of the engine rely on fixed width character cells (well, in Nexuiz the chat area feature also brought some readiness for variable width character sets; but we don't have a format for such fonts we can use, and stuff like centerprint still wouldn't work with that)


And no, one cannot rely on the user environment's font renderer (Windows' Truetype or X.org's Freetype) in OpenGL applications.

Another problem: games need to take full control of the keyboard (in X11 language, they "grab" the keyboard) so for example accidentally pressing the Windows key doesn't minimize the game and open the start menu. However, when that is done, shortcuts to switch keyboard layouts don't work either. So on a Russian keyboard, one then can't switch between Cyrillic and Latin characters. What also is impossible under these circumstances are input method editors like used for Asian languages which have LOTS of characters. However, if there's demand, we can code specific support for Russian keyboard layout.

What may come is variable width font support at least for chat and info messages.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby kneekoo » Sat Jan 20, 2007 1:54 pm

So TTF is not a choice as well as fixed type characters are. But how about SVG? It's scalable, open standard and we could create nice graphical fonts with open source software to have every message displayed as needed.

What do you think of this one? :)
kneekoo
Newbie
 
Posts: 8
Joined: Mon Dec 11, 2006 11:43 am
Location: Romania

Postby leileilol » Sat Jan 20, 2007 7:24 pm

Wudan got freetype working in q3 once, and getting things to work in Q3 is hard.

One of the main advantages of using freetype (and such) is the east asian language support. :P
field hockey
leileilol
Alien trapper
 
Posts: 299
Joined: Tue Feb 28, 2006 10:00 pm
Location: pole vaulting

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron