Class: TTFunk::Table::Cff::CharstringsIndex
- Defined in:
- lib/ttfunk/table/cff/charstrings_index.rb
Overview
CFF Charstrings Index.
Instance Attribute Summary collapse
-
#top_dict ⇒ TTFunk::Table::Cff::TopDict
readonly
Top dict.
Attributes inherited from SubTable
Instance Method Summary collapse
-
#initialize(top_dict, file, offset, length = nil) ⇒ CharstringsIndex
constructor
A new instance of CharstringsIndex.
Methods inherited from Index
#[], #each, #encode, #items_count
Methods inherited from SubTable
Constructor Details
#initialize(top_dict, file, offset, length = nil) ⇒ CharstringsIndex
Returns a new instance of CharstringsIndex.
17 18 19 20 |
# File 'lib/ttfunk/table/cff/charstrings_index.rb', line 17 def initialize(top_dict, *remaining_args) super(*remaining_args) @top_dict = top_dict end |
Instance Attribute Details
#top_dict ⇒ TTFunk::Table::Cff::TopDict (readonly)
Top dict.
10 11 12 |
# File 'lib/ttfunk/table/cff/charstrings_index.rb', line 10 def top_dict @top_dict end |