Class: Fontisan::Subset::SubsetContext
- Inherits:
-
Struct
- Object
- Struct
- Fontisan::Subset::SubsetContext
- Defined in:
- lib/fontisan/subset/subset_context.rb
Overview
Value object handed to every TableStrategy. Encapsulates the inputs (font, mapping, options) plus the cross-strategy [SharedState] so strategies don't need a back-reference to the TableSubsetter.
Instance Attribute Summary collapse
Instance Attribute Details
#font ⇒ SfntFont
17 18 |
# File 'lib/fontisan/subset/subset_context.rb', line 17 SubsetContext = Struct.new(:font, :mapping, :options, :state, keyword_init: true) |
#mapping ⇒ GlyphMapping
17 18 |
# File 'lib/fontisan/subset/subset_context.rb', line 17 SubsetContext = Struct.new(:font, :mapping, :options, :state, keyword_init: true) |
#options ⇒ Options
17 18 |
# File 'lib/fontisan/subset/subset_context.rb', line 17 SubsetContext = Struct.new(:font, :mapping, :options, :state, keyword_init: true) |
#state ⇒ SharedState
17 18 |
# File 'lib/fontisan/subset/subset_context.rb', line 17 SubsetContext = Struct.new(:font, :mapping, :options, :state, keyword_init: true) |