Skip to content

Functions: sampled, exponential, stitching and PostScript calculator #78

Closed

Description

@michaelstonis

Parent

#33 Spec: Broadside v1

What to build

Every function type evaluates correctly, which shadings, Separation and DeviceN tint transforms, and transfer functions depend on.

Spec clauses

ISO 32000-2 §7.10, Annex B

Acceptance criteria

  • Type 0 (sampled, all bit depths, linear interpolation; cubic recorded as a diagnostic if not implemented), Type 2, Type 3 and Type 4 evaluate per spec.
  • The Type 4 PostScript calculator is a managed interpreter over the operators in Annex B, compiled once per function and evaluated without allocation.
  • Domain and Range clipping is applied; a benchmark covers Type 4.
  • Conformance rows for 7.10 and Annex B 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. self-assigned this
    on Oct 9, 2026
  2. added a commit that references this issue on Oct 9, 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 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:contentArea: contentarea:graphicsArea: graphicsintegratedMerged 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:2D-contentTrack 2D-content

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions