- PDF417/MICROPDF417: use latch not ps shift for padding when

spanning Text segments to avoid affecting 1st char of 2nd segment
- PDF417/MICROPDF417: add optimized encoding, FAST_MODE for
  previous scheme; formatting changes
- common.c/h: add `cnt_digits()`, comments in include and make more
  consistent, minor code fiddling
- DOTCODE: replace `dc_n_digits()` with new `cnt_digits()`
- test_qr: fix `test_qr_perf()`
- composite: minor code fiddling
- library: debug dump HIBC-processed input
- BWIPP: update to latest
This commit is contained in:
gitlost
2022-11-06 22:25:19 +00:00
parent fbfaabf004
commit e515f63fab
32 changed files with 3885 additions and 640 deletions

View File

@ -1,6 +1,6 @@
% Zint Barcode Generator and Zint Barcode Studio User Manual
% Version 2.11.1.9
% October 2022
% November 2022
# 1. Introduction
@ -2031,7 +2031,8 @@ Value Effect
overall height.
`FAST_MODE` Use faster if less optimal encodation for symbologies that
support it (currently `DATAMATRIX` only).
support it (currently `DATAMATRIX`, `MICROPDF417` and
`PDF417` only).
--------------------------------------------------------------------------------
Table: API `input_mode` Values {#tbl:api_input_mode tag="$ $"}
@ -2917,6 +2918,9 @@ This symbology uses Latin-1 character encoding by default but also supports the
ECI encoding mechanism. A separate symbology ID (`BARCODE_HIBC_PDF`) can be used
to encode Health Industry Barcode (HIBC) data.
For a faster but less optimal encoding, the `--fast` option (API `input_mode |=
FAST_MODE`) may be used.
PDF417 supports Structured Append of up to 99,999 symbols and an optional
numeric ID of up to 30 digits, which can be set by using the `--structapp`
option (see [4.16 Structured Append]) (API `structapp`). The ID consists of up
@ -2947,7 +2951,7 @@ can be determined using the `--cols` switch (API `option_2`) as with PDF417.
This symbology uses Latin-1 character encoding by default but also supports the
ECI encoding mechanism. A separate symbology ID (`BARCODE_HIBC_MICPDF`) can be
used to encode Health Industry Barcode (HIBC) data. MicroPDF417 supports
Structured Append the same as PDF417, for which see details.
`FAST_MODE` and Structured Append the same as PDF417, for which see details.
### 6.2.7 GS1 DataBar Stacked (ISO 24724)

View File

@ -1,6 +1,6 @@
Zint Barcode Generator and Zint Barcode Studio User Manual
Version 2.11.1.9
October 2022
November 2022
*******************************************************************************
* For reference the following is a text-only version of the Zint manual, *
@ -2051,7 +2051,8 @@ property. Valid values are shown in the table below.
overall height.
FAST_MODE Use faster if less optimal encodation for symbologies that
support it (currently DATAMATRIX only).
support it (currently DATAMATRIX, MICROPDF417 and PDF417
only).
-------------------------------------------------------------------------------
: Table  : API input_mode Values
@ -2870,6 +2871,9 @@ This symbology uses Latin-1 character encoding by default but also supports the
ECI encoding mechanism. A separate symbology ID (BARCODE_HIBC_PDF) can be used
to encode Health Industry Barcode (HIBC) data.
For a faster but less optimal encoding, the --fast option (API
input_mode |= FAST_MODE) may be used.
PDF417 supports Structured Append of up to 99,999 symbols and an optional
numeric ID of up to 30 digits, which can be set by using the --structapp option
(see 4.16 Structured Append) (API structapp). The ID consists of up to 10
@ -2900,7 +2904,7 @@ can be determined using the --cols switch (API option_2) as with PDF417.
This symbology uses Latin-1 character encoding by default but also supports the
ECI encoding mechanism. A separate symbology ID (BARCODE_HIBC_MICPDF) can be
used to encode Health Industry Barcode (HIBC) data. MicroPDF417 supports
Structured Append the same as PDF417, for which see details.
FAST_MODE and Structured Append the same as PDF417, for which see details.
6.2.7 GS1 DataBar Stacked (ISO 24724)
@ -4121,7 +4125,7 @@ defined.
Annex B. Man Page ZINT(1)
% ZINT(1) Version 2.11.1.9 % % October 2022
% ZINT(1) Version 2.11.1.9 % % November 2022
NAME
@ -4284,7 +4288,8 @@ OPTIONS
--fast
Use faster if less optimal encodation (currently affects Data Matrix only).
Use faster if less optimal encodation (currently affects Data Matrix,
MicroPDF417 & PDF417 only).
--fg=COLOUR

View File

@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "ZINT" "1" "October 2022" "Version 2.11.1.9" ""
.TH "ZINT" "1" "November 2022" "Version 2.11.1.9" ""
.hy
.SH NAME
.PP
@ -193,8 +193,8 @@ The escape sequences are:
.RE
.TP
\f[V]--fast\f[R]
Use faster if less optimal encodation (currently affects Data Matrix
only).
Use faster if less optimal encodation (currently affects Data Matrix,
MicroPDF417 & PDF417 only).
.TP
\f[V]--fg=COLOUR\f[R]
Specify a foreground (ink) colour where \f[I]COLOUR\f[R] is in hex

View File

@ -1,6 +1,6 @@
% ZINT(1) Version 2.11.1.9
%
% October 2022
% November 2022
# NAME
@ -144,7 +144,7 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
`--fast`
: Use faster if less optimal encodation (currently affects Data Matrix only).
: Use faster if less optimal encodation (currently affects Data Matrix, MicroPDF417 & PDF417 only).
`--fg=COLOUR`