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.

Source Code
lib/ttfunk/table/hmtx.rb, line 48
48
HorizontalMetric = Struct.new(:advance_width, :left_side_bearing)

#left_side_bearingInteger

Returns Left side bearing.

Returns:

  • (Integer)

    Left side bearing.

Source Code
lib/ttfunk/table/hmtx.rb, line 48
48
HorizontalMetric = Struct.new(:advance_width, :left_side_bearing)