Skip to content

Commit

Permalink
code128: Avoid extraneous CodeC switch
Browse files Browse the repository at this point in the history
  Avoid extraneous CodeC switch (with immediate switch back to
  CodeA/B) by re-checking digit runlength >= 4 after enca/encb push

  Also simplify `numsscr` to return only `nums` as `nchars` unused
  (cf codablockf and code16k which similarly could be simplified)
  • Loading branch information
gitlost authored and terryburton committed Sep 3, 2024
1 parent ac0e94b commit 50f6944
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 0 deletions.
Binary file modified src/code128.ps
Binary file not shown.
Binary file modified tests/ps_tests/code128.ps
Binary file not shown.
Binary file modified tests/ps_tests/gs1-128.ps
Binary file not shown.

0 comments on commit 50f6944

Please sign in to comment.