Class: Ucode::Glyphs::EmbeddedFonts::RawFontDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb

Overview

Value object: one Type0 font discovered by PdfIndexer, carrying every ref the CodepointMapper needs to resolve codepoint → GID.

Public so tests can construct realistic fixtures without going through the PDF subprocess layer.

Instance Attribute Summary collapse

Instance Attribute Details

#base_fontObject

Returns the value of attribute base_font

Returns:

  • (Object)

    the current value of base_font



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def base_font
  @base_font
end

#cid_map_kindObject

Returns the value of attribute cid_map_kind

Returns:

  • (Object)

    the current value of cid_map_kind



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def cid_map_kind
  @cid_map_kind
end

#font_obj_idObject

Returns the value of attribute font_obj_id

Returns:

  • (Object)

    the current value of font_obj_id



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def font_obj_id
  @font_obj_id
end

#fontfile_kindObject

Returns the value of attribute fontfile_kind

Returns:

  • (Object)

    the current value of fontfile_kind



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def fontfile_kind
  @fontfile_kind
end

#fontfile_obj_idObject

Returns the value of attribute fontfile_obj_id

Returns:

  • (Object)

    the current value of fontfile_obj_id



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def fontfile_obj_id
  @fontfile_obj_id
end

#tounicode_refObject

Returns the value of attribute tounicode_ref

Returns:

  • (Object)

    the current value of tounicode_ref



13
14
15
# File 'lib/ucode/glyphs/embedded_fonts/raw_font_descriptor.rb', line 13

def tounicode_ref
  @tounicode_ref
end