Page 2 of 2

Re: Original Font Resurrected

Posted: 02 Aug 2008, 05:44
by Buginator
DevUrandom wrote:
elio wrote:ups :ninja: just saw this topic, amazing work :) i'm for put the font in the game
Just waiting for the "finished" call. ;)
And for feature parity with Dejavu of course. :P
(joke, I do not expect that to happen soon.)
Just what features does dejavu have over what has been done?

doom3r, I take it this will be licensed under GPL, since it used GPL content?

Re: Original Font Resurrected

Posted: 02 Aug 2008, 08:16
by elio
DevUrandom wrote:
elio wrote:ups :ninja: just saw this topic, amazing work :) i'm for put the font in the game
Just waiting for the "finished" call. ;)
And for feature parity with Dejavu of course. :P
(joke, I do not expect that to happen soon.)
ownd :stressed:

Re: Original Font Resurrected

Posted: 02 Aug 2008, 08:20
by craigengbrecht
I was interested in making a Font for the game, ttf type, please let me know if your still looking, I am currently working on it regardless.

Re: Original Font Resurrected

Posted: 02 Aug 2008, 09:37
by craigengbrecht
This is a partial work of the font, there is some legal information in there, I am not actually binding this to my name I could care less if someone does, I just want to help out. ;)
If there is any changes I could do better please let me know.

This is the current alphabet.
ABCDEFGHIJKLMNOPQRSTUVXYZ 1234567890 ("" Quotes) ' ' ' " ., ! _ $ # % *

Spacing can also be changed
I can do all extended languages.

Re: Original Font Resurrected

Posted: 02 Aug 2008, 10:47
by doom3r
elio wrote:
DevUrandom wrote: Just waiting for the "finished" call. ;)
And for feature parity with Dejavu of course. :P
(joke, I do not expect that to happen soon.)
ownd :stressed:
I don't see anything offensive there. :stare:
Parity with Dejavu would require a lot of time. It has... 3026 symbols :stressed: . Those includes hebraic and arabic letters, I don't think I'm gonna do those too. But about occidental letters I'm really close to parity (only 10 composite letters missing).

Just to let you know, I'm going to the seaside for two weeks so I won't have much freetime. I'll bring with me my vaio but I don't think I will use Internet, so I'll post updates starting from august 17th.

In the meantime I'll post a provisory version with Dejavu Cyrilic letters.
Warzone2100 v0.98t.rar

Re: Original Font Resurrected

Posted: 02 Aug 2008, 14:17
by Terminator
why not to include this front with Dejavu & use it only for Original Language ? (English only) in other cases use DeJavu. :ninja:

Re: Original Font Resurrected

Posted: 02 Aug 2008, 14:59
by doom3r
in other cases use DeJavu.
I'd say in cases of different alphabets, right now non-english languages (italian, french, spanish, portugese, dutch, etc) should be ok, I made symbols for those.

That could be a good idea, because the problem is that the original font hadn't got other alphabet other than latin, so I should design those myself (greek, for exmple, would be easier thatn cyrillic as I study it at school, although no greek translation is availible right now)...

Re: Original Font Resurrected

Posted: 02 Aug 2008, 15:15
by Per
craigengbrecht wrote:This is a partial work of the font, there is some legal information in there, I am not actually binding this to my name I could care less if someone does, I just want to help out. ;)
If there is any changes I could do better please let me know.

This is the current alphabet.
ABCDEFGHIJKLMNOPQRSTUVXYZ 1234567890 ("" Quotes) ' ' ' " ., ! _ $ # % *

Spacing can also be changed
I can do all extended languages.
Looks good. I could not actually test the font in-game, however, as it needs lower case letters first.

Re: Original Font Resurrected

Posted: 03 Aug 2008, 04:31
by craigengbrecht
Note: Starting over as the font that I have done is a little out of proportion.
I have tried to test it in game I am not quite sure how to do that, as a simple rename didn't work... I believe that the information is retrieved from the file itself internally, so... I wouldn't know how to change that.

Re: Original Font Resurrected

Posted: 03 Aug 2008, 06:32
by Buginator
doom3r wrote: I don't see anything offensive there. :stare:
Parity with Dejavu would require a lot of time. It has... 3026 symbols :stressed: . Those includes hebraic and arabic letters, I don't think I'm gonna do those too. But about occidental letters I'm really close to parity (only 10 composite letters missing).

Just to let you know, I'm going to the seaside for two weeks so I won't have much freetime. I'll bring with me my vaio but I don't think I will use Internet, so I'll post updates starting from august 17th.

In the meantime I'll post a provisory version with Dejavu Cyrilic letters.
Warzone2100 v0.98t.rar
3026? O_O
I wouldn't bother with all that, sounds like a massive amount of work if done by hand.
I wonder if there is a 'merge/replace' type utility, where you can merge/replace the stuff you want to replace, and keep the rest? That would be the best option.

I also think we could offer a choice of fonts for the user to pick, much like we do for what language. Though, I am not sure how we can tell if said language requires something in the font file that it don't have yet.

Anyway, enjoy your trip/vacation/whatever. :)

Re: Original Font Resurrected

Posted: 03 Aug 2008, 07:44
by craigengbrecht
The font I am working on handles all 3026 characters... but I have to make them all. So I will be a while, but once done I can make different versions that will be a breeze...
It handles the primary 4 versions of Latin based languages plus all the Asian and Character languages, in primary usage.

Latin Primary (English)
Latin Extended (Has symbols I dont know what their for Same for all the other ones that Latin has...)
Latin Extended A, Latin Extended B, Greek and Coptic, Cyrillic, Arabic, Devanagari, Hebrew, Katakana, Hangul, Thai, Georgian, Armenian, Bopomofo, Hiragana, Bengali, Gurmukhi, Gujarati, Sinhala, Telugu

I think that covers all if not most of the languages we use so if you need all of them tell me if not then I can add just the ones you want to use.

Re: Original Font Resurrected

Posted: 03 Aug 2008, 13:43
by Per
The font name is hardcoded in the source code at the moment, unfortunately. So to test it you have to either name your font (font name, not file name) exactly ""DejaVu Sans Mono", or change the font name at top of lib/ivis_opengl/textdraw.c and recompile. I will look into moving the font definition into the settings file to make this easier.

Re: Original Font Resurrected

Posted: 20 Aug 2008, 23:36
by Per
As of trunk r5841 you can now specify font name, as well as font faces for regular and bold, in the configuration file. Keep in mind that font name is the name given in the font file, not the font filename.