FSlateFontCache::CanLoadCodepoint

Whether or not the specified character, within the specified font, can be loaded with the specified maximum font fallback level

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h

Include

#include "Fonts/FontCache.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp

Syntax

bool CanLoadCodepoint
(
    const FFontData & InFontData,
    const UTF32CHAR InCodepoint,
    EFontFallback MaxFallbackLevel
) const

Remarks

Whether or not the specified character, within the specified font, can be loaded with the specified maximum font fallback level

Returns

Whether or not the character can be loaded

Parameters

Parameter

Description

InFontData

Information about the font to load

InCodepoint

The codepoint being loaded

MaxFallbackLevel

The maximum fallback level to try for the font