Struct GlyphId
Struct Documentation
-
struct GlyphId
Face-qualified glyph identity, meaningful only within the associated retained FontCollection.
Public Functions
-
bool operator==(const GlyphId&) const = default
Declaration: [[nodiscard]]
Compare face and glyph indices within the same retained collection.
Equal numbers from unrelated collections do not identify the same font glyph.
-
auto operator<=>(const GlyphId&) const = default
Declaration: [[nodiscard]]
Order first by collection-local face index, then native glyph index; this is a storage order rather than visual text order.
Public Members
-
std::size_t face = {}
Zero-based retained collection face; not a process-global font ID.
-
std::uint32_t glyph = {}
Native glyph index within that face.
Source revision:
3542f883391d
· Build details
· Declaring source