# fx/other/1.pdf: mismatch

- Signature: `mismatch: extra_ink / image (RGBA8888, blend Normal)` (unique to this document)
- Baseline: not in baseline
- File: `fx/other/1.pdf`
- SHA-256: `b6785cee097b3c4d6295239671e49eba0b13890e4f1d52e87e509454aeb1b0ac`
- Reproduce: `cargo conformance run --corpus pdfium --case fx/other/1.pdf`
- Reference: PDFium libpdfium.so (sha256 f728930966f50365) at 1.5 px/pt, page content only. Neither renderer draws annotations or form fields here.

## Read

Safe-PDF loaded 1 pages.
PDFium loaded 1 pages.

## Features

filter:DCTDecode ×1, filter:FlateDecode ×3, font:Type1 ×2, image ×2, non_embedded_font ×1

Non-embedded fonts (renderers substitute differently, so small text differences are expected): Helvetica, ZapfDingbats

Likely crates: pdf-filter, pdf-font, pdf-image, pdf-text-engine (font substitution)

## Page 0: mismatch

- Signature: `mismatch: extra_ink / image (RGBA8888, blend Normal)` (unique to this document)
- Reproduce: `cargo conformance run --corpus pdfium --case fx/other/1.pdf --page 0`
- Safe-PDF render: record 22 ms; replay 16 ms; 53 replayed commands; pattern and mask nesting 0
- Content streams reachable through resources, with cycles marked: [p0-streams.txt](p0-streams.txt)
- Mismatch 0.735% of pixels; mean |ΔRGB| 1.95; ink coverage reference 1.45% vs Safe-PDF 2.24%; 1110 x 1659 px; 2 Safe-PDF draw calls
- Context, Safe-PDF against: pdf.js 0.739%
- Images: [p0-ref.png](p0-ref.png), [p0-safe.png](p0-safe.png), [p0-diff.png](p0-diff.png), [p0-compare.png](p0-compare.png), [p0-region0.png](p0-region0.png), [p0-pdfjs.png](p0-pdfjs.png)
- Content stream: [p0-content.txt](p0-content.txt)

| # | class | annotation | pixels | page space | differing px | reference text | Safe-PDF text |
|---|---|---|---|---|---|---|---|
| 0 | extra_ink |  | [72, 1120, 240, 1288] | [48.0, 247.2, 160.0, 359.2] | 13540 | — | — |

Region 0 Safe-PDF draws:
- #0 image 429x542 RGBA8888, blend Normal, matrix [159.70723, 0.0, 0.0, 191.84659, 77.08602, 1095.8127] at [77, 1120, 237, 1286]
- #1 image 1x1 RGBA8888, blend Normal, matrix [159.70723, 0.0, 0.0, 191.84662, 132.11934, 1147.7429] at [132, 1172, 292, 1338]

## Legend

- `pN-compare.png`: reference | Safe-PDF | diff. Diff colors: red = ink missing in Safe-PDF, blue = extra ink in Safe-PDF, magenta = hue differs, orange = same hue but different intensity (shape), yellow = anti-aliasing or 1 px displacement (tolerated), pale blue hatching = annotation area (not compared), gray = matching.
- Region classes: missing_ink / extra_ink = one renderer drew nothing there; color_shift = same shapes, different color; reshaped = both drew but glyph shapes or geometry differ (often font substitution); offset = same content shifted by a few pixels.
- `pN-regionK.png`: reference | Safe-PDF crops of region K, enlarged.
- Region pixels are `[x0, y0, x1, y1]` from the top-left. Page space is PDF user space `[left, bottom, right, top]`.
- Draw `#n` is the n-th Safe-PDF backend call on the page. Bounds are device pixels after clipping, and draws are listed tightest fit first.
- `pN-content.txt` lists the page's content stream operators. `report.json` has full backtraces and worker stderr.
