Repository navigation
test: pin graphics and image output to its ISO clauses - #765
Merged
Merged
Conversation
Image dictionaries and soft masks of every loader, colour key masks, output-intent matching of device colours, FitToPage matrices, note block and band rule colour operators, and word spacing of justified lines, each asserted on the written keys and operands and checked with veraPDF, qpdf and poppler where they have a rule. Gaps have a pinning test of today's output and a skipped test of the output the clause needs.
…ing and no ExtGState
Add the rows and pins the review found (PNG colour key bits, JPEG precision, JP2 files of two channels and with a bpcc box, JPX Part 2), cite 8.9.3 and 7.4.9 for the dictionary rows, split the TIFF rows into associated alpha and orientation, turn the #474 test into a pin, correct the citations and the counts, and tighten the band rule, poppler and acceptance assertions.
This was referenced Nov 29, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pins what the v2.4 graphics and image features write to the clauses they claim: the image factories and the PNG, JPEG, BMP, GIF, TIFF, JBIG2 and JPEG 2000 loaders,
LayoutImage.FitToPage, note block and band rule colours, and the word spacing of justified lines. Test-only and docs-only: no change undersrc/.ConformanceAuditG4Tests(298 cases, 14 of them skipped gap cases) intests/VellumPdf.Kernel.Tests.docs/conformance-v2.4.md: 53 rows, 32 compliant, 15 gap, 3 not applicable, 3 human-only.Gaps
Filed: #763, #764, #768, #769 and #770 (the JPX baseline feature set). Known issues cited: #474, #621, #303, #583. Each gap has a test that pins today's output; where a fix's output is known, a skipped test asserts it (#474 has none).
Mutations
Eight mutants of
src, each killed by a named test. One of them, the colour space of a soft-mask image, passed every oracle and was killed only by the direct assertion.Gates
Release build with 0 warnings.
ConformanceAuditG4*: 298 total, 0 failed, 14 skipped on net10.0 and net11.0 with REQUIRE_ORACLES=1. Format, clean-room and roadmap checks pass.