Module: Fontisan::Stitcher::PartitionStrategy
- Defined in:
- lib/fontisan/stitcher/partition_strategy.rb,
lib/fontisan/stitcher/partition_strategy/base.rb,
lib/fontisan/stitcher/partition_strategy/by_block.rb,
lib/fontisan/stitcher/partition_strategy/by_plane.rb,
lib/fontisan/stitcher/partition_strategy/blueprint.rb,
lib/fontisan/stitcher/partition_strategy/by_script.rb,
lib/fontisan/stitcher/partition_strategy/partition.rb
Overview
Namespace for codepoint partitioners that split a codepoint set across named subfonts while respecting the format's glyph cap.
A partitioner is a strategy object with a single entry point
(.partition) that takes a {codepoint => donor} map and returns
a Blueprint. The blueprint is then applied to a Stitcher via
Blueprint#apply_to.
Adding a new partitioner = adding a new file + a new entry here. No edits to existing partitioners required (open/closed).
Defined Under Namespace
Classes: Base, Blueprint, ByBlock, ByPlane, ByScript, Partition