FontToTga

From Bohemia Interactive Community
Revision as of 13:28, 14 November 2013 by Pettka (talk | contribs) (Added information from readme)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basic information

Author:
Bohemia Interactive
Compatibility:
Arma 3
Download:
Part of Arma 3 Tools package on Steam

Description

Description:
This tool helps you to get your favourite TrueType font (.ttf) into Arma 3. It creates the needed .tga texture files containing the characters and the .fxy file, which tells the engine where the characters are on the texture.
Notes:
This readme was originally not written by BI staff but from members of the CWR˛ Mod team to provide you some help to get the tool working.

Usage

Line call:
FontToTga.exe options -size=XX fontName [destination]
Options:
fontName is the name of a font that is installed in C:\Windows\Fonts (not the name or path of .ttf file)
  • -bold
  • -italic

Licenses

Licensing:
Bohemia Interactive End User License Agreement


Additional information

You can individually use the FontToTga command line or use the provided generateFontFamily.bat file instead as a base. In the example generateFontFamily.bat "Arial" is the fontName and the following number the size of the font to be created. So if you execute the given bat file, six fonts should be created into the Fonts folder. You can define which characters are created by editing FontToTga.cfg.