Class: TTFunk::Table::Hmtx::HorizontalMetric
- Inherits:
-
Struct
- Object
- Struct
- TTFunk::Table::Hmtx::HorizontalMetric
- Defined in:
- lib/ttfunk/table/hmtx.rb
Overview
Horyzontal glyph metric.
Instance Attribute Summary collapse
-
#advance_width ⇒ Integer
Advance width.
-
#left_side_bearing ⇒ Integer
Left side bearing.
Instance Attribute Details
#advance_width ⇒ Integer
Returns Advance width.
Source Code
lib/ttfunk/table/hmtx.rb, line 48
48 | HorizontalMetric = Struct.new(:advance_width, :left_side_bearing) |
#left_side_bearing ⇒ Integer
Returns Left side bearing.
Source Code
lib/ttfunk/table/hmtx.rb, line 48
48 | HorizontalMetric = Struct.new(:advance_width, :left_side_bearing) |