fontmake.exe is a utility for creating font files that can be used with the HMI430.
Fontmake runs from the Windows command line. It will convert any TrueType or OpenType font into a ".fon" file that holds one size of the specified font. Thus you will need to create a separate file for each size you require.
To use the .fon files created by fontmake, drag them to the Internal Storage folder in your controller, then use SetFont() to display text using the font. Ensure the full length (including the extension) of the .fon file name remains under 32 characters.
These font files will not work on SimpleHMI for Android or Windows, they can only be used on SPLat touch screen controllers.
fontmake takes the following arguments:
fontmake.exe -s nn [-o output_file] [-m charmap_file] [-h] [-v] [-n] input_font_file
Where:
fontmake.exe -s 12 -o ../fonts/ "/Windows/Fonts/arial.ttf"
Creates ../fonts/arial_12.fon. Drag this file to the Internal Storage folder in your controller, then use #HMI SetFont( "arial_12.fon" ) to display text using the font.