bool RegisterFont(std::unique_ptr< fml::Mapping > font_data, const char *family_name_alias)
Registers custom font data. If an alias for the family name is provided, subsequent lookups will need...
TypographyContext(const TypographyContext &)=delete
TypographyContext & operator=(const TypographyContext &)=delete
const std::shared_ptr< txt::FontCollection > & GetFontCollection() const
~TypographyContext() override