Extract from Sample_MyE2B.cfg...
16-pixel high fonts
To include a different font, simply specify the path and filename of the font file in your MyE2B.cfg file, e.g.
E2B will always load the unifont.hex.gz file first to ensure that non-Latin characters like Chinese glyphs will be displayed correctly (unless NOUNIFONT=1 is specified). Then the other font will be loaded over the top of unifont.hex.gz if you have specified one using the FONT variable.
Note: If you have set BIOSFONT=1 then the BIOS font will be used for characters 0x20-0x7F. If you also specify a FONT to be loaded, the full unifont.hex.gz font will be loaded, then E2B will load the BIOS fonts for the 0x20-0x7F characters and then it will load the specified user font (which contains characters 0x20-0x7E if you use the E2B font files provided).
\_ISO\docs\Sample mnu files\E2B Menus\Font_Demo.mnu - This menu will add lots of different font choices to the Main menu so you can switch to any font (ASCII codes 32-127 only, so only standard ASCII English characters supported, so they can only be used for English because any special non-English characters will be displayed in the normal unifont font).
There are also other font .mnu files in the Sample mnu Files folder, e.g. Change_Font24.mnu will test large fonts, or you can copy the \_ISO\docs\Fonts\$FontTest.mnu file to the \_ISO\MAINMENU folder test any normal 16-pixel high font with your menu (or add some demo menus using \_ISO\Pimp_my_drive.cmd).
There is also a \_ISO\docs\Sample mnu Files\Change_Font.mnu file - copy this to the \_ISO\MAINMENU folder to test any of the 16-pixel high fonts with your menu.
If your chosen language requires special non-ASCII characters (i.e. non-English languages), use the default unifont file only.
See also blog page.
E2B v.1.78+ supports 24-pixel high large fonts, animation and stamps (see YouTube demo).
Use set FONTH=24 to use large fonts.
However, the default 24-pixel high font file does not contain as many glyphs as the 16-pixel high version (chinese+ASCII), so some languages are not supported.
Copy the \_ISO\docs\Sample mnu files\E2B Menus\Change_Font24.mnu file to the \ISO\MAINMENU folder.
One screen of 24-pixel high characters:
- 1024x768 = 85 characters by 32 lines
- 800x600 = 66 chars by 25 lines
You will need to change the menu box dimensions to fit. The E2B_Editor does not support large fonts.
See also \_ISO\docs\Templates\LargeFont and Animate config files (copy to \_ISO folder).
Some alternative 24-pixel high font files can be loaded using set FONT=, but they only contain a subset of mainly English characters, so if your language requires special non-ASCII characters, only use the default set FONTH=24.
See also blog page.
Adding more 24-high fonts
If you can find some 24-pixel high fonts in .BDF format, then you can use a Windows script to convert them into the correct format required for grub4dos.
Some 24-dot BDF fonts can be downloaded here.
Download MAKE-FONT24.zip from the Alternate Downloads Area - Other Files folder.
Unpack it and read the ReadMe files for more help.