Skip to content

datamatrix: Macro 05/06 always in first position - #313

Merged
terryburton merged 1 commit into
bwipp:masterfrom
ExplodingWaffle:master
Aug 31, 2026
Merged

datamatrix: Macro 05/06 always in first position#313
terryburton merged 1 commit into
bwipp:masterfrom
ExplodingWaffle:master

Conversation

@ExplodingWaffle

Copy link
Copy Markdown
Contributor

The Data Matrix encoder was fixed to emit the Macro 05/06 codeword as the first codeword. The old behaviour could cause latch/unlatch before Macro 05/06: however these must be in the first position. (with my scanner, the Format 06 stuff was getting missed off. annoyingly, zxing seems to include it anyway...)

NB: The code herein is AI generated: I've never even read postscript before. That said, the change is fairly small and looks fine to me. Tested before and after to make sure everything still works and verify there is a problem that the fix fixes.

The Data Matrix encoder was fixed to emit the Macro 05/06 codeword as the first codeword. The old behaviour could cause latch/unlatch before Macro 05/06: however these must be in the first position.
@terryburton
terryburton merged commit d91af23 into bwipp:master Aug 31, 2026
10 of 12 checks passed
@terryburton

Copy link
Copy Markdown
Member

LGTM. Thanks.

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.

2 participants