Class: Ucode::Glyphs::EmbeddedFonts::Renderer::Result
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Glyphs::EmbeddedFonts::Renderer::Result
- Defined in:
- lib/ucode/glyphs/embedded_fonts/renderer.rb
Overview
Result of rendering one codepoint.
source_page + source_cell come from the Catalog's
location index when available. Nil when the catalog hasn't
traced the PDF (ToUnicode-only path) — downstream concerns
treat that as "no positional data; skip cell-based diff".
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.
-
#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.
Instance Method Summary collapse
Instance Attribute Details
#base_font ⇒ Object
Returns the value of attribute base_font
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def base_font @base_font end |
#codepoint ⇒ Object
Returns the value of attribute codepoint
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def codepoint @codepoint end |
#gid ⇒ Object
Returns the value of attribute gid
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def gid @gid end |
#source_cell ⇒ Object
Returns the value of attribute source_cell
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def source_cell @source_cell end |
#source_page ⇒ Object
Returns the value of attribute source_page
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def source_page @source_page end |
#svg ⇒ Object
Returns the value of attribute svg
20 21 22 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 20 def svg @svg end |
Instance Method Details
#ok? ⇒ Boolean
25 26 27 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 25 def ok? !svg.nil? end |