Class: TTFunk::Table::Hmtx::HorizontalMetric

Inherits:
Struct
  • Object
show all
Defined in:
lib/ttfunk/table/hmtx.rb

Overview

Horyzontal glyph metric.

Instance Attribute Summary collapse

Instance Attribute Details

#advance_widthInteger

Returns Advance width.

Returns:

  • (Integer)

    Advance width.



48
# File 'lib/ttfunk/table/hmtx.rb', line 48

HorizontalMetric = Struct.new(:advance_width, :left_side_bearing)

#left_side_bearingInteger

Returns Left side bearing.

Returns:

  • (Integer)

    Left side bearing.



48
# File 'lib/ttfunk/table/hmtx.rb', line 48

HorizontalMetric = Struct.new(:advance_width, :left_side_bearing)