cFosSpeed is the official Internet Accelerator for ASUS, GIGABYTE, ASRock and MSI gaming products
New! By the makers of cFosSpeed: The cFos EVSE

The font definition

Skins usually contain several text sections for conveying alphanumeric status information. The required parameters are typically entered individually for each respective section. However, there are some parameters that do depend on the font image chosen for a section rather than the section itself. Since such parameters are the same for all sections using a particular font image, it would be redundant – even nonsensical – to repeat them over and over again for each section. Thus, for the sake of economy, we use a font definition to write them down once and then refer back to this section as needed:

  fontbitmapchars=0 123456789KMGT.?
In this section, font1 is the name of the font. This will come into play later on when it's used to assign that font to different text sections.
The fontbitmap is the bitmap containing the font image. For this tutorial, we chose a font that is part of the cFosSpeed "Numerical" skin and can either be found in the default_skin subdirectory of your cFosSpeed installation (e.g., C:\Program Files\cFosSpeed\default_skin) or downloaded from here.

numchars.tgaIt contains a small frame for every character listed after fontbitmapchars – aligned from top to bottom.
Each frame is as wide and high as defined under framewidth and frameheight, respectively.

Note that the space (i.e., the "blank" character) should not be put at the beginning or end of the character list, as the program would not recognize it there.

And don't worry about the "?" not being properly displayed – this is just a dummy we'll later use to format text output.
There are also a lot of other advanced text definition methods available on our skin definition reference page.

Next step: Adding the first graphical [disp] section: an animation

The INI file / [all] section The animation method Index