Class: Ucode::Glyphs::Source::Result
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Glyphs::Source::Result
- Defined in:
- lib/ucode/glyphs/source.rb
Overview
One resolved glyph. Carries the SVG payload and enough provenance to debug "where did this glyph come from?" without holding a reference back to the source.
The optional base_font, gid, source_page, source_cell
fields carry the renderer's localization data so downstream
concerns (Verifier pixel-diff against the source PDF cell,
Provenance audit trail) don't need to re-derive it. Sources
that don't know this data (e.g. LastResort) leave them nil.
Instance Attribute Summary collapse
-
#base_font ⇒ Object
Returns the value of attribute base_font.
-
#codepoint ⇒ Object
Returns the value of attribute codepoint.
-
#gid ⇒ Object
Returns the value of attribute gid.
-
#provenance ⇒ Object
Returns the value of attribute provenance.
-
#source_cell ⇒ Object
Returns the value of attribute source_cell.
-
#source_page ⇒ Object
Returns the value of attribute source_page.
-
#svg ⇒ Object
Returns the value of attribute svg.
-
#tier ⇒ Object
Returns the value of attribute tier.
Instance Attribute Details
#base_font ⇒ Object
Returns the value of attribute base_font
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def base_font @base_font end |
#codepoint ⇒ Object
Returns the value of attribute codepoint
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def codepoint @codepoint end |
#gid ⇒ Object
Returns the value of attribute gid
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def gid @gid end |
#provenance ⇒ Object
Returns the value of attribute provenance
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def provenance @provenance end |
#source_cell ⇒ Object
Returns the value of attribute source_cell
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def source_cell @source_cell end |
#source_page ⇒ Object
Returns the value of attribute source_page
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def source_page @source_page end |
#svg ⇒ Object
Returns the value of attribute svg
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def svg @svg end |
#tier ⇒ Object
Returns the value of attribute tier
34 35 36 |
# File 'lib/ucode/glyphs/source.rb', line 34 def tier @tier end |