Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/CompositeFont.h |
Include |
#include "Fonts/CompositeFont.h" |
struct FFontData
Payload data describing an individual font in a typeface. Keep this lean as it's also used as a key!
Name | Description | |
---|---|---|
|
FFontData() |
Default constructor |
|
FFontData |
Construct the raw data from a font face asset |
|
FFontData ( |
Construct the raw data from a filename and the font data attributes |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Called by FStandaloneCompositeFont to prevent our objects from being GCd |
|
|
ConditionalUpgradeBulkDataToFontFace |
Upgrade v2 bulk data to v3 font face. |
|
|
ConditionalUpgradeFontDataToBulkData ( |
Upgrade v1 font data to v2 bulk data. |
|
|
const UObjec... |
GetFontFaceAsset() |
Get the font face asset used by this data (if any). |
|
FFontFaceDat... |
GetFontFaceData() |
Get the data buffer containing the data for the current font face. |
|
const FStrin... |
GetFontFilename() |
Get the filename of the font to use. |
|
GetHinting() |
Get the hinting algorithm to use with the font. |
|
|
EFontLayoutM... |
GetLayoutMethod() |
Get the method to use when laying out the font? |
|
EFontLoading... |
GetLoadingPolicy() |
Get the enum controlling how this font should be loaded at runtime. |
|
GetSubFaceIndex() |
Get the index of the sub-face that should be used. |
|
|
HasFont() |
Is this font data set to a font? (either by filename or by inline data) |
|
|
HasLegacyData() |
True if this object contains any legacy data that needs to be upgraded PostLoad by calling the functions below (in order). |
|
|
Serialize ( |
Handle serialization for this struct. |
|
|
SetSubFaceIndex ( |
Set the index of the sub-face that should be used. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Check to see whether this font data is not equal to the other font data |
|
|
operator== ( |
Check to see whether this font data is equal to the other font data |