.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH TEXTURE-FONT-TO-PASCAL "1" "March 2024" "Castle Game Engine" "User Commands" .SH NAME texture-font-to-pascal \- convert ttf font to a Pascal source file .SH DESCRIPTION texture\-font\-to\-pascal: convert font file (like TTF or OTF) to a Pascal source file, based on types in Castle Game Engine CastleTextureFontData unit. .SS "Usage:" .IP texture\-font\-to\-pascal [options...] MyFontFile.ttf .SS "Available options:" .TP \fB\-h\fR / \fB\-\-help\fR Print this help message and exit. .HP \fB\-\-size\fR=\fI\,FONT\-SIZE\/\fR .HP \fB\-\-no\-anti\-alias\fR .TP \fB\-\-sample\-text\fR=\fI\,TEXT\/\fR Load (if existing in the font file) all the listed characters. You can use this parameter multiple times. .TP \fB\-\-sample\-code\fR=\fI\,TEXT\/\fR Load (if existing in the font file) the listed character code. You can use this parameter multiple times. .TP \fB\-\-sample\-get\-text\-mo\fR=\fI\,URL\/\fR Load (if existing in the font file) all the character codes present in translated strings in URL. URL must point to a GetText MO file, it can be a regular filename as well. You can use this parameter multiple times. .TP \fB\-\-only\-sample\-text\fR Load only characters from \fB\-\-sample\-text\fR and \fB\-\-sample\-code\fR, do not add standard ASCII chars. By default we add standard ASCII chars, regardless of \fB\-\-sample\-text\fR and \fB\-\-sample\-code\fR. .TP \fB\-\-function\-name\fR=\fI\,PASCAL\-FUNCTION\-NAME\/\fR Set function name to access the font. By default we automatically calculate it based on font name and size. .TP \fB\-\-unit\-name\fR=\fI\,PASCAL\-UNIT\-NAME\/\fR Set generated unit name. This also determines the output filename. By default we automatically calculate it based on function name (which in turn is automatically calculated based on font name and size). .TP \fB\-\-debug\-log\fR See the log, showing e.g. the font image size. .TP \fB\-\-debug\-font\-image\fR Write to disk font images as png. .PP texture\-font\-to\-pascal version 1.0. Using Castle Game Engine ( https://castle\-engine.io/ ) version 7.0\-alpha.2. Compiled with FPC 3.2.2. Platform: Desktop, OS: Linux, CPU: x86_64 (this exe is using 64\-bit architecture).