Struct FontFace
Defined in File font.h
Struct Documentation
-
struct FontFace
Borrowed face data; retain its Font while using these views.
Family zero is the selected family; later indices follow the configured fallback order.
Public Members
-
std::span<const unsigned char> bytes
Borrowed immutable font-file bytes; retain this face’s Font snapshot.
-
std::uint32_t face_index = {}
Zero-based face within the retained font file or collection.
-
bool fallback = false
Whether this face belongs to the retained fallback chain.
-
std::string family
Owned native family name, distinct from the application reference.
-
std::size_t family_index = {}
Zero identifies the selected family; later values identify fallback families.
-
bool builtin = false
Whether this is the engine’s embedded safety face.
-
std::span<const unsigned char> bytes