Class: Ucode::Models::UniversalSetEntry
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Ucode::Models::UniversalSetEntry
- Defined in:
- lib/ucode/models/universal_set_entry.rb
Overview
One row in a UniversalSetManifest. Records the resolved glyph for a single codepoint: which tier produced it, which source font, and a stable content hash + size so downstream consumers can detect changes without re-reading the SVG.
Wire shape (one entry per assigned codepoint in the manifest's
entries: array):
{
"codepoint": 65,
"id": "U+0041",
"tier": "tier-1",
"source": "noto-sans",
"svg_sha256": "abc...",
"svg_size_bytes": 412
}
source is the source identifier extracted from the resolver
Glyphs::Source::Result#provenance — i.e. the part after
the tier: prefix ("noto-sans" for "tier-1:noto-sans"). This is
what audits (TODO 25) group by when answering "how many
codepoints does font X cover in this set?".