Helper class for generation of Signed Distance Field (SDF) fonts for REve.
Definition at line 4 of file TGLSdfFontMaker.h.
Static Public Member Functions | |
static int | MakeFont (const char *ttf_font, const char *output_prefix, bool verbose=false) |
Converts TTF font 'ttf_font' into a SDF font texture atlas (png format) and a compressed font metrics JSON file. | |
#include <TGLSdfFontMaker.h>
|
static |
Converts TTF font 'ttf_font' into a SDF font texture atlas (png format) and a compressed font metrics JSON file.
Both files are put into the directory given by 'output_prefix'.
Definition at line 94 of file TGLSdfFontMaker.cxx.