Files
pdfcraft/crates/engine/tests
mtlcl410andClaude Opus 5.5 b8436dce5a M2: Symbol and ZapfDingbats stand-ins keep their standard advances (tests)
The stand-in fitting of hayro-interpret patch (67) also applies to Symbol
and ZapfDingbats (ISO 32000-2 9.6.2.2, Annex D.5 and D.6). Tests show
that their glyphs, and the check mark a check box draws for its /MK /CA
caption 4, keep the standard advance:

- symbol_dingbats_width (pdfcraft-render tests/it): Symbol alpha, beta,
  pi, Sigma, Omega, Delta, infinity, bullet and plus, and ZapfDingbats
  a20, a19, a23, a24, a71, a73, a77 and a28, drawn with no /Encoding:
  each glyph's ink lies within its standard advance and fills most of
  it, and the next glyph starts one standard advance on.
- dingbat_check_box (pdfcraft-engine tests/it): a check box with no /AP,
  /DA (/ZaDb 60 Tf 0 g) and /MK /CA (4) draws its check centred in the
  box, within its 846-unit advance and not squeezed.

The patch is renumbered (67), next after main's highest (66), and the
Tests column lists the new tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC
2026-10-30 14:20:38 +08:00
..