Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code128: reduce extended latch cut-off from 5 to 4 #275

Closed
wants to merge 1 commit into from

Conversation

gitlost
Copy link
Contributor

@gitlost gitlost commented Oct 12, 2024

Latch/unlatch extended on 4 chars instead of 5 for better
encodation in certain cases (and no pessimizations found so far),
part addresses PR #272, props lyngklip

Also fix masked extended chars matching ASCII digits in numsscr
(skipped using re-synced numEA array)

This is the first of two alternative PRs, the second one being
an implementation of Alex Geller's divide & conquer algorithm as
used by ZXing (and Zint)

Latch/unlatch extended on 4 chars instead of 5 for better
encodation in certain cases (and no pessimizations found so far),
part addresses PR #272, props lyngklip

Also fix masked extended chars matching ASCII digits in `numsscr`
(skipped using re-synced `numEA` array)
@gitlost
Copy link
Contributor Author

gitlost commented Oct 28, 2024

Closing in favour of PR #278

@gitlost gitlost closed this Oct 28, 2024
@terryburton terryburton deleted the code128_pull_272_1_fnc4 branch November 7, 2024 18:04
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