Class: Fontisan::Subset::TableStrategy::Name
- Inherits:
-
Object
- Object
- Fontisan::Subset::TableStrategy::Name
- Defined in:
- lib/fontisan/subset/table_strategy/name.rb
Overview
Name strategy: name records don't reference glyph IDs, so the full source table is preserved.
Class Method Summary collapse
-
.call(context:, tag:, table:) ⇒ String
Source name bytes verbatim.
Class Method Details
.call(context:, tag:, table:) ⇒ String
Returns source name bytes verbatim.
13 14 15 |
# File 'lib/fontisan/subset/table_strategy/name.rb', line 13 def self.call(context:, tag:, table:) context.font.table_data[tag] end |