View Full Version : the font

01-15-2018, 04:27 PM
hello dev. the font tool from the drox sdk works but the font image is f*d up - the tga is always the same size. it just makes the left corner bigger. can you give us please a new font tool for zombasite? I want to translate it but I need cyrillic letters.

01-16-2018, 11:13 AM
Internally I'm still using the same font tool for Zombasite as I used for Drox.

The texture size will actually stay the same size in many cases because it needs to be a power of 2, but the actual letters will scale with the font size. Eventually as you request bigger and bigger sizes it will bump to the next power of 2.

01-16-2018, 11:36 AM
I'll upload the files in an hour or so

01-16-2018, 01:12 PM
here. i made it from Arial, renamed. the text in the game is blank, no matter english or not.

01-16-2018, 02:54 PM
I forgot that the font tool isn't smart enough to change the texture size on its own, so if the font at the specified size gets too big you need to specify a bigger texture size.

fontgen name Gentium size 28 textureSize 512

01-16-2018, 03:24 PM
it works now. the 48 still didn't fit in 512 so made it 1024