Class: HexaPDF::Font::TrueType::Table::Maxp
- Inherits:
-
HexaPDF::Font::TrueType::Table
- Object
- HexaPDF::Font::TrueType::Table
- HexaPDF::Font::TrueType::Table::Maxp
- Defined in:
- lib/hexapdf/font/true_type/table/maxp.rb
Overview
The ‘maxp’ (maximum profile) table contains the maxima for a number of parameters (e.g. to establish memory requirements).
See: developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6maxp.html
Constant Summary
Constants inherited from HexaPDF::Font::TrueType::Table
Instance Attribute Summary collapse
-
#max_component_contours ⇒ Object
The maximum number of contours in a compound glyph.
-
#max_component_depth ⇒ Object
The levels of recursion (0 if the font has only simple glyphs).
-
#max_component_elements ⇒ Object
The maximum number of glyphs referenced at the top level.
-
#max_component_points ⇒ Object
The maximum number of points in a compound glyph.
-
#max_contours ⇒ Object
The maximum number of contours in a non-computed glyph.
-
#max_function_defs ⇒ Object
The maximum number of FDEFs (function definitions).
-
#max_instruction_defs ⇒ Object
The maximum number of IDEFs (instruction defintions).
-
#max_points ⇒ Object
The maximum number of points in a non-compound glyph.
-
#max_size_of_instructions ⇒ Object
The maximum number of bytes for glyph instructions.
-
#max_stack_elements ⇒ Object
The maximum number of elements on the stack, i.e.
-
#max_storage ⇒ Object
The maximum number of storage area locations.
-
#max_twilight_points ⇒ Object
The maximum number of points used in Twilight Zone (Z0).
-
#num_glyphs ⇒ Object
The number of glyphs in the font.
-
#version ⇒ Object
The version of the table (a Rational).
Attributes inherited from HexaPDF::Font::TrueType::Table
Method Summary
Methods inherited from HexaPDF::Font::TrueType::Table
calculate_checksum, #checksum_valid?, #directory_entry, #initialize, #raw_data
Constructor Details
This class inherits a constructor from HexaPDF::Font::TrueType::Table
Instance Attribute Details
#max_component_contours ⇒ Object
The maximum number of contours in a compound glyph.
66 67 68 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 66 def max_component_contours @max_component_contours end |
#max_component_depth ⇒ Object
The levels of recursion (0 if the font has only simple glyphs).
90 91 92 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 90 def max_component_depth @max_component_depth end |
#max_component_elements ⇒ Object
The maximum number of glyphs referenced at the top level.
87 88 89 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 87 def max_component_elements @max_component_elements end |
#max_component_points ⇒ Object
The maximum number of points in a compound glyph.
63 64 65 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 63 def max_component_points @max_component_points end |
#max_contours ⇒ Object
The maximum number of contours in a non-computed glyph.
60 61 62 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 60 def max_contours @max_contours end |
#max_function_defs ⇒ Object
The maximum number of FDEFs (function definitions).
75 76 77 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 75 def max_function_defs @max_function_defs end |
#max_instruction_defs ⇒ Object
The maximum number of IDEFs (instruction defintions).
78 79 80 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 78 def max_instruction_defs @max_instruction_defs end |
#max_points ⇒ Object
The maximum number of points in a non-compound glyph.
57 58 59 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 57 def max_points @max_points end |
#max_size_of_instructions ⇒ Object
The maximum number of bytes for glyph instructions.
84 85 86 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 84 def max_size_of_instructions @max_size_of_instructions end |
#max_stack_elements ⇒ Object
The maximum number of elements on the stack, i.e. the stack depth.
81 82 83 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 81 def max_stack_elements @max_stack_elements end |
#max_storage ⇒ Object
The maximum number of storage area locations.
72 73 74 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 72 def max_storage @max_storage end |
#max_twilight_points ⇒ Object
The maximum number of points used in Twilight Zone (Z0).
69 70 71 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 69 def max_twilight_points @max_twilight_points end |
#num_glyphs ⇒ Object
The number of glyphs in the font.
54 55 56 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 54 def num_glyphs @num_glyphs end |
#version ⇒ Object
The version of the table (a Rational).
51 52 53 |
# File 'lib/hexapdf/font/true_type/table/maxp.rb', line 51 def version @version end |