Skip to content

Embedded TrueType glyph outlines #50

Closed

Description

@michaelstonis

Parent

#33 Spec: Broadside v1

What to build

A consumer gets the vector outline of every glyph in an embedded TrueType font, and the font-program parser becomes a replaceable extension point.

Spec clauses

ISO 32000-2 §9.6.3, §9.9; Apple TrueType and Microsoft OpenType specifications

Acceptance criteria

  • text-truetype-embedded.pdf yields glyph outlines (quadratic contours as paths in glyph space) for every code on the page.
  • Tables parsed: head, hhea, hmtx, maxp, loca, glyf (simple and composite glyphs with transforms), cmap (formats 0, 4, 6, 12 and the (3,0) symbol mapping), post.
  • Character-code to glyph-id mapping follows ISO 32000-2 §9.6.5.4 for symbolic and nonsymbolic fonts.
  • The font-program parser extension point exists with TrueType as its first managed default; a test registers a replacement.
  • Fuzz target and parse benchmark added; conformance rows for 9.6.3 and 9.9 updated.

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
    ready-for-agentTriaged: an agent can pick this up without further clarification
    on Oct 9, 2026
  2. self-assigned this
    on Oct 9, 2026
  3. added a commit that references this issue on Oct 9, 2026
  4. added
    integratedMerged into the spec integration branch; closes when the integration PR merges
    and removed
    in-progressClaimed and being worked on
    on Oct 9, 2026
  5. added a commit that references this issue on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fontsArea: fontsintegratedMerged into the spec integration branch; closes when the integration PR mergesphase:2Phase 2ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:2A-fontsTrack 2A-fonts

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions