Class: TTFunk::Table::OS2
- Inherits:
-
TTFunk::Table
- Object
- TTFunk::Table
- TTFunk::Table::OS2
- Defined in:
- lib/ttfunk/table/os2.rb
Instance Attribute Summary collapse
-
#ascent ⇒ Object
readonly
Returns the value of attribute ascent.
-
#ave_char_width ⇒ Object
readonly
Returns the value of attribute ave_char_width.
-
#break_char ⇒ Object
readonly
Returns the value of attribute break_char.
-
#cap_height ⇒ Object
readonly
Returns the value of attribute cap_height.
-
#char_range ⇒ Object
readonly
Returns the value of attribute char_range.
-
#code_page_range ⇒ Object
readonly
Returns the value of attribute code_page_range.
-
#default_char ⇒ Object
readonly
Returns the value of attribute default_char.
-
#descent ⇒ Object
readonly
Returns the value of attribute descent.
-
#family_class ⇒ Object
readonly
Returns the value of attribute family_class.
-
#first_char_index ⇒ Object
readonly
Returns the value of attribute first_char_index.
-
#last_char_index ⇒ Object
readonly
Returns the value of attribute last_char_index.
-
#line_gap ⇒ Object
readonly
Returns the value of attribute line_gap.
-
#max_context ⇒ Object
readonly
Returns the value of attribute max_context.
-
#panose ⇒ Object
readonly
Returns the value of attribute panose.
-
#selection ⇒ Object
readonly
Returns the value of attribute selection.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#vendor_id ⇒ Object
readonly
Returns the value of attribute vendor_id.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
-
#weight_class ⇒ Object
readonly
Returns the value of attribute weight_class.
-
#width_class ⇒ Object
readonly
Returns the value of attribute width_class.
-
#win_ascent ⇒ Object
readonly
Returns the value of attribute win_ascent.
-
#win_descent ⇒ Object
readonly
Returns the value of attribute win_descent.
-
#x_height ⇒ Object
readonly
Returns the value of attribute x_height.
-
#y_strikeout_position ⇒ Object
readonly
Returns the value of attribute y_strikeout_position.
-
#y_strikeout_size ⇒ Object
readonly
Returns the value of attribute y_strikeout_size.
-
#y_subscript_x_offset ⇒ Object
readonly
Returns the value of attribute y_subscript_x_offset.
-
#y_subscript_x_size ⇒ Object
readonly
Returns the value of attribute y_subscript_x_size.
-
#y_subscript_y_offset ⇒ Object
readonly
Returns the value of attribute y_subscript_y_offset.
-
#y_subscript_y_size ⇒ Object
readonly
Returns the value of attribute y_subscript_y_size.
-
#y_superscript_x_offset ⇒ Object
readonly
Returns the value of attribute y_superscript_x_offset.
-
#y_superscript_x_size ⇒ Object
readonly
Returns the value of attribute y_superscript_x_size.
-
#y_superscript_y_offset ⇒ Object
readonly
Returns the value of attribute y_superscript_y_offset.
-
#y_superscript_y_size ⇒ Object
readonly
Returns the value of attribute y_superscript_y_size.
Attributes inherited from TTFunk::Table
Instance Method Summary collapse
Methods inherited from TTFunk::Table
Constructor Details
This class inherits a constructor from TTFunk::Table
Instance Attribute Details
#ascent ⇒ Object (readonly)
Returns the value of attribute ascent.
30 31 32 |
# File 'lib/ttfunk/table/os2.rb', line 30 def ascent @ascent end |
#ave_char_width ⇒ Object (readonly)
Returns the value of attribute ave_char_width.
8 9 10 |
# File 'lib/ttfunk/table/os2.rb', line 8 def ave_char_width @ave_char_width end |
#break_char ⇒ Object (readonly)
Returns the value of attribute break_char.
40 41 42 |
# File 'lib/ttfunk/table/os2.rb', line 40 def break_char @break_char end |
#cap_height ⇒ Object (readonly)
Returns the value of attribute cap_height.
38 39 40 |
# File 'lib/ttfunk/table/os2.rb', line 38 def cap_height @cap_height end |
#char_range ⇒ Object (readonly)
Returns the value of attribute char_range.
24 25 26 |
# File 'lib/ttfunk/table/os2.rb', line 24 def char_range @char_range end |
#code_page_range ⇒ Object (readonly)
Returns the value of attribute code_page_range.
35 36 37 |
# File 'lib/ttfunk/table/os2.rb', line 35 def code_page_range @code_page_range end |
#default_char ⇒ Object (readonly)
Returns the value of attribute default_char.
39 40 41 |
# File 'lib/ttfunk/table/os2.rb', line 39 def default_char @default_char end |
#descent ⇒ Object (readonly)
Returns the value of attribute descent.
31 32 33 |
# File 'lib/ttfunk/table/os2.rb', line 31 def descent @descent end |
#family_class ⇒ Object (readonly)
Returns the value of attribute family_class.
22 23 24 |
# File 'lib/ttfunk/table/os2.rb', line 22 def family_class @family_class end |
#first_char_index ⇒ Object (readonly)
Returns the value of attribute first_char_index.
27 28 29 |
# File 'lib/ttfunk/table/os2.rb', line 27 def first_char_index @first_char_index end |
#last_char_index ⇒ Object (readonly)
Returns the value of attribute last_char_index.
28 29 30 |
# File 'lib/ttfunk/table/os2.rb', line 28 def last_char_index @last_char_index end |
#line_gap ⇒ Object (readonly)
Returns the value of attribute line_gap.
32 33 34 |
# File 'lib/ttfunk/table/os2.rb', line 32 def line_gap @line_gap end |
#max_context ⇒ Object (readonly)
Returns the value of attribute max_context.
41 42 43 |
# File 'lib/ttfunk/table/os2.rb', line 41 def max_context @max_context end |
#panose ⇒ Object (readonly)
Returns the value of attribute panose.
23 24 25 |
# File 'lib/ttfunk/table/os2.rb', line 23 def panose @panose end |
#selection ⇒ Object (readonly)
Returns the value of attribute selection.
26 27 28 |
# File 'lib/ttfunk/table/os2.rb', line 26 def selection @selection end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/ttfunk/table/os2.rb', line 11 def type @type end |
#vendor_id ⇒ Object (readonly)
Returns the value of attribute vendor_id.
25 26 27 |
# File 'lib/ttfunk/table/os2.rb', line 25 def vendor_id @vendor_id end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
6 7 8 |
# File 'lib/ttfunk/table/os2.rb', line 6 def version @version end |
#weight_class ⇒ Object (readonly)
Returns the value of attribute weight_class.
9 10 11 |
# File 'lib/ttfunk/table/os2.rb', line 9 def weight_class @weight_class end |
#width_class ⇒ Object (readonly)
Returns the value of attribute width_class.
10 11 12 |
# File 'lib/ttfunk/table/os2.rb', line 10 def width_class @width_class end |
#win_ascent ⇒ Object (readonly)
Returns the value of attribute win_ascent.
33 34 35 |
# File 'lib/ttfunk/table/os2.rb', line 33 def win_ascent @win_ascent end |
#win_descent ⇒ Object (readonly)
Returns the value of attribute win_descent.
34 35 36 |
# File 'lib/ttfunk/table/os2.rb', line 34 def win_descent @win_descent end |
#x_height ⇒ Object (readonly)
Returns the value of attribute x_height.
37 38 39 |
# File 'lib/ttfunk/table/os2.rb', line 37 def x_height @x_height end |
#y_strikeout_position ⇒ Object (readonly)
Returns the value of attribute y_strikeout_position.
21 22 23 |
# File 'lib/ttfunk/table/os2.rb', line 21 def y_strikeout_position @y_strikeout_position end |
#y_strikeout_size ⇒ Object (readonly)
Returns the value of attribute y_strikeout_size.
20 21 22 |
# File 'lib/ttfunk/table/os2.rb', line 20 def y_strikeout_size @y_strikeout_size end |
#y_subscript_x_offset ⇒ Object (readonly)
Returns the value of attribute y_subscript_x_offset.
14 15 16 |
# File 'lib/ttfunk/table/os2.rb', line 14 def y_subscript_x_offset @y_subscript_x_offset end |
#y_subscript_x_size ⇒ Object (readonly)
Returns the value of attribute y_subscript_x_size.
12 13 14 |
# File 'lib/ttfunk/table/os2.rb', line 12 def y_subscript_x_size @y_subscript_x_size end |
#y_subscript_y_offset ⇒ Object (readonly)
Returns the value of attribute y_subscript_y_offset.
15 16 17 |
# File 'lib/ttfunk/table/os2.rb', line 15 def y_subscript_y_offset @y_subscript_y_offset end |
#y_subscript_y_size ⇒ Object (readonly)
Returns the value of attribute y_subscript_y_size.
13 14 15 |
# File 'lib/ttfunk/table/os2.rb', line 13 def y_subscript_y_size @y_subscript_y_size end |
#y_superscript_x_offset ⇒ Object (readonly)
Returns the value of attribute y_superscript_x_offset.
18 19 20 |
# File 'lib/ttfunk/table/os2.rb', line 18 def y_superscript_x_offset @y_superscript_x_offset end |
#y_superscript_x_size ⇒ Object (readonly)
Returns the value of attribute y_superscript_x_size.
16 17 18 |
# File 'lib/ttfunk/table/os2.rb', line 16 def y_superscript_x_size @y_superscript_x_size end |
#y_superscript_y_offset ⇒ Object (readonly)
Returns the value of attribute y_superscript_y_offset.
19 20 21 |
# File 'lib/ttfunk/table/os2.rb', line 19 def y_superscript_y_offset @y_superscript_y_offset end |
#y_superscript_y_size ⇒ Object (readonly)
Returns the value of attribute y_superscript_y_size.
17 18 19 |
# File 'lib/ttfunk/table/os2.rb', line 17 def y_superscript_y_size @y_superscript_y_size end |
Instance Method Details
#tag ⇒ Object
43 44 45 |
# File 'lib/ttfunk/table/os2.rb', line 43 def tag "OS/2" end |