Need help drawing TTF font.

Started by Crimson Wizard, Thu 10/12/2009 01:00:36

Previous topic - Next topic

Crimson Wizard

I am seeking for people who could draw 66 cyrillic letters (33 capital and 33 small) having standart latin TTF font as an example.

I could do that myself, but I never used any tool for drawing TTF; I downloaded FontForge (mingw version) and I think I understand how to use it, but yet I lack practical experience greatly. So if anyone can give me a hand, please tell.

You can look at a sample of cyrillic alphabet here: http://en.wikipedia.org/wiki/Windows-1251, it starts from symbol 192 ("А"). I have a TTF font which has only base latin characters and I need cyrillic letters of same style. Since some of the cyrillic letters are very similar (if not identical) to latin ones, this task becomes slightly easier.

EDIT: font is really simple, no curves, only straight lines, as far as I can see.

Lufia

Granted, I don't know much about ttf and how AGS handles them, but to have Russian characters actually display, I think you'll have to replace latin characters with the russian ones. For example, using an Arial font, é gets displayed while Å" doesn't. I think AGS stops at the first 256 unicode characters, the usual place for cyrillic is out of bounds.

I don't know anything about fontforge myself, but I'd be willing to give you a hand.

FSi++

Quote from: Lufia on Thu 10/12/2009 09:35:41
Granted, I don't know much about ttf and how AGS handles them, but to have Russian characters actually display, I think you'll have to replace latin characters with the russian ones. For example, using an Arial font, é gets displayed while œ doesn't. I think AGS stops at the first 256 unicode characters, the usual place for cyrillic is out of bounds.

I don't know anything about fontforge myself, but I'd be willing to give you a hand.

It's possible with some hacked 256-character fonts that have cp1251 (Russian windows codepage) characters instead of the second part of latin ones. I recall using russian fonts from a pirated copy of M$ Office 7, which were just like that (and recognized by AGS).

Crimson Wizard

#3
Quote from: Lufia on Thu 10/12/2009 09:35:41
Granted, I don't know much about ttf and how AGS handles them, but to have Russian characters actually display, I think you'll have to replace latin characters with the russian ones. For example, using an Arial font, é gets displayed while Å" doesn't. I think AGS stops at the first 256 unicode characters, the usual place for cyrillic is out of bounds.

I don't know anything about fontforge myself, but I'd be willing to give you a hand.

Lufia, I know that you have to put needed characters within first 256 symbols, I already figured that ;). Problem is that I want to use same font style as original english version, and the font that original game used does not have cyrillic letters at all, no I cannot just copy them to 192+ places (as I wished I could).
I tried many other standart fonts but unfortunately they are too large and look awfull in game (if you use small size text is unreadable, if you use larger size they break game interface).
I like game's font because it is quite small and pretty well readable at the same time.

I actually do not care if font is drawn in FontForge or any other editor, it just should be TTF. I have original TTF with english characters, as I said, and if you really can draw TTF relatively easy, I can give it to you so you can try to help me :), otherwise (if you can't), I am afraid I am going to draw it myself, which will take some time....  ::)

EDIT: By the way, Lufia, I recall I saw a font you drew: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=39439.0
is it TTF?

EDIT2: Just a note why I do not want to use SCI font, hich is far easier to draw. As stated in manual, SCI fonts only contain up to 128 chars, while cyrillics should start from 192th in ANSI coding, which AGS uses. So, if I was to use SCI font, I had to write translation text not in russian but in some substitutive "pseudolanguage", which really sucks.

Lufia

Nah, that was a bitmap font, drawn pixel by pixel. Fonforge uses raster graphics. There are two encoding for Cyrillic in there actually: ISO 8859-5 and KOI8-R ; that means you should be able to type the Russian characters correctly in a text editor using this font, I guess.

The glyph editor looks easy enough to use. I'm just not sure what size to set, but if you have a font I can open and edit, I'll just use that as a model.

Crimson Wizard

Quote from: Lufia on Thu 10/12/2009 21:04:04
The glyph editor looks easy enough to use. I'm just not sure what size to set, but if you have a font I can open and edit, I'll just use that as a model.
Well, I PMed you link to original font.

Shane 'ProgZmax' Stevens

There's a wonderful free online tool that I've used in the past called bitfontmaker.  Give it a try, it's super easy to use and generates 100% compatible ttfs.

http://www.pentacom.jp/soft/ex/font/edit.html

SMF spam blocked by CleanTalk