Fonts problems
- Login to post comments
Fri, 09/21/2012 - 13:58
I and movildima worked on original fonts to add Cyrillic characters. But, we have some problems! The fact that the game does not understand the new fonts and does not want to use them. Why?
E.g.:
'Console' Image:
http://img253.imageshack.us/img253/6798/consolev.png
'Console' Code:
Define CharList ( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '_', '=', '+', '[', '{', ']', '}', ';', ':',"'", '"', ',', '<', '.', '>', '/', '?', '¡', '¢', '£', '¥', '§', '©', '®', '¿', 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', 'Ð', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Ø', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'ß', 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', 'ð', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'ø', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'А', 'Б', 'В', 'Г', 'Д', 'Е', 'Ж', 'З', 'И', 'Й', 'К', 'Л', 'М', 'Н', 'О', 'П', 'Р', 'С', 'Т', 'У', 'Ф', 'Х', 'Ц', 'Ч', 'Ш', 'Щ', 'Ъ', 'Ы', 'Ь', 'Э', 'Ю', 'Я', 'а', 'б', 'в', 'г', 'д', 'е', 'ж', 'з', 'и', 'й', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф', 'х', 'ц', 'ч', 'ш', 'щ', 'ъ', 'ы', 'ь', 'э', 'ю', 'я' 'Ґ', 'І', 'Ї', 'Є', 'Ў', 'ґ', 'і', 'ї', 'є', 'ў'); Define WidthList ( 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8); Define RectList ( ( 0, 0, 12, 21), ( 13, 0, 12, 21), ( 26, 0, 12, 21), ( 39, 0, 12, 21), ( 52, 0, 12, 21), ( 65, 0, 12, 21), ( 78, 0, 12, 21), ( 91, 0, 12, 21), ( 104, 0, 10, 21), ( 115, 0, 12, 21), ( 128, 0, 12, 21), ( 141, 0, 12, 21), ( 154, 0, 13, 21), ( 168, 0, 13, 21), ( 182, 0, 12, 21), ( 195, 0, 12, 21), ( 208, 0, 12, 21), ( 221, 0, 12, 21), ( 234, 0, 12, 21), ( 0, 21, 12, 21), ( 13, 21, 12, 21), ( 26, 21, 12, 21), ( 39, 21, 13, 21), ( 53, 21, 12, 21), ( 66, 21, 12, 21), ( 79, 21, 12, 21), ( 92, 21, 12, 21), ( 105, 21, 12, 21), ( 118, 21, 12, 21), ( 131, 21, 12, 21), ( 144, 21, 12, 21), ( 157, 21, 12, 21), ( 170, 21, 12, 21), ( 183, 21, 12, 21), ( 196, 21, 12, 21), ( 209, 21, 11, 21), ( 221, 21, 12, 21), ( 234, 21, 12, 21), ( 0, 42, 13, 21), ( 14, 42, 12, 21), ( 27, 42, 12, 21), ( 40, 42, 12, 21), ( 53, 42, 12, 21), ( 66, 42, 12, 21), ( 79, 42, 12, 21), ( 92, 42, 12, 21), ( 105, 42, 12, 21), ( 118, 42, 12, 21), ( 131, 42, 13, 21), ( 145, 42, 12, 21), ( 158, 42, 13, 21), ( 172, 42, 12, 21), ( 185, 42, 12, 21), ( 198, 42, 11, 21), ( 210, 42, 12, 21), ( 223, 42, 12, 21), ( 236, 42, 13, 21), ( 0, 63, 12, 21), ( 13, 63, 12, 21), ( 26, 63, 12, 21), ( 39, 63, 12, 21), ( 52, 63, 12, 21), ( 65, 63, 14, 21), ( 80, 63, 10, 21), ( 91, 63, 10, 21), ( 102, 63, 14, 21), ( 117, 63, 13, 21), ( 131, 63, 12, 21), ( 144, 63, 14, 21), ( 159, 63, 12, 21), ( 172, 63, 13, 21), ( 186, 63, 13, 21), ( 200, 63, 10, 21), ( 211, 63, 10, 21), ( 222, 63, 12, 21), ( 235, 63, 14, 21), ( 0, 84, 12, 21), ( 13, 84, 12, 21), ( 26, 84, 10, 21), ( 37, 84, 11, 21), ( 49, 84, 10, 21), ( 60, 84, 11, 21), ( 72, 84, 9, 21), ( 82, 84, 9, 21), ( 92, 84, 8, 21), ( 101, 84, 12, 21), ( 114, 84, 9, 21), ( 124, 84, 12, 21), ( 137, 84, 9, 21), ( 147, 84, 12, 21), ( 160, 84, 12, 21), ( 173, 84, 12, 21), ( 186, 84, 10, 21), ( 197, 84, 12, 21), ( 210, 84, 13, 21), ( 224, 84, 12, 21), ( 237, 84, 12, 21), ( 0, 105, 14, 21), ( 15, 105, 14, 21), ( 30, 105, 12, 21), ( 43, 105, 12, 21), ( 56, 105, 12, 21), ( 69, 105, 12, 21), ( 82, 105, 13, 21), ( 96, 105, 12, 21), ( 109, 105, 12, 21), ( 122, 105, 13, 21), ( 136, 105, 12, 21), ( 149, 105, 12, 21), ( 162, 105, 12, 21), ( 175, 105, 12, 21), ( 188, 105, 12, 21), ( 201, 105, 10, 21), ( 212, 105, 10, 21), ( 223, 105, 12, 21), ( 236, 105, 12, 21), ( 0, 126, 13, 21), ( 14, 126, 13, 21), ( 28, 126, 12, 21), ( 41, 126, 12, 21), ( 54, 126, 12, 21), ( 67, 126, 13, 21), ( 81, 126, 12, 21), ( 94, 126, 12, 21), ( 107, 126, 12, 21), ( 120, 126, 12, 21), ( 133, 126, 12, 21), ( 146, 126, 12, 21), ( 159, 126, 12, 21), ( 172, 126, 12, 21), ( 185, 126, 12, 21), ( 198, 126, 12, 21), ( 211, 126, 12, 21), ( 224, 126, 14, 21), ( 239, 126, 12, 21), ( 0, 147, 12, 21), ( 13, 147, 14, 21), ( 28, 147, 12, 21), ( 41, 147, 12, 21), ( 54, 147, 12, 21), ( 67, 147, 12, 21), ( 80, 147, 12, 21), ( 93, 147, 12, 21), ( 106, 147, 12, 21), ( 119, 147, 12, 21), ( 132, 147, 12, 21), ( 145, 147, 12, 21), ( 158, 147, 14, 21), ( 173, 147, 12, 21), ( 186, 147, 12, 21), ( 199, 147, 12, 21), ( 212, 147, 14, 21), ( 227, 147, 12, 21), ( 240, 147, 12, 21), ( 0, 168, 12, 21), ( 13, 168, 12, 21), ( 26, 168, 12, 21), ( 39, 168, 12, 21), ( 52, 168, 13, 21), ( 66, 168, 13, 21), ( 79, 168, 14, 22), ( 93, 168, 14, 22), ( 107, 168, 14, 22), ( 122, 168, 13, 22), ( 134, 168, 16, 22), ( 151, 168, 13, 22), ( 164, 166, 13, 24), ( 177, 168, 20, 22), ( 197, 168, 13, 22), ( 211, 168, 14, 22), ( 225, 166, 15, 24), ( 240, 168, 14, 22), ( 0, 190, 14, 20), ( 15, 190, 16, 20), ( 31, 190, 14, 20), ( 46, 190, 14, 20), ( 61, 190, 14, 20), ( 75, 190, 14, 20), ( 89, 190, 13, 20), ( 101, 190, 14, 20), ( 115, 190, 13, 20), ( 129, 190, 18, 20), ( 146, 190, 15, 20), ( 161, 190, 14, 20), ( 175, 190, 13, 20), ( 188, 190, 16, 20), ( 205, 190, 17, 20), ( 221, 190, 15, 20), ( 237, 190, 16, 20), ( 1, 210, 13, 20), ( 15, 210, 13, 20), ( 29, 210, 16, 20), ( 45, 210, 14, 20), ( 59, 210, 12, 20), ( 72, 210, 12, 20), ( 85, 210, 12, 20), ( 98, 210, 11, 20), ( 109, 210, 14, 20), ( 124, 210, 12, 20), ( 136, 210, 12, 20), ( 148, 210, 16, 20), ( 164, 210, 12, 20), ( 177, 210, 12, 20), ( 190, 210, 12, 20), ( 203, 210, 12, 20), ( 214, 210, 12, 20), ( 227, 210, 13, 20), ( 241, 210, 12, 20), ( 1, 229, 12, 21), ( 14, 229, 12, 21), ( 26, 229, 12, 21), ( 39, 229, 12, 21), ( 50, 229, 12, 21), ( 61, 229, 14, 21), ( 74, 229, 16, 21), ( 90, 229, 14, 21), ( 104, 229, 13, 21), ( 116, 229, 12, 21), ( 129, 229, 16, 21), ( 146, 229, 17, 21), ( 162, 229, 14, 21), ( 175, 229, 14, 21), ( 190, 229, 12, 21), ( 201, 229, 12, 21), ( 214, 229, 14, 21), ( 228, 229, 12, 21), ( 241, 229, 13, 21), ( 1, 248, 8, 20), ( 9, 248, 10, 20), ( 18, 248, 13, 20), ( 32, 248, 13, 20), ( 46, 248, 11, 20), ( 57, 248, 8, 20), ( 64, 248, 10, 20), ( 74, 248, 12, 20), ( 85, 248, 14, 22)); Define OffsetList ( (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-1, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-1, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-1, 0), (-1, 0), (-3, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-1, 0), (-1, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-1, 0), (-2, 0), (-1, 0), (-1, 0), ( 0, 0), ( 0, 0), ( 0, 0), (-2, 0), ( 0, 0), (-2, 0), ( 0, 0), (-2, 0), (-2, 0), (-2, 0), (-1, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-1, 0), (-1, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-2, 0), (-3, 0), (-3, 0), (-2, 0), (-2, 0)); CreateLayer Main; LayerSetImage Main 'console'; LayerSetAscent Main 15; LayerSetCharWidths Main CharList WidthList; LayerSetCharWidths Main (' ') (8); LayerSetImageMap Main CharList RectList; LayerSetCharOffsets Main CharList OffsetList; LayerSetAscentPadding Main 3; LayerSetLineSpacingOffset Main 0; LayerSetPointSize Main 10; SetDefaultPointSize 10;
Where is our error? Please, help us!
I haven't actually done any font editing myself, but what happens when you try to use it? That is, does WoG give an error, does it give no text at all, does it give the original text, etc?
New GooFans Rules | My Addins
WoG fonts were generated with the PopCap development framework tool. I forget what it's called, and they discontinued http://developer.popcap.com - maybe someone else remembers.
I have a copy, I'll look it up.
EDIT: For me it's just called FontBuilder.
But what encoding is on the TXT files? If it converts to ANSI or the like it will lose all the Cyrillic characters.
Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.
All TXT files were encoded in UTF-8, and I and Vladislav used this encoding.
We think that there miпре be a problem with image's height and width. Maybe the game is hardcoded to read only images with certain resolutions.
| MOM4Evr's chapter tutorial | My addins | Infernofans
Hm.
I'll try generating a font from something like DejaVu, which includes Cyrillic letters, and see if the game can read them.
Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.
WOW - since when Vladislav returned?
Just recently.
Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.
Yep, the mod "Russian Language pack" made me return.
Hm... I edit this code and have this:
Fixed: It works... But we have problem with coordinates of letters. Because they 'jumping' in the text.
To fix: Kerning must be bigger.
ENG:
So, what I have to edit?
RUS:
Так что мне надо изменить?
| MOM4Evr's chapter tutorial | My addins | Infernofans
ENG:
@movildima in text files all must match with count of characters. That is, the fields: Define WidthList, Define RectList and Define OffsetList.
RUS:
@movildima в файлах всё должно соответствовать количеству букв. То есть, полям: Define WidthList, Define RectList и Define OffsetList.
So... I worked on new font. I added ALL Russian, Ukrainian & Belorussian characters. Waiting for critics.
That's it:
In *OTF format: https://www.box.com/s/3yr0ow4b068a9h086jsv
In *TTF format: https://www.box.com/s/ghenmwgcprcb4efsap59
Have I made any error? If I have, then write this. I'll edit font. Thanks!
ENG:
I found a fontbuilder with russian letters support. Here
Its working with all the fonts, but it won't work with your font ;-(
Try it and tell me what you got.
RUS:
Я нашёл fontbuilder с поддержкой русских букв. Здесь
Он работает со всеми шрифтами кроме вашего ;-(
Попробуйте его и скажите, если что-то получиться.
EDIT: Actually its a HGE fontbuilder, so its not compatible with World of Goo ;-(
| MOM4Evr's chapter tutorial | My addins | Infernofans
ENG:
movildima... I dunno why it isn't work with.
I can't find program for building of fonts to make the same with original font.
BTW: in wogBig, letters size at 120pt.
Please help with looking for program!
RUS:
ENG:
movildima... Я не знаю почему оно не работает.
Я не могу найти программы для постройки шрифтов, чтобы сделать такие же как и в оригинале.
КСТАТИ: в шрифте wogBig, все буквы размером в 120 петитов.
Пожалуйста, помогите найти программу!