Class: Fontisan::Audit::Extractors::Aggregations
- Defined in:
- lib/fontisan/audit/extractors/aggregations.rb
Overview
Aggregation fields: UCD block/script coverage.
Returned fields:
ucd_version, blocks, unicode_scripts
OpenType script/feature inventory lives in OpenTypeLayout (MECE: this extractor is UCD-driven, that one is SFNT-table-driven).
Instance Method Summary collapse
Instance Method Details
#extract(context) ⇒ Object
14 15 16 17 |
# File 'lib/fontisan/audit/extractors/aggregations.rb', line 14 def extract(context) ucd = context.ucd ucd_aggregations(context.codepoints, ucd) end |