Class: Ucode::Models::Audit::OpenTypeLayout

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ucode/models/audit/opentype_layout.rb

Overview

Structured OpenType layout summary for one face.

Carries:

  • ‘scripts`: union of GSUB + GPOS script tags (sorted, unique).

  • ‘features`: union of GSUB + GPOS feature tags across every script (sorted, unique).

  • ‘by_script`: per-script breakdown preserving the “feature X is for script Y” relationship.

  • ‘has_gsub` / `has_gpos`: presence flags so consumers can tell “font has no layout” from “font has GSUB but no GPOS”.

nil for Type 1 fonts (no SFNT table structure).