Class: HexaPDF::Font::TrueType::Table::Hmtx::Metric
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::Font::TrueType::Table::Hmtx::Metric
- 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
-
#advance_width ⇒ Object
Returns the value of attribute advance_width.
-
#left_side_bearing ⇒ Object
Returns the value of attribute left_side_bearing.
Instance Attribute Details
#advance_width ⇒ Object
Returns the value of attribute advance_width
52 53 54 |
# File 'lib/hexapdf/font/true_type/table/hmtx.rb', line 52 def advance_width @advance_width end |
#left_side_bearing ⇒ Object
Returns the value of attribute 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 |