Skip to content

TrueType embedding with subsetting #150

Closed

Description

@michaelstonis

Parent

#87 → #33 Spec: Broadside v1

What to build

TrueType programs (from bytes or a font resolver) embed as Type 0 / CIDFontType2 with Identity-H, subset to the used glyphs with composite-glyph closure, a subset tag, a W array and a generated ToUnicode CMap.

Spec clauses

ISO 32000-2 §9.7, §9.9, §9.10.3; spec story 24

Acceptance criteria

  • A page using 20 glyphs of Liberation Sans (from the Standard 14 package) embeds a subset under a stated size and re-parses through the TrueType font program parser (Embedded TrueType glyph outlines #50).
  • Every drawn glyph's Unicode re-reads through ToUnicode, including a non-Latin script.
  • Subsetting is deterministic (same bytes on every run).
  • poppler renders the page; qpdf check passes.

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 a commit that references this issue on Oct 15, 2026
  2. 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
  3. 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:4A-canvasTrack 4A-canvas

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions