mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
RAW_TEXT: expand UPC-A, UPC-E to EAN-13, and EAN-8 if has add-on,
and place any add-on data directly after (no separator) EAN-8 + add-on: warn as non-compliant (see ZXing-C++ issue #883, https://github.com/zxing-cpp/zxing-cpp/issues/883) test suite: BWIPP: use new EAN-8 + add-on option "permitaddon"; fix dumps of RAW_TEXT `memcmp()`s fails; various re-formatting bwipp_dump.ps: update to latest BWIPP
This commit is contained in:
@@ -2691,10 +2691,11 @@ The `source`, `length` and `eci` members of `zint_seg` will be set accordingly -
|
||||
the data in `source`, the data length in `length`, and the character set the
|
||||
data is in (UTF-8 data will be converted) in `eci`. Any check characters encoded
|
||||
will be included,[^16] and for GS1 data any `FNC1` separators will be
|
||||
represented as `GS` characters. For EAN/UPC data, add-ons will be separated from
|
||||
the main data with a plus (`+`) sign. GS1 Composite data if any will be
|
||||
separated from the primary data (including any EAN/UPC add-ons) by a pipe (`|`)
|
||||
character.
|
||||
represented as `GS` (ASCII 29) characters. UPC-A and UPC-E data will be expanded
|
||||
to EAN-13, as will EAN-8 but only if it has an add-on (otherwise it will remain
|
||||
at 8 digits), and any add-ons will follow the 13 digits directly (no separator).
|
||||
GS1 Composite data if any will be separated from the primary data (including any
|
||||
EAN/UPC add-ons) by a pipe (`|`) character.
|
||||
|
||||
[^15]: DotCode, Han Xin, Micro QR Code, QR Code and UPNQR have variable masks.
|
||||
Rectangular Micro QR Code has a fixed mask (4).
|
||||
|
||||
Reference in New Issue
Block a user