H5 font architecture[]

Heroes V texts are are defined in master font file texts.pak\UI\Fonts\FontsTable.(FontsTable).xdb. They are divided into 4 category types which are further divided into multiple sub-categories depending on font size. In brackets is the original font name.
- Header with subtypes sizes 22, 26, 32, 40 (Monotype Corsiva Bold)
- Default with subtypes sizes 18, 20, 22, 26, 32, 40 (Monotype Corsiva)
- System with subtypes sizes 10, 16, 24 (Century Gothic)
- Button with subtypes sizes 16 (Tahoma)
Reference of all files related to font implementation and their dependencies.
Requirements[]
- Download the Heroes 5 font generator tool[1].
- Extract it and put the H5FontGen.exe and H5FontGen.ini files in <Game folder>/bin
- The new font must be:
- installed on the computer
- TTF format[2]
Configure new font[]

- Launch H5FontGen.exe and edit boxes of choice.
- Font - New font that will be applied in the game
- Font Style - preferred styling of the chosen Font
- Script - preferred script styling of the chosen Font
- Size - letter size of the Font
- In-game face - List of in-game text types - Header, Default, System and Button text. Chose one the new font to be applied on
- In-game size - All in-game manifestations for the selected In-game face type. Note: To change the font for one text type, it should be applied on all subtype options (in-game sizes).
- Select Generate and the selected font will be applied to the specific In-game size slot of the In-game face type.
- Repeat steps 1 and 2 for all game text types and sizes new font should be applied on. Files that will implemented the change will be saved in <Game folder>/bin/Bin/Fonts/ and <Game folder>/bin/UI/Fonts folders.
- Make a .pak[3] file including the /Bin/Fonts and /UI/Fonts folders and put it in <game folder>/data.
- Start the game and test the new font
Reference list[]
- ↑ Heroes 5 Font Generator created by Novik
- ↑ What is TTF?
- ↑ What is .Pak file?