![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontImportOptions.h>
Public Member Functions | |
| FFontImportOptionsData () | |
Font import options
|
inline |
Default constructor.
| uint32 FFontImportOptionsData::bAlphaOnly |
if true then forces PF_G8 and only maintains Alpha value and discards color
| uint32 FFontImportOptionsData::bCreatePrintableOnly |
Skips generation of glyphs for any characters that are not considered 'printable'
| uint32 FFontImportOptionsData::bEnableAntialiasing |
Whether the font should be antialiased or not. Usually you should leave this enabled.
| uint32 FFontImportOptionsData::bEnableBold |
Whether the font should be generated in bold or not
| uint32 FFontImportOptionsData::bEnableDropShadow |
Enables a very simple, 1-pixel, black colored drop shadow for the generated font
| uint32 FFontImportOptionsData::bEnableItalic |
Whether the font should be generated in italics or not
| uint32 FFontImportOptionsData::bEnableLegacyMode |
Enables legacy font import mode. This results in lower quality antialiasing and larger glyph bounds, but may be useful when debugging problems
| uint32 FFontImportOptionsData::bEnableUnderline |
Whether the font should be generated with an underline or not
| uint32 FFontImportOptionsData::bIncludeASCIIRange |
When specifying a range of characters and this is enabled, forces ASCII characters (0 thru 255) to be included as well
| uint32 FFontImportOptionsData::bUseDistanceFieldAlpha |
If true then the alpha channel of the font textures will store a distance field instead of a color mask
| TEnumAsByte<enum EFontImportCharacterSet> FFontImportOptionsData::CharacterSet |
Character set for this font
| FString FFontImportOptionsData::Chars |
Explicit list of characters to include in the font
| FString FFontImportOptionsData::CharsFilePath |
Path on disk to a folder where files that contain a list of characters to include in the font
| FString FFontImportOptionsData::CharsFileWildcard |
File mask wildcard that specifies which files within the CharsFilePath to scan for characters in include in the font
| int32 FFontImportOptionsData::DistanceFieldScaleFactor |
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.
| float FFontImportOptionsData::DistanceFieldScanRadiusScale |
Shrinks or expands the scan radius used to determine the silhouette of the font edges.
| int32 FFontImportOptionsData::ExtendBoxBottom |
How much to extend the bottom of the UV coordinate rectangle for each character in pixels
| int32 FFontImportOptionsData::ExtendBoxLeft |
How much to extend the left of the UV coordinate rectangle for each character in pixels
| int32 FFontImportOptionsData::ExtendBoxRight |
How much to extend the right of the UV coordinate rectangle for each character in pixels
| int32 FFontImportOptionsData::ExtendBoxTop |
How much to extend the top of the UV coordinate rectangle for each character in pixels
| FString FFontImportOptionsData::FontName |
Name of the typeface for the font to import
| FLinearColor FFontImportOptionsData::ForegroundColor |
Color of the foreground font pixels. Usually you should leave this white and instead use the UI Styles editor to change the color of the font on the fly
| float FFontImportOptionsData::Height |
Height of font (point size)
| int32 FFontImportOptionsData::Kerning |
The initial horizontal spacing adjustment between rendered characters. This setting will be copied directly into the generated Font object's properties.
| int32 FFontImportOptionsData::TexturePageMaxHeight |
The maximum vertical size of a texture page for this font in pixels. The actual height of a texture page may be less than this if the font can fit within a smaller sized texture page.
| int32 FFontImportOptionsData::TexturePageWidth |
Horizontal size of each texture page for this font in pixels
| FString FFontImportOptionsData::UnicodeRange |
Range of Unicode character values to include in the font. You can specify ranges using hyphens and/or commas (e.g. '400-900')
| int32 FFontImportOptionsData::XPadding |
Horizontal padding between each font character on the texture page in pixels
| int32 FFontImportOptionsData::YPadding |
Vertical padding between each font character on the texture page in pixels