Optional module · pdftoolkit/opentype 0.4.1
English | Français
Unreleased
0.4.1 - 2026-11-09
- Update the locked development dependency
symfony/filesystemto 7.4.23, addressing GHSA-6prc-h956-hxjq in the code-style toolchain. - Preserve production code, public APIs, PHP requirements and every other locked package version and source reference.
0.4.0 — 2026-10-28
- Add bounded TTC/OTC 1/2 selection and whole-face SFNT serialization, preserving shared tables and discarding invalidated DSIG.
- Implement Unicode cmap 0/2/6/8/10/13 alongside 4/12/14 and correct language-aware encoding-record order; compare mappings with FreeType.
- Expose typed size/ssXX/cvXX parameters, optical-family selection and CFF Name INDEX/ROS metadata, with fontTools comparisons.
- Add source-cluster feature ranges to GSUB/GPOS without cutting contextual lookups; preserve range identity through substitutions and validate against HarfBuzz.
- Update the Adobe guide map, exact coverage and complete English/French documentation. No hint VM, full Unicode shaper, static-variable writer or signature trust is implied.
0.3.0 — 2026-10-15
- Read and explicitly select precomputed hdmx/LTSH/VDMX metrics with bounded immutable records and a fontTools oracle.
- Complete head/hhea/maxp/post models, versioned gasp recommendations and STAT 1.0–1.2 axis values with explicit matching; compare every field against fontTools.
- Evaluate native gvar/cvar tuples, infer sparse contour deltas and vary nested composites with explicit phantom metrics, USE_MY_METRICS and phantom attachment; retain unscaled CVT fractions.
- Execute bounded CFF/CFF2 Type 2 cubic paths, subroutines, explicit native blends, legacy charsets/encodings and composites; validate against independent fontTools/HarfBuzz geometry.
- Decode bounded loca/glyf outlines and assemble unhinted components with explicit offset policy, cycle/output budgets and quadratic paths; compare all points and drawn geometry with fontTools/HarfBuzz.
- Read vertical metrics and CFF origins; evaluate native HVAR/VVAR/MVAR deltas through explicit instance objects with bounded index maps and independent fontTools/HarfBuzz comparisons.
- Model name versions 0/1 with exact multilingual records and explicit decoders; expose every OS/2 version 0–5 field, version-specific embedding flags and optical ranges.
-
Read fvar/avar 1.0 with immutable axis and named-instance objects, explicit user selection, bounded normalization and independent two-axis fontTools/HarfBuzz checks.
-
Document all 50 table scopes and remaining work in English/French: 27 implemented scopes, 4 partial, 19 pending; no VM, rasterizer, full shaper, container decoder or font writer is implied.
0.2.0 — 2026-10-15
- Execute GSUB types 5/6 in all contextual formats and reverse chaining type 8, including nested lookup order, bounded recursion and dynamically expanded input indices.
- Read GDEF 1.0/1.2/1.3: glyph/mark classes, mark filtering/attachment classes, attachment points, ligature carets and native item variation data.
- Execute native GPOS types 1–9: single/pair/class adjustments, cursive and mark attachments, all contextual formats and extensions, from explicit initial positions.
- Preserve ligature component identity independently from source clusters; retain attachments through subsequent placement and advance changes.
- Evaluate signed Device formats 1/2/3, native ItemVariationStore interpolation and conditional GSUB/GPOS feature variations at explicit normalized coordinates.
- Keep hinted outline-point access explicit; no TrueType/CFF bytecode, whole-font variation instantiation, Unicode script shaping or bidirectional layout is implied.
- Add original reproducible advanced/variable fonts, malformed/truncation/budget tests, 102 independent HarfBuzz cases, bilingual positioning/variation guides and runnable examples.
0.1.0 — 2026-10-14
- Introduce independent immutable OpenType objects for PHP 8.3+ on 64-bit platforms, without production dependencies.
- Read individual SFNT directories, preserve tables and validate bounded offsets, counts, glyph identities and checksums.
- Read Unicode cmap formats 4, 12 and 14 and horizontal metrics.
- Model GSUB scripts, language systems, features and lookups; apply single, multiple, alternate, ligature and extension substitutions with explicit selection and source clusters.
- Reject unsupported selected mechanisms. Contextual substitution, GDEF-dependent flags, GPOS, variation processing and outline interpretation remain pending.
- Preserve the supplied Adobe OTGuide.pdf unchanged; document sources and coverage in English and French.
- Compare supported results independently with fontTools and HarfBuzz. CI covers PHP 8.3, 8.4 and 8.5.