Skip to content

Use the DeterministicPdf package instead of a local PdfNormalizer#17

Merged
SimonCropp merged 1 commit into
mainfrom
deterministic-pdf
Jul 22, 2026
Merged

Use the DeterministicPdf package instead of a local PdfNormalizer#17
SimonCropp merged 1 commit into
mainfrom
deterministic-pdf

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Deletes the local copy of the normalizer in favour of the shared package.

The package additionally handles dc:date (an XMP ordered array, so the value is nested in rdf:Seq/rdf:li rather than being direct text content), canonicalizes the XMP packet whitespace, and fixes an unterminated /ID that could scan past the end of the buffer.

Normalize(byte[]) in the package returns a copy rather than mutating in place, so the call site assigns the result.

Deletes the local copy of the normalizer in favour of the shared package.

The package additionally handles dc:date (an XMP ordered array, so the value is
nested in rdf:Seq/rdf:li rather than being direct text content), canonicalizes
the XMP packet whitespace, and fixes an unterminated /ID that could scan past
the end of the buffer.

Normalize(byte[]) in the package returns a copy rather than mutating in place,
so the call site assigns the result.
@SimonCropp SimonCropp added this to the 1.3.0 milestone Jul 22, 2026
@SimonCropp
SimonCropp merged commit fc45f37 into main Jul 22, 2026
4 of 6 checks passed
@SimonCropp
SimonCropp deleted the deterministic-pdf branch July 22, 2026 13:46
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