Class: HexaPDF::Font::TrueType::Table::Hmtx::Metric

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/font/true_type/table/hmtx.rb

Overview

Contains the horizontal layout information for one glyph, namely the :advance_width and the :left_side_bearing.

Instance Attribute Summary collapse

Instance Attribute Details

#advance_widthObject

Returns the value of attribute advance_width

Returns:

  • (Object)

    the current value of advance_width



52
53
54
# File 'lib/hexapdf/font/true_type/table/hmtx.rb', line 52

def advance_width
  @advance_width
end

#left_side_bearingObject

Returns the value of attribute left_side_bearing

Returns:

  • (Object)

    the current value of left_side_bearing



52
53
54
# File 'lib/hexapdf/font/true_type/table/hmtx.rb', line 52

def left_side_bearing
  @left_side_bearing
end