Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include |
#include "Fonts/FontCache.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
const FFontData & GetFontDataForCodepoint
(
const FSlateFontInfo & InFontInfo,
const UTF32CHAR InCodepoint,
float & OutScalingFactor
) const
Returns the font to use from the typeface associated with the given codepoint
The raw font data
Parameter |
Description |
---|---|
InFontInfo |
A descriptor of the font to get the typeface for |
InCodepoint |
The codepoint to get the typeface associated with |
OutScalingFactor |
The scaling factor applied to characters rendered with the given font |