Scroll to navigation

TEXTURE-FONT-TO-PASCAL(1) User Commands TEXTURE-FONT-TO-PASCAL(1)

NAME

texture-font-to-pascal - convert ttf font to a Pascal source file

DESCRIPTION

texture-font-to-pascal: convert ttf font to a Pascal source file, based on types in Castle Game Engine CastleTextureFontData unit.

Usage:

texture-font-to-pascal [options...] MyFontFile.ttf

Available options:

-h / --help
Print this help message and exit

--size FONT-SIZE

--no-anti-alias

--sample-text TEXT
Load (if existing) all characters listed here. We also always add ASCII chars, unless --only-sample-text given.
--only-sample-text
Load only characters from --sample-text, do not add standard ASCII chars.
--unit-name UnitName
Set UnitName, by default we automatically calculate it based on font name and size.
--debug-log
See the log, showing e.g. the font image size.
--debug-font-image
Write to disk font images as png.

texture-font-to-pascal version 6.4. Created using Castle Game Engine ( https://castle-engine.io/ ) version 6.4. Compiled with FPC 3.0.4 (Linux / x86_64).

February 2018 Castle Game Engine