are there any tool to convert .TTF fonts into .FNT compatible with gfxmenu?
I tried with the file 16x16.fnt of SuSe ant it works! but I want more
Posted 13 December 2010 - 01:48 AM
Posted 13 December 2010 - 01:52 PM
Usage: mkblfont [options] fontfileAnyone know how to do it? I tried a lot of combinations, but none results...
![]()
From what package you take Mkblfont?I tried with the file 16x16.fnt of SuSe ant it works! but I want more
Watsh on YouTube @DED-LEGO@_v3.0_multiBACK+muliFONT_example.avi
==============================
TTF-2-FNT.cmd
@echo off
echo.
echo.
echo.List of system TTF fonts and EEC:
dir %systemroot%\fonts\*.ttf %systemroot%\fonts\*.ttc /w /o:N | find ".tt" /i
set /p .fnt_name=Enter the font name without spaces and extension:
set /p .fnt_size=Font Size:
set /p .fnt_hight=The height of text string:
set /p .fnt_space=Gap width in pixels:
set /p .fnt_plus=The additional spacing between letters:
IF "%.fnt_name%"=="" exit /b
IF "%.fnt_size%"=="" exit /b
IF "%.fnt_space%"=="" exit /b
IF "%.fnt_plus%"=="" exit /b
IF "%.fnt_hight%"=="" exit /b
::: We list the character codes included in our set
::: (Eg, punctuation, Latin, Cyrillic)
echo.
set .fnt_chrs=0x20-0x7e,0x0410-0x045f
mkblfont.exe -v -l %.fnt_size% -a %.fnt_chrs% -f %.fnt_name%:prop=%.fnt_plus%:space_width=%.fnt_space%:size=%.fnt_hight%:nobitmap=1:autohint=1 "%.fnt_name%-sz%.fnt_size%-h%.fnt_hight%_%.fnt_space%+%.fnt_plus%.fnt" >nul
Echo.Done
Edited by ded, 13 December 2010 - 02:24 PM.
Posted 13 December 2010 - 11:34 PM
Posted 14 December 2010 - 07:57 AM
Balance between size and height can help you achieve the desired effect. Compare two versions:thanks a lot ded! the script works fine! but I have more questions:
1-why no matters the number that I put in "Font Size:" but only "The height of text string:"?
2- how I can setup the space between lines of the menu?
Thanks again. It's obviously that you are a master on this!

Posted 14 December 2010 - 08:07 AM
Alternative. If you have a source of gfxboot (*. inc-files), you can edit them. It's that simple.2- how I can setup the space between lines of the menu?
Edited by ded, 14 December 2010 - 08:24 AM.
Posted 15 December 2010 - 09:01 PM
Posted 16 December 2010 - 05:07 PM
Posted 12 May 2011 - 12:55 AM
0 members, 0 guests, 0 anonymous users