Skip to content

Text through glyph outlines #100

Closed

Description

@michaelstonis

Parent

#86 → #33 Spec: Broadside v1

What to build

Glyph runs enter the display list with the font program reference, glyph ids, positions and a per-glyph horizontal scale for substituted fonts (PDF width over substitute width), with outlines interned per font. The rasterizer fills and strokes them for render modes 0–2, records mode 3 for hit-testing only, and the force-outlines option is declared for native backends.

Spec clauses

ISO 32000-2 §9.3.6, §9.4, §9.6–9.7; ADR 0006, 0007, 0009

Acceptance criteria

  • text-truetype-embedded.pdf, text-truetype-composite.pdf, text-cff-embedded.pdf, text-opentype-cff-embedded.pdf, text-type1-embedded.pdf, text-cid-identity-h.pdf and text-cid-identity-v.pdf match reviewed snapshots.
  • With the Standard 14 package, text-standard14.pdf, text-standard14-symbol.pdf and text-standard14-zapfdingbats.pdf render on a machine with system fonts switched off.
  • text-nonembedded-substitute.pdf renders each glyph scaled to the PDF width.
  • New corpus file text-render-modes.pdf renders modes 0–3 correctly (clip modes are D18).
  • Glyph replay allocates nothing per glyph once outlines are cached (benchmark).

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 13, 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 13, 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:3Phase 3ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:3B-software-rasterizerTrack 3B-software-rasterizer

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions