Class: Fontisan::Subset::TableStrategy::Cbdt
- Inherits:
-
Object
- Object
- Fontisan::Subset::TableStrategy::Cbdt
- Defined in:
- lib/fontisan/subset/table_strategy/cbdt.rb
Overview
CBDT strategy: delegate to [ColorBitmapSubsetter], which produces both CBDT and CBLC bytes in a single pass. The Cblc strategy reads from the same collaborator so the two tables stay consistent.
Class Method Summary collapse
-
.call(context:, tag:, table:) ⇒ String
Subset CBDT bytes.
Class Method Details
.call(context:, tag:, table:) ⇒ String
Returns subset CBDT bytes.
15 16 17 |
# File 'lib/fontisan/subset/table_strategy/cbdt.rb', line 15 def self.call(context:, tag:, table:) color_bitmap_subsetter(context).cbdt_bytes end |