Class: Fontisan::Subset::TableStrategy::PassThrough
- Inherits:
-
Object
- Object
- Fontisan::Subset::TableStrategy::PassThrough
- Defined in:
- lib/fontisan/subset/table_strategy/pass_through.rb
Overview
Default fallback for tags that have no dedicated strategy. Returns the source table bytes verbatim — used for tables that don't need any glyph-aware subsetting (e.g. name, OS/2).
Class Method Summary collapse
-
.call(context:, tag:, table:) ⇒ String?
Source binary bytes for
tag, or nil.
Class Method Details
.call(context:, tag:, table:) ⇒ String?
Returns source binary bytes for tag, or nil.
14 15 16 |
# File 'lib/fontisan/subset/table_strategy/pass_through.rb', line 14 def self.call(context:, tag:, table:) context.font.table_data[tag] end |