Data-driven script -> FontFamily resolver used as the FreeType plugin global resolver. More...
#include <kanzi/plugins/freetype/freetype_script_font_resolver.hpp>
Data-driven script -> FontFamily resolver used as the FreeType plugin global resolver.
Never calls FontManager::getRuntimeFont with a null family; falls back to primaryFont instead.
|
delete |
|
delete |
|
explicit |
|
delete |
|
delete |
| void kanzi::ScriptStyleFontResolver::registerScriptFamily | ( | UScriptCode | script, |
| FontFamilySharedPtr | family ) |
| void kanzi::ScriptStyleFontResolver::registerDefaultFamily | ( | FontFamilySharedPtr | family | ) |
| void kanzi::ScriptStyleFontResolver::registerEmojiFamily | ( | FontFamilySharedPtr | family | ) |
| void kanzi::ScriptStyleFontResolver::registerFallbackFamily | ( | FontFamilySharedPtr | family | ) |
|
overridevirtual |
Implements kanzi::IScriptFontResolver.
|
overridevirtual |
True if this resolver (or a nested fallback) can select a non-primary font.
Used by FreeTypeFontEnginePlugin::getShaper to keep the stock FreeTypeTextShaper when Script Run is inactive (preserves paragraph BiDi for classic tests).
Reimplemented from kanzi::IScriptFontResolver.
|
overridevirtual |
Programmatic Extended chain (registerFallbackFamily), Studio order.
Reimplemented from kanzi::IScriptFontResolver.
| const std::vector< FontFamilySharedPtr > & kanzi::ScriptStyleFontResolver::getFallbackFamilies | ( | ) | const |