mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-11 16:43:51 +00:00
debian: updated using https://salsa.debian.org/debian/zint as
template, props Dmitry Smirnov (ticket #147, props John Crisp); TODO: enable building with the GS1 Syntax Engine; this involved auditing copyrights which prompted the next item re "tif.c" and will prompt the next next item "pdf417.c" tif.c: replaced LZW compression with tree-based one due to "tif_lzw.h"'s original BSD-TAHOE license which has the equivalent of the "advertising clause", new implementation (which is much faster anyway) props Harald Kuhr and Bob Montgomery pdf417.c: TODO: Replace all code adapted from "pdf417.frm" as it was released under GPL v2.0 or later pdf417.h: replace unnecessary "pdf417.frm" references with ISO/IEC standard as 1st step re above, some expanded comments general: Codablock-F -> Codablock F (i.e. lose hyphen) cmake: frontend/frontend_qt: go back to only setting RPATH on macOS as not Debian compatible and it seems it's not a good idea on Linux anyway; TODO: check BSD + other Unixes CLI/GUI: make "--verbose" option official and document tools/gen_eci_sb_h.php/gen_eci_mb_h.php: add SPDX Unicode-3.0; update haible.de/bruno tarball info - "GB18030.TXT" no longer in "jdk-1.4.2/" so mention "libiconv-1.11/" version instead (same) general: add various SPDXs and normalize some Copyrights reedsol.c: malloced `logt`/`alog` tables int -> short (slight performance improvement) aztec.c: add copyrights, some code fiddling BWIPP: update to latest
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* codablock.c - Handles Codablock-F */
|
||||
/* codablock.c - Handles Codablock F */
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2016-2026 Harald Oehlmann
|
||||
@@ -50,7 +50,7 @@
|
||||
#define ZTNum (CodeA | CodeB | CodeC)
|
||||
#define ZTFNC1 (CodeA | CodeB | CodeC | CodeFNC1)
|
||||
|
||||
/* ASCII-Extension for Codablock-F */
|
||||
/* ASCII-Extension for Codablock F */
|
||||
#define aFNC1 ((uchar) 128)
|
||||
#define aFNC2 ((uchar) 129)
|
||||
#define aFNC3 ((uchar) 130)
|
||||
@@ -513,7 +513,7 @@ static void ASCIIZ128(uchar **ppOutPos, const int CharacterSet, const uchar c1,
|
||||
A2C128_C(ppOutPos, c1, c2);
|
||||
}
|
||||
|
||||
/* XLate Tables D.2, D.3 and F.1 of Codablock-F Specification and call output
|
||||
/* XLate Tables D.2, D.3 and F.1 of Codablock F Specification and call output
|
||||
*/
|
||||
static void SumASCII(uchar **ppOutPos, const int Sum, const int CharacterSet) {
|
||||
switch (CharacterSet) {
|
||||
|
||||
Reference in New Issue
Block a user