Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::FontFaceAvailability Struct Reference

Nonblocking metadata for a face. Empty contentId preserves legacy synchronous providers. More...

#include "donner/svg/resources/FontCatalogTypes.h"

Public Member Functions

bool operator== (const FontFaceAvailability &other) const =default
 Compare two face-availability snapshots.

Public Attributes

FontAssetState state = FontAssetState::Unavailable
 Current availability of the shared encoded bytes.
FontFileFormat format = FontFileFormat::Unknown
 Encoded file format, independent of transport state.
std::string contentId
 Opaque encoded-content identity; empty for legacy synchronous providers.
uint64_t contentGeneration = 0
 Generation of the encoded content for cache invalidation.
size_t encodedBytes = 0
 Expected encoded payload length in bytes.
size_t decodedBytes = 0
 Expected decoded font payload length in bytes.

Detailed Description

Nonblocking metadata for a face. Empty contentId preserves legacy synchronous providers.

Member Function Documentation

◆ operator==()

bool donner::svg::FontFaceAvailability::operator== ( const FontFaceAvailability & other) const
default

Compare two face-availability snapshots.

Parameters
otherSnapshot to compare.
Returns
True when every availability field matches.

The documentation for this struct was generated from the following file: