The FontGen is a command-line program.
Configuration file format:
[config]
name = Arial Bold
code_page = 1252
char_start = 32
char_end = 255
bitmap_x = 512
bitmap_y = 512
spacing = 4
filename = arialbd.ttf
scale = 0.8
Code pages: https://en.wikipedia.org/wiki/Code_page#Windows_code_pages
Thanks !
Just trying on a .ttf (http://www.fontspace.com/julieta-ulanovsky/montserrat (http://www.fontspace.com/julieta-ulanovsky/montserrat)), what is the "-d" command line option ?
If I don't put it, fontgen crashes.
Whoopsie doopsie :-[
Thank you for the report. Bike tools updated to upgrade FontGen to the 1.01 version.
P.S.
The font should have been generated anyway, despite the crash at the end
.bat file
fontgen.exe config.ini font.tga
config.ini
name = font
char_start = 32
char_end = 255
bitmap_x = 512
bitmap_y = 512
spacing = 4
filename = wwDigital.ttf
scale = 0.8
the .tga is generated but cannot view it or be opened in photoshop ... what am i missing?
Quote from: PiBoSo on December 13, 2016, 09:29:26 PM
Whoopsie doopsie :-[
Thank you for the report. Bike tools updated to upgrade FontGen to the 1.01 version.
I still see the v1.0 at the usual link.
Quote from: PiBoSo on December 13, 2016, 09:29:26 PM
P.S.
The font should have been generated anyway, despite the crash at the end
True. And they do work fine in game :)
Passing the -d I had no crash and two .tga generated (I can open them, no problem for me).
Quote from: HornetMaX on December 13, 2016, 11:19:25 PM
I still see the v1.0 at the usual link.
???
Please try again. The file size should be 930,655 bytes.
My bad, works fine.
Damn PeaZip does not overwrite existing files by default ... ::)
(https://3.downloader.disk.yandex.ru/preview/7f55b18dffb8901911a807c05ca2108ef66622f9f4e2884c8863d5a11b651424/inf/e2vLCL96iw0rvJwCAQupR29sGXAzzv76ppiqelOOR2Lgpwjbsg4CvFB55_ZxAVtBTj2mDs9-vNX9_MKyrTPD6A%3D%3D?uid=0&filename=fontgen1.jpg&disposition=inline&hash=&limit=0&content_type=image%2Fjpeg&tknv=v2&size=XXL&crop=0)
You forgot to add "[config]" on top of the config.ini file.
Bike tools updated to upgrade FontGen to the 1.02 version.