Class: Fontisan::Subset::TableStrategy::Cblc
- Inherits:
-
Object
- Object
- Fontisan::Subset::TableStrategy::Cblc
- Defined in:
- lib/fontisan/subset/table_strategy/cblc.rb
Overview
CBLC strategy: delegate to [ColorBitmapSubsetter] (the same collaborator used by the Cbdt strategy) so both tables stay consistent. The subsetter is built lazily on first access and cached on [SharedState].
Class Method Summary collapse
-
.call(context:, tag:, table:) ⇒ String
Subset CBLC bytes.
Class Method Details
.call(context:, tag:, table:) ⇒ String
Returns subset CBLC bytes.
15 16 17 |
# File 'lib/fontisan/subset/table_strategy/cblc.rb', line 15 def self.call(context:, tag:, table:) color_bitmap_subsetter(context).cblc_bytes end |