Class: Fontisan::Subset::TableStrategy::Os2
- Inherits:
-
Object
- Object
- Fontisan::Subset::TableStrategy::Os2
- Defined in:
- lib/fontisan/subset/table_strategy/os2.rb
Overview
OS/2 strategy: OS/2 currently passes through unchanged. Unicode range pruning is left as future work — the source OS/2 ranges remain valid (they describe the source character coverage, which is a superset of the subset's).
Class Method Summary collapse
-
.call(context:, tag:, table:) ⇒ String
Source OS/2 bytes verbatim.
Class Method Details
.call(context:, tag:, table:) ⇒ String
Returns source OS/2 bytes verbatim.
15 16 17 |
# File 'lib/fontisan/subset/table_strategy/os2.rb', line 15 def self.call(context:, tag:, table:) context.font.table_data[tag] end |