Skip to content

OpenType substitution (GSUB) #174

Closed

Description

@michaelstonis

Parent

#87 → #33 Spec: Broadside v1

What to build

A GSUB parser and engine apply lookup types 1–8 for default features (ccmp, locl, liga, clig, rlig) and Arabic joining forms, with ligature glyphs mapped to their source text in ToUnicode.

Spec clauses

OpenType specification (GSUB)

Acceptance criteria

  • Test fonts compiled from feature files by the corpus generator produce the expected glyph sequences for every lookup type.
  • An Arabic word shapes into joined forms and extracts back to its source text.
  • A ligature re-extracts as its two characters.
  • A fuzz target covers the GSUB parser.

Blocked by

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    taskUnit of work from the task template
    ready-for-agentTriaged: an agent can pick this up without further clarification
    on Oct 10, 2026
  2. added a commit that references this issue on Oct 15, 2026
  3. added
    integratedMerged into the spec integration branch; closes when the integration PR merges
    and removed
    in-progressClaimed and being worked on
    on Oct 15, 2026
  4. michaelstonis commented on Oct 16, 2026

    @michaelstonis
    OwnerAuthor

    Done: implemented, tested and merged into the integration branch spec/33-broadside-v1 (full gate green). It reaches main with PR #277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

integratedMerged into the spec integration branch; closes when the integration PR mergesphase:4Phase 4ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:4D-flow-layoutTrack 4D-flow-layout

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions