Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateFontInfo
Description
Get the composite font pointer associated with this font info (either directly or via a UFont)
This function will return the fallback font if this font info itself does not contain a valid font. If you want to test whether this font info is empty, use HasValidFont
| Name | GetCompositeFont |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
const FCompositeFont * GetCompositeFont() const