Navigation
API > API/Runtime > API/Runtime/Engine
Font import options
| Name | FFontImportOptionsData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/FontImportOptions.h |
| Include Path | #include "Engine/FontImportOptions.h" |
Syntax
USTRUCT ()
struct FFontImportOptionsData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFontImportOptionsData() |
Default constructor. | Engine/FontImportOptions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAlphaOnly | uint32 | If true then forces PF_G8 and only maintains Alpha value and discards color | Engine/FontImportOptions.h |
|
| bCreatePrintableOnly | uint32 | Skips generation of glyphs for any characters that are not considered 'printable' | Engine/FontImportOptions.h |
|
| bEnableAntialiasing | uint32 | Whether the font should be antialiased or not. Usually you should leave this enabled. | Engine/FontImportOptions.h |
|
| bEnableBold | uint32 | Whether the font should be generated in bold or not | Engine/FontImportOptions.h |
|
| bEnableDropShadow | uint32 | Enables a very simple, 1-pixel, black colored drop shadow for the generated font | Engine/FontImportOptions.h |
|
| bEnableItalic | uint32 | Whether the font should be generated in italics or not | Engine/FontImportOptions.h |
|
| bEnableLegacyMode | uint32 | Enables legacy font import mode. | Engine/FontImportOptions.h |
|
| bEnableUnderline | uint32 | Whether the font should be generated with an underline or not | Engine/FontImportOptions.h |
|
| bIncludeASCIIRange | uint32 | When specifying a range of characters and this is enabled, forces ASCII characters (0 thru 255) to be included as well | Engine/FontImportOptions.h |
|
| bUseDistanceFieldAlpha | uint32 | If true then the alpha channel of the font textures will store a distance field instead of a color mask | Engine/FontImportOptions.h |
|
| CharacterSet | TEnumAsByte< enum EFontImportCharacterSet > | Character set for this font | Engine/FontImportOptions.h |
|
| Chars | FString | Explicit list of characters to include in the font | Engine/FontImportOptions.h |
|
| CharsFilePath | FString | Path on disk to a folder where files that contain a list of characters to include in the font | Engine/FontImportOptions.h |
|
| CharsFileWildcard | FString | File mask wildcard that specifies which files within the CharsFilePath to scan for characters in include in the font | Engine/FontImportOptions.h |
|
| DistanceFieldScaleFactor | int32 | Scale factor determines how big to scale the font bitmap during import when generating distance field values Note that higher values give better quality but importing will take much longer. | Engine/FontImportOptions.h |
|
| DistanceFieldScanRadiusScale | float | Shrinks or expands the scan radius used to determine the silhouette of the font edges. | Engine/FontImportOptions.h |
|
| ExtendBoxBottom | int32 | How much to extend the bottom of the UV coordinate rectangle for each character in pixels | Engine/FontImportOptions.h |
|
| ExtendBoxLeft | int32 | How much to extend the left of the UV coordinate rectangle for each character in pixels | Engine/FontImportOptions.h |
|
| ExtendBoxRight | int32 | How much to extend the right of the UV coordinate rectangle for each character in pixels | Engine/FontImportOptions.h |
|
| ExtendBoxTop | int32 | How much to extend the top of the UV coordinate rectangle for each character in pixels | Engine/FontImportOptions.h |
|
| FontName | FString | Name of the typeface for the font to import | Engine/FontImportOptions.h |
|
| ForegroundColor | FLinearColor | Color of the foreground font pixels. | Engine/FontImportOptions.h |
|
| Height | float | Height of font (point size) | Engine/FontImportOptions.h |
|
| Kerning | int32 | The initial horizontal spacing adjustment between rendered characters. | Engine/FontImportOptions.h |
|
| TexturePageMaxHeight | int32 | The maximum vertical size of a texture page for this font in pixels. | Engine/FontImportOptions.h |
|
| TexturePageWidth | int32 | Horizontal size of each texture page for this font in pixels | Engine/FontImportOptions.h |
|
| UnicodeRange | FString | Range of Unicode character values to include in the font. | Engine/FontImportOptions.h |
|
| XPadding | int32 | Horizontal padding between each font character on the texture page in pixels | Engine/FontImportOptions.h |
|
| YPadding | int32 | Vertical padding between each font character on the texture page in pixels | Engine/FontImportOptions.h |
|