Skip to content

Add real veraPDF ISO 19005 PDF/A conformance validation tests - #302

Open
balazs-szucs wants to merge 6 commits into
test/normalizer-conformance-testsfrom
test/verapdf-conformance-suite
Open

balazs-szucs wants to merge 6 commits into
test/normalizer-conformance-testsfrom
test/verapdf-conformance-suite

Conversation

@balazs-szucs

Copy link
Copy Markdown
Collaborator

Description of Changes

Adds PdfFontVeraPdfTest along with strict detection, compression, and PDF/X regression coverage validating repaired, normalized, and compressed PDFs against real veraPDF ISO 19005 (PDF/A-1b, PDF/A-2b, PDF/A-3b) profiles. Provides independent standards-grade verification that font subsetting, normalization, and PDF/X conversion emit spec-compliant documents.

Changed:

  • Add PdfFontVeraPdfTest.java exercising veraPDF 1.30.0 1b, 2b, and 3b validation on repaired and subsetted outputs.
  • Expand PdfCompressorDetectionTest.java, PdfCompressorTest.java, and PdfXConverterTest.java with ISO conformance and compression-gate assertions.
  • Add PdfRepairStructuralDamageTest.java, PdfRepairTest, PdfFontEmbedderTest, and FontNormalizerTest conformance regressions.
  • This PR is tests-only: production changes moved to PR Harden PDF/A and PDF/X conformance, memory safety, and Rust bounds checks #295 and earlier stack PRs.

Checklist

General

  • I have read the Contributing Guide
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Notable user-facing changes are recorded under ## [Unreleased] in CHANGELOG.md

Library changes

  • Javadoc covers any new or changed public type or member
  • Public API changes are additive, or .github/workflows/compatibility.yml excludes the break with a reason
  • Version references stay consistent across the README, docs/installation.md, and the POMs

Native or FFM changes

  • Rebuilt the bridge at the stack tip (bash native/build-real.sh)
  • Ran ./gradlew :jpdfium:integrationTest
  • Updated native/bridge/include/jpdfium.h and the ABI notes for any ABI change

Testing

  • Added or updated tests that cover the change
  • ./gradlew :jpdfium:integrationTest passes

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from e10cbea to 151dc67 Compare November 18, 2026 10:46
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from a39375d to 27fc605 Compare November 18, 2026 10:47
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 151dc67 to 72d05f7 Compare November 18, 2026 10:58
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from 27fc605 to 06d9b4c Compare November 18, 2026 10:58
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 72d05f7 to 4a21a0b Compare November 18, 2026 11:37
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch 2 times, most recently from 5057358 to fc43d69 Compare November 18, 2026 17:36
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 4a21a0b to 0bfc640 Compare November 18, 2026 19:55
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from fc43d69 to 253da1f Compare November 18, 2026 19:55
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 0bfc640 to 7ecf110 Compare November 18, 2026 20:33
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from 253da1f to 7d7275b Compare November 18, 2026 20:33
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 7ecf110 to 8b717c1 Compare November 19, 2026 12:58
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from 7d7275b to 8636ceb Compare November 19, 2026 12:58
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 8b717c1 to 3fec7b2 Compare November 19, 2026 13:41
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from 8636ceb to a6ede85 Compare November 19, 2026 13:42
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 3fec7b2 to d90ffc5 Compare November 19, 2026 13:48
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from a6ede85 to de9da6b Compare November 19, 2026 13:48
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from d90ffc5 to 35403c8 Compare November 19, 2026 14:04
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from de9da6b to 809e9dc Compare November 19, 2026 14:04
@balazs-szucs
balazs-szucs force-pushed the test/normalizer-conformance-tests branch from 35403c8 to 2e9fa98 Compare November 19, 2026 15:07
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
@balazs-szucs
balazs-szucs force-pushed the test/verapdf-conformance-suite branch from 809e9dc to ca4b3ba Compare November 19, 2026 15:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant