pdf_test_fixtures 13.0.0
pdf_test_fixtures: ^13.0.0 copied to clipboard
Programmatically-built PDF files for testing PDF tooling. Builders compute every offset, so fixtures are always structurally correct.
Changelog #
13.0.0 #
- Add test CSC signing-service fixtures.
- Require the 13.0.0 package suite.
12.0.0 #
- Require the 12.0.0 package suite; no additional public API changes.
11.0.0 #
- Update dependency constraints for the 11.0.0 suite.
10.0.0 #
- Add
buildGlyphRunsPdffor testing text split into individually positioned glyph runs. - Update dependency constraints for the 10.0.0 suite.
9.0.0 #
- Add
buildScannedPdf, a fixture of image-only scan pages with optional text and an inline image. - Align dependency constraints with the dart-pdf 9.0.0 suite.
8.1.0 #
- Align dependency constraints with the dart-pdf 8.1.0 suite.
8.0.0 #
- Extend the JBIG2 encoder fixtures to exercise the optimized generic-region decoder.
- Align with the dart-pdf 8.0.0 suite.
7.0.0 #
buildOcrDrawingSheet: a seeded A3 signalling-drawing sheet (/Rotate 90, ~7pt labels touching track dots) with its ground-truth labels, andscoreOcrAccuracy(per-label exact match and CER) for OCR accuracy benchmarks.
6.0.0 #
- Align dependency constraints with the dart-pdf 6.0.0 package suite.
5.1.1 #
- Version bump to track the 5.1.1 suite.
5.1.0 #
- Add
buildDeferredOverprintPdf: three pages that declare overprint and use the colorant buffer three ways (never read, read over unknown backdrop only, and a control that reads a cyan box), for counter gates on the lazy buffer start and the glyph-run probe. - Add
package:pdf_test_fixtures/icc_profiles.dart, a browser-safe library exporting the ICC profile fixtures without the umbrella's VM-only generators. PdfTileSpecgainsmaskedandmaskBlank, andbuildSyntheticCadImageStripatileWidthPtplacement, so the CAD image fixture can draw colour tiles under sparse stencil /Masks the way real raster CAD sheets do (gen_cad_image_pdf.dart's newfaithful2profile).
5.0.0 #
- Add
buildListBoxFormPdf: a multi-select list box whose /V array was written by another tool with no /I, a single-select list box, and a combo box that also carries the MultiSelect flag. - Add
buildTabOrderFormPdf: a two-page form for tab-order tests, with the first page's /Tabs selectable (firstPageTabs). - Add
buildXfaFormPdf: a one-page form carrying /AcroForm /XFA, either hybrid (an AcroForm text field alongside the packets) or dynamic (XFA-only), optionally with /NeedsRendering and with /XFA as a packet array or a single stream. - Add
TestRevocationPki,buildTestOcspResponseandbuildTestCrl: an in-process root/intermediate/signer hierarchy that mints OCSP responses and CRLs on demand.
4.5.0 #
- Align dependency constraints with the dart-pdf 4.5.0 package suite.
4.4.0 #
- Align dependency constraints with the dart-pdf 4.4.0 package suite.
4.3.0 #
- Align dependency constraints with the dart-pdf 4.3.0 package suite.
4.2.0 #
- Let
buildMultiPagePdfwrite/Rotateon every page via a newrotationargument, for tests about display-rotated pages. - Align with the dart-pdf 4.2.0 package suite.
4.1.0 #
- Let
buildMultiPagePdfcreate custom-size pages for deterministic raster, sampling, and memory-budget tests. - Align with the dart-pdf 4.1.0 package suite and update
archiveto 4.2.0.
4.0.0 #
- Lockstep major release for the dart-pdf 4.0.0 package suite. No public fixture API changes since 3.8.0.
3.8.0 #
- Add the public
buildCadImageStripPdffixture for benchmarking and testing image-heavy CAD pages. - Make deterministic fixture generation browser-safe by avoiding integer arithmetic that JavaScript runtimes cannot represent exactly.
3.7.0 #
- Add
buildTextLinesPdf, a one-page fixture drawing each line as its own text run, for content-editing tests that need several runs whose text is the same or deliberately different.
3.6.0 #
- Add a Bluebeam-style FreeText fixture covering
/DSand rich-text/RCCSS fallbacks for alignment, leading, letter spacing, font stretch, and underline.
3.5.1 #
- Add JBIG2 refinement and JPEG 2000 fixtures used to verify scanned MRC masks and refined text symbols.
3.5.0 #
- Lockstep minor release to align the dart-pdf package suite at 3.5.0. No public fixture API changes since 3.4.0.
3.4.0 #
- Lockstep minor release to align the dart-pdf package suite at 3.4.0. No public fixture API changes since 3.3.1.
3.3.1 #
- Add
buildIndirectAnnotsPdf(), a regression fixture for annotation arrays stored in an indirect COS object.
3.3.0 #
- Lockstep minor release to align the dart-pdf package suite at 3.3.0. No fixture API changes since 3.2.0.
3.2.0 #
- Lockstep minor release to align the dart-pdf package suite at 3.2.0. No fixture API changes since 3.1.1.
3.1.1 #
- Lockstep patch release to align the dart-pdf package suite at 3.1.1. No fixture API changes since 3.1.0.
3.1.0 #
- Add a scanned-book fixture profile with shared /JBIG2Globals across pages, exercising the JBIG2 globals cache and concurrent image decode paths (#557).
3.0.0 #
- Lockstep major release to align with
dart_pdf_editor3.0.0. No public API changes since 2.1.0.
2.1.0 #
- Add an image-heavy wide CAD sheet fixture in two profiles, for exercising extreme-aspect page handling and region-replay culling (#419).
- Add a dense-page fixture profile used by the region-replay grid tests (#383).
2.0.0 #
- Major version bump to keep the dart-pdf package suite aligned at 2.0.0.
- Add an in-process fake Fulcio authority (
test_fulcio.dart) that verifies the proof of possession and issues a short-lived certificate from a test CA, for exercising Sigstore/Fulcio keyless signing without a network (#322).
1.4.7 #
- Version bump to keep the dart-pdf package suite aligned at 1.4.7. No fixture changes since 1.4.6.
1.4.6 #
- Add a positioned-tashkil Arabic fixture that mirrors Skia's output shape (each zero-advance mark painted as its own run before its base glyph), for extraction and selection ordering tests.
1.4.5 #
- Add reusable right-to-left text fixtures for Arabic extraction, selection, and copy-order regression tests.
1.4.4 #
- Version bump to keep the dart-pdf package suite aligned at 1.4.4. No fixture API changes since 1.4.3.
1.4.3 #
- Version bump to keep the dart-pdf package suite aligned at 1.4.3. No fixture API changes since 1.4.2.
1.4.2 #
- Version bump to keep the dart-pdf package suite aligned at 1.4.2. No fixture API changes since 1.4.1.
1.4.1 #
- Add fixtures for callout annotations, rich content editing, retained page rendering, and the expanded viewer/editor regression suite.
1.4.0 #
- Version bump to keep the dart-pdf package suite aligned at 1.4.0. Fixture updates support the new color-processing, bookmark, annotation, and app workflow tests.
1.3.2 #
- Version bump to keep the dart-pdf package suite aligned at 1.3.2. No fixture changes since 1.3.1.
1.3.1 #
- Version bump to keep the dart-pdf package suite aligned at 1.3.1. No fixture changes since 1.2.3.
1.2.3 #
- Version bump to keep the dart-pdf package suite aligned at 1.2.3. No fixture changes since 1.2.2.
1.2.2 #
- Version bump to keep the dart-pdf package suite aligned at 1.2.2. No fixture changes since 1.2.1.
1.2.1 #
- Add a package example for pub.dev scoring.
1.2.0 #
- Version bump to keep the dart-pdf package suite aligned at 1.2.0. No fixture changes since 1.1.0.
1.1.0 #
- Version bump to keep the dart-pdf package suite aligned at 1.1.0. No fixture changes since 1.0.0.
1.0.0 #
First stable release. Adds fixtures exercising TrueType post-table
glyph-name selection (fonts with no usable cmap).
0.1.0 #
Initial release: programmatic builders for structurally-correct PDF test files. Classic and xref-stream layouts, multi-page and varied-height documents, annotations, AcroForm fields, encrypted documents, and a test signer identity.