Class: Ucode::Models::Audit::CodepointDetail
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Ucode::Models::Audit::CodepointDetail
- Defined in:
- lib/ucode/models/audit/codepoint_detail.rb
Overview
Per-codepoint detail row, emitted only in --verbose mode.
Lives in a separate codepoints.json file under the directory
emitter (TODO 13) so the main audit.json stays compact. Each
row pairs UCD metadata (name, gc, script, age) with the font's
glyph id and (optionally) a relative path to the rendered SVG.
Instance Method Summary collapse
-
#cp_id ⇒ String
"U+XXXX" form for human display.
Instance Method Details
#cp_id ⇒ String
"U+XXXX" form for human display. Not serialized.
39 40 41 |
# File 'lib/ucode/models/audit/codepoint_detail.rb', line 39 def cp_id format("U+%04X", codepoint) end |