Class: Fontisan::Tables::VariationCommon::DeltaSetIndexMap
- Inherits:
-
Binary::BaseRecord
- Object
- BinData::Record
- Binary::BaseRecord
- Fontisan::Tables::VariationCommon::DeltaSetIndexMap
- Defined in:
- lib/fontisan/tables/variation_common.rb
Overview
Delta set index mapping
Maps glyph IDs to delta set indices in an ItemVariationStore. Used for efficient lookup of variation data.
Instance Method Summary collapse
-
#map_data ⇒ Array<Integer>
Get map data based on format.
Methods inherited from Binary::BaseRecord
Instance Method Details
#map_data ⇒ Array<Integer>
Get map data based on format
284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/fontisan/tables/variation_common.rb', line 284 def map_data return @map_data if @map_data data = raw_data case format when 0 parse_format0(data) when 1 parse_format1(data) else @map_data = [] end end |