mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-01 11:45:29 +00:00
pdf417.h/pdf417_tab.h: remove Copyright (C) 2004 Grandzebu and fix
and expand comments debian/copyright: add some missing attributions
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* The functions "getBit", "init928" and "encode928" are copyright BSI and are
|
||||
/* The functions "getBit", "init928" and "encode928" are Copyright (C) 2006 BSI and are
|
||||
released with permission under the following terms:
|
||||
|
||||
"Copyright subsists in all BSI publications. BSI also holds the copyright, in the
|
||||
|
||||
@@ -144,10 +144,11 @@ static const char pdf_asciiy[127] = {
|
||||
};
|
||||
|
||||
/* Automatic sizing table */
|
||||
|
||||
/* Number of non-EC CWs from ISO/IEC 24728:2006 Table 1, arranged in ascending order (1st 28),
|
||||
and matching variant (2nd 28) */
|
||||
static const char pdf_MicroAutosize[56] = {
|
||||
4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 20, 24, 29, 30, 33, 34, 37, 39, 46, 54, 58, 70, 72, 82, 90, 108, 126,
|
||||
1, 14, 2, 7, 3, 25, 8, 16, 5, 17, 9, 6, 10, 11, 28, 12, 19, 13, 29, 20, 30, 21, 22, 31, 23, 32, 33, 34
|
||||
4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 20, 24, 29, 30, 33, 34, 37, 39, 46, 54, 58, 70, 72, 82, 90, 108, 126,
|
||||
1, 14, 2, 7, 3, 25, 8, 16, 5, 17, 9, 6, 10, 11, 28, 12, 19, 13, 29, 20, 30, 21, 22, 31, 23, 32, 33, 34
|
||||
};
|
||||
|
||||
/* ISO/IEC 15438:2015 5.1.1 c) 3) Max possible number of characters at error correction level 0
|
||||
@@ -507,7 +508,6 @@ static void pdf_textprocess(short *chainemc, int *p_mclength, const unsigned cha
|
||||
}
|
||||
}
|
||||
|
||||
/* 663 */
|
||||
*p_curtable = curtable;
|
||||
pdf_textprocess_end(chainemc, p_mclength, is_last_seg, chainet, wnet, p_curtable, p_tex_padded);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
/* pdf417.h - PDF417 tables and coefficients declarations */
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2008-2025 Robin Stuart <rstuart114@gmail.com>
|
||||
Portions Copyright (C) 2004 Grandzebu
|
||||
Copyright (C) 2008-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -40,25 +39,27 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* PDF417 error correction coefficients from Grand Zebu */
|
||||
/* PDF417 error correction coefficients from ISO/IEC 15438:2015 Annex F */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_coefrs[1022];
|
||||
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_bitpattern[2787];
|
||||
/* Encoding/decoding table of PDF417 symbol character bar-space sequences from ISO/IEC 15438:2015 Annex A */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_bitpattern[2787]; /* 2787 = 929 * 3 */
|
||||
|
||||
/* Left RAP, Centre RAP, Right RAP and Start Cluster from ISO/IEC 15438:2015 Tables 10, 11 and 12 */
|
||||
INTERNAL_DATA_EXTERN const char zint_pdf_RAPTable[136]; /* 34 * 4 */
|
||||
|
||||
/* Left and Right Row Address Pattern from ISO/IEC 15438:2015 Table 2 */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_rap_side[52];
|
||||
|
||||
/* Centre Row Address Pattern from ISO/IEC 15438:2015 Table 2 */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_rap_centre[52];
|
||||
|
||||
/* MicroPDF417 coefficients from ISO/IEC 24728:2006 Annex F */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_Microcoeffs[344];
|
||||
|
||||
/* rows, columns, error codewords, k-offset of valid MicroPDF417 sizes from ISO/IEC 24728:2006 */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_MicroVariants[136];
|
||||
|
||||
/* following is Left RAP, Centre RAP, Right RAP and Start Cluster from ISO/IEC 24728:2006 tables 10, 11 and 12 */
|
||||
INTERNAL_DATA_EXTERN const char zint_pdf_RAPTable[136];
|
||||
|
||||
/* Left and Right Row Address Pattern from Table 2 */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_rap_side[52];
|
||||
|
||||
/* Centre Row Address Pattern from Table 2 */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_rap_centre[52];
|
||||
/* Number of Data Columns (1st 34), Number of Rows (2nd 34), Number of EC CWs (3rd 34) from ISO/IEC 24728:2006 Table 1
|
||||
and k-offsets (4th 34) into `zint_pdf_Microcoeffs[]` above */
|
||||
INTERNAL_DATA_EXTERN const unsigned short zint_pdf_MicroVariants[136]; /* 34 * 4 */
|
||||
|
||||
INTERNAL void zint_pdf_byteprocess(short *chainemc, int *p_mclength, const unsigned char chaine[], int start,
|
||||
const int length, const int lastmode);
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2008-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
Portions Copyright (C) 2004 Grandzebu
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -43,29 +42,29 @@ extern "C" {
|
||||
/* PDF417 error correction coefficients from ISO/IEC 15438:2015 Annex F, Tables F.1 to F.9
|
||||
k is no. of EC codewords */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_coefrs[1022] = {
|
||||
/* Table F.1, k = 2 */
|
||||
/* Table F.1, k = 2, k-offset 0 */
|
||||
27, 917,
|
||||
|
||||
/* Table F.2, k = 4 */
|
||||
/* Table F.2, k = 4, k-offset 2 */
|
||||
522, 568, 723, 809,
|
||||
|
||||
/* Table F.3, k = 8 */
|
||||
/* Table F.3, k = 8, k-offset 6 */
|
||||
237, 308, 436, 284, 646, 653, 428, 379,
|
||||
|
||||
/* Table F.4, k = 16 */
|
||||
/* Table F.4, k = 16, k-offset 14 */
|
||||
274, 562, 232, 755, 599, 524, 801, 132, 295, 116, 442, 428, 295, 42, 176, 65,
|
||||
|
||||
/* Table F.5, k = 32 */
|
||||
/* Table F.5, k = 32, k-offset 30 */
|
||||
361, 575, 922, 525, 176, 586, 640, 321, 536, 742, 677, 742, 687, 284, 193, 517,
|
||||
273, 494, 263, 147, 593, 800, 571, 320, 803, 133, 231, 390, 685, 330, 63, 410,
|
||||
|
||||
/* Table F.6, k = 64 */
|
||||
/* Table F.6, k = 64, k-offset 62 */
|
||||
539, 422, 6, 93, 862, 771, 453, 106, 610, 287, 107, 505, 733, 877, 381, 612,
|
||||
723, 476, 462, 172, 430, 609, 858, 822, 543, 376, 511, 400, 672, 762, 283, 184,
|
||||
440, 35, 519, 31, 460, 594, 225, 535, 517, 352, 605, 158, 651, 201, 488, 502,
|
||||
648, 733, 717, 83, 404, 97, 280, 771, 840, 629, 4, 381, 843, 623, 264, 543,
|
||||
|
||||
/* Table F.7, k = 128 */
|
||||
/* Table F.7, k = 128, k-offset 126 */
|
||||
521, 310, 864, 547, 858, 580, 296, 379, 53, 779, 897, 444, 400, 925, 749, 415,
|
||||
822, 93, 217, 208, 928, 244, 583, 620, 246, 148, 447, 631, 292, 908, 490, 704,
|
||||
516, 258, 457, 907, 594, 723, 674, 292, 272, 96, 684, 432, 686, 606, 860, 569,
|
||||
@@ -75,7 +74,7 @@ INTERNAL_DATA const unsigned short zint_pdf_coefrs[1022] = {
|
||||
157, 374, 242, 726, 600, 269, 375, 898, 845, 454, 354, 130, 814, 587, 804, 34,
|
||||
211, 330, 539, 297, 827, 865, 37, 517, 834, 315, 550, 86, 801, 4, 108, 539,
|
||||
|
||||
/* Table F.8, k = 256 */
|
||||
/* Table F.8, k = 256, k-offset 254 */
|
||||
524, 894, 75, 766, 882, 857, 74, 204, 82, 586, 708, 250, 905, 786, 138, 720,
|
||||
858, 194, 311, 913, 275, 190, 375, 850, 438, 733, 194, 280, 201, 280, 828, 757,
|
||||
710, 814, 919, 89, 68, 569, 11, 204, 796, 605, 540, 913, 801, 700, 799, 137,
|
||||
@@ -93,7 +92,7 @@ INTERNAL_DATA const unsigned short zint_pdf_coefrs[1022] = {
|
||||
609, 829, 189, 20, 167, 29, 872, 449, 83, 402, 41, 656, 505, 579, 481, 173,
|
||||
404, 251, 688, 95, 497, 555, 642, 543, 307, 159, 924, 558, 648, 55, 497, 10,
|
||||
|
||||
/* Table F.9, k = 512 */
|
||||
/* Table F.9, k = 512, k-offset 510 */
|
||||
352, 77, 373, 504, 35, 599, 428, 207, 409, 574, 118, 498, 285, 380, 350, 492,
|
||||
197, 265, 920, 155, 914, 299, 229, 643, 294, 871, 306, 88, 87, 193, 352, 781,
|
||||
846, 75, 327, 520, 435, 543, 203, 666, 249, 346, 781, 621, 640, 268, 794, 534,
|
||||
@@ -414,90 +413,15 @@ INTERNAL_DATA const unsigned short zint_pdf_bitpattern[2787] = { /* 2787 = 929 *
|
||||
0xC3EA, 0xC3E9, 0x83CA, 0x87DA, 0x83C9, 0x87D9, 0xE3F5
|
||||
};
|
||||
|
||||
/* MicroPDF417 coefficients from ISO/IEC 24728:2006 Annex F
|
||||
Note from Table 1 minimum no. of EC codewords (k) is 7, so don't need the entries for 3 to 6 */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_Microcoeffs[344] = {
|
||||
/* k = 7 */
|
||||
76, 925, 537, 597, 784, 691, 437,
|
||||
|
||||
/* k = 8 */
|
||||
237, 308, 436, 284, 646, 653, 428, 379,
|
||||
|
||||
/* k = 9 */
|
||||
567, 527, 622, 257, 289, 362, 501, 441, 205,
|
||||
|
||||
/* k = 10 */
|
||||
377, 457, 64, 244, 826, 841, 818, 691, 266, 612,
|
||||
|
||||
/* k = 11 */
|
||||
462, 45, 565, 708, 825, 213, 15, 68, 327, 602, 904,
|
||||
|
||||
/* k = 12 */
|
||||
597, 864, 757, 201, 646, 684, 347, 127, 388, 7, 69, 851,
|
||||
|
||||
/* k = 13 */
|
||||
764, 713, 342, 384, 606, 583, 322, 592, 678, 204, 184, 394, 692,
|
||||
|
||||
/* k = 14 */
|
||||
669, 677, 154, 187, 241, 286, 274, 354, 478, 915, 691, 833, 105, 215,
|
||||
|
||||
/* k = 15 */
|
||||
460, 829, 476, 109, 904, 664, 230, 5, 80, 74, 550, 575, 147, 868, 642,
|
||||
|
||||
/* k = 16 */
|
||||
274, 562, 232, 755, 599, 524, 801, 132, 295, 116, 442, 428, 295, 42, 176, 65,
|
||||
|
||||
/* k = 18 */
|
||||
279, 577, 315, 624, 37, 855, 275, 739, 120, 297, 312, 202, 560, 321, 233, 756,
|
||||
760, 573,
|
||||
|
||||
/* k = 21 */
|
||||
108, 519, 781, 534, 129, 425, 681, 553, 422, 716, 763, 693, 624, 610, 310, 691,
|
||||
347, 165, 193, 259, 568,
|
||||
|
||||
/* k = 26 */
|
||||
443, 284, 887, 544, 788, 93, 477, 760, 331, 608, 269, 121, 159, 830, 446, 893,
|
||||
699, 245, 441, 454, 325, 858, 131, 847, 764, 169,
|
||||
|
||||
/* k = 32 */
|
||||
361, 575, 922, 525, 176, 586, 640, 321, 536, 742, 677, 742, 687, 284, 193, 517,
|
||||
273, 494, 263, 147, 593, 800, 571, 320, 803, 133, 231, 390, 685, 330, 63, 410,
|
||||
|
||||
/* k = 38 */
|
||||
234, 228, 438, 848, 133, 703, 529, 721, 788, 322, 280, 159, 738, 586, 388, 684,
|
||||
445, 680, 245, 595, 614, 233, 812, 32, 284, 658, 745, 229, 95, 689, 920, 771,
|
||||
554, 289, 231, 125, 117, 518,
|
||||
|
||||
/* k = 44 */
|
||||
476, 36, 659, 848, 678, 64, 764, 840, 157, 915, 470, 876, 109, 25, 632, 405,
|
||||
417, 436, 714, 60, 376, 97, 413, 706, 446, 21, 3, 773, 569, 267, 272, 213,
|
||||
31, 560, 231, 758, 103, 271, 572, 436, 339, 730, 82, 285,
|
||||
|
||||
/* k = 50 */
|
||||
923, 797, 576, 875, 156, 706, 63, 81, 257, 874, 411, 416, 778, 50, 205, 303,
|
||||
188, 535, 909, 155, 637, 230, 534, 96, 575, 102, 264, 233, 919, 593, 865, 26,
|
||||
579, 623, 766, 146, 10, 739, 246, 127, 71, 244, 211, 477, 920, 876, 427, 820,
|
||||
718, 435
|
||||
};
|
||||
|
||||
/* rows, columns, error codewords, k-offset of valid MicroPDF417 sizes from ISO/IEC 24728:2006 */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_MicroVariants[136] = { /*34*4*/
|
||||
1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
11, 14, 17, 20, 24, 28, 8, 11, 14, 17, 20, 23, 26, 6, 8, 10, 12, 15, 20, 26, 32, 38, 44, 4, 6, 8, 10, 12, 15, 20, 26, 32, 38, 44,
|
||||
7, 7, 7, 8, 8, 8, 8, 9, 9, 10, 11, 13, 15, 12, 14, 16, 18, 21, 26, 32, 38, 44, 50, 8, 12, 14, 16, 18, 21, 26, 32, 38, 44, 50,
|
||||
0, 0, 0, 7, 7, 7, 7, 15, 15, 24, 34, 57, 84, 45, 70, 99, 115, 133, 154, 180, 212, 250, 294, 7, 45, 70, 99, 115, 133, 154, 180, 212, 250, 294
|
||||
};
|
||||
/* rows, columns, error codewords, k-offset */
|
||||
|
||||
/* Following is Left RAP, Centre RAP, Right RAP and Start Cluster from ISO/IEC 24728:2006 Tables 10, 11 and 12 */
|
||||
INTERNAL_DATA const char zint_pdf_RAPTable[136] = { /*34*4*/
|
||||
/* Left RAP, Centre RAP, Right RAP and Start Cluster from ISO/IEC 15438:2015 Tables 10, 11 and 12 */
|
||||
INTERNAL_DATA const char zint_pdf_RAPTable[136] = { /* 34 * 4 */
|
||||
1, 8, 36, 19, 9, 25, 1, 1, 8, 36, 19, 9, 27, 1, 7, 15, 25, 37, 1, 1, 21, 15, 1, 47, 1, 7, 15, 25, 37, 1, 1, 21, 15, 1,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 7, 15, 25, 37, 17, 9, 29, 31, 25, 19, 1, 7, 15, 25, 37, 17, 9, 29, 31, 25,
|
||||
9, 8, 36, 19, 17, 33, 1, 9, 8, 36, 19, 17, 35, 1, 7, 15, 25, 37, 33, 17, 37, 47, 49, 43, 1, 7, 15, 25, 37, 33, 17, 37, 47, 49,
|
||||
0, 3, 6, 0, 6, 0, 0, 0, 3, 6, 0, 6, 6, 0, 0, 6, 0, 0, 0, 0, 6, 6, 0, 3, 0, 0, 6, 0, 0, 0, 0, 6, 6, 0
|
||||
};
|
||||
|
||||
/* Left and Right Row Address Pattern from Table 2 */
|
||||
/* Left and Right Row Address Pattern from ISO/IEC 15438:2015 Table 2 */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_rap_side[52] = {
|
||||
0x322, 0x3A2, 0x3B2, 0x332, 0x372, 0x37A, 0x33A, 0x3BA, 0x39A, 0x3DA,
|
||||
0x3CA, 0x38A, 0x30A, 0x31A, 0x312, 0x392, 0x3D2, 0x3D6, 0x3D4, 0x394,
|
||||
@@ -507,7 +431,7 @@ INTERNAL_DATA const unsigned short zint_pdf_rap_side[52] = {
|
||||
0x342, 0x362
|
||||
};
|
||||
|
||||
/* Centre Row Address Pattern from Table 2 */
|
||||
/* Centre Row Address Pattern from ISO/IEC 15438:2015 Table 2 */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_rap_centre[52] = {
|
||||
0x2CE, 0x24E, 0x26E, 0x22E, 0x226, 0x236, 0x216, 0x212, 0x21A, 0x23A,
|
||||
0x232, 0x222, 0x262, 0x272, 0x27A, 0x2FA, 0x2F2, 0x2F6, 0x276, 0x274,
|
||||
@@ -517,6 +441,81 @@ INTERNAL_DATA const unsigned short zint_pdf_rap_centre[52] = {
|
||||
0x2DC, 0x2DE
|
||||
};
|
||||
|
||||
/* MicroPDF417 coefficients from ISO/IEC 24728:2006 Annex F
|
||||
Note from Table 1 minimum no. of EC codewords (k) is 7, so don't need the entries for 3 to 6 */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_Microcoeffs[344] = {
|
||||
/* k = 7, k-offset 0 */
|
||||
76, 925, 537, 597, 784, 691, 437,
|
||||
|
||||
/* k = 8, k-offset 7 */
|
||||
237, 308, 436, 284, 646, 653, 428, 379,
|
||||
|
||||
/* k = 9, k-offset 15 */
|
||||
567, 527, 622, 257, 289, 362, 501, 441, 205,
|
||||
|
||||
/* k = 10, k-offset 24 */
|
||||
377, 457, 64, 244, 826, 841, 818, 691, 266, 612,
|
||||
|
||||
/* k = 11, k-offset 34 */
|
||||
462, 45, 565, 708, 825, 213, 15, 68, 327, 602, 904,
|
||||
|
||||
/* k = 12, k-offset 45 */
|
||||
597, 864, 757, 201, 646, 684, 347, 127, 388, 7, 69, 851,
|
||||
|
||||
/* k = 13, k-offset 57 */
|
||||
764, 713, 342, 384, 606, 583, 322, 592, 678, 204, 184, 394, 692,
|
||||
|
||||
/* k = 14, k-offset 70 */
|
||||
669, 677, 154, 187, 241, 286, 274, 354, 478, 915, 691, 833, 105, 215,
|
||||
|
||||
/* k = 15, k-offset 84 */
|
||||
460, 829, 476, 109, 904, 664, 230, 5, 80, 74, 550, 575, 147, 868, 642,
|
||||
|
||||
/* k = 16, k-offset 99 */
|
||||
274, 562, 232, 755, 599, 524, 801, 132, 295, 116, 442, 428, 295, 42, 176, 65,
|
||||
|
||||
/* k = 18, k-offset 115 */
|
||||
279, 577, 315, 624, 37, 855, 275, 739, 120, 297, 312, 202, 560, 321, 233, 756,
|
||||
760, 573,
|
||||
|
||||
/* k = 21, k-offset 133 */
|
||||
108, 519, 781, 534, 129, 425, 681, 553, 422, 716, 763, 693, 624, 610, 310, 691,
|
||||
347, 165, 193, 259, 568,
|
||||
|
||||
/* k = 26, k-offset 154 */
|
||||
443, 284, 887, 544, 788, 93, 477, 760, 331, 608, 269, 121, 159, 830, 446, 893,
|
||||
699, 245, 441, 454, 325, 858, 131, 847, 764, 169,
|
||||
|
||||
/* k = 32, k-offset 180 */
|
||||
361, 575, 922, 525, 176, 586, 640, 321, 536, 742, 677, 742, 687, 284, 193, 517,
|
||||
273, 494, 263, 147, 593, 800, 571, 320, 803, 133, 231, 390, 685, 330, 63, 410,
|
||||
|
||||
/* k = 38, k-offset 212 */
|
||||
234, 228, 438, 848, 133, 703, 529, 721, 788, 322, 280, 159, 738, 586, 388, 684,
|
||||
445, 680, 245, 595, 614, 233, 812, 32, 284, 658, 745, 229, 95, 689, 920, 771,
|
||||
554, 289, 231, 125, 117, 518,
|
||||
|
||||
/* k = 44, k-offset 250 */
|
||||
476, 36, 659, 848, 678, 64, 764, 840, 157, 915, 470, 876, 109, 25, 632, 405,
|
||||
417, 436, 714, 60, 376, 97, 413, 706, 446, 21, 3, 773, 569, 267, 272, 213,
|
||||
31, 560, 231, 758, 103, 271, 572, 436, 339, 730, 82, 285,
|
||||
|
||||
/* k = 50, k-offset 294 */
|
||||
923, 797, 576, 875, 156, 706, 63, 81, 257, 874, 411, 416, 778, 50, 205, 303,
|
||||
188, 535, 909, 155, 637, 230, 534, 96, 575, 102, 264, 233, 919, 593, 865, 26,
|
||||
579, 623, 766, 146, 10, 739, 246, 127, 71, 244, 211, 477, 920, 876, 427, 820,
|
||||
718, 435
|
||||
};
|
||||
|
||||
/* Number of Data Columns (1st 34), Number of Rows (2nd 34), Number of EC CWs (3rd 34) from ISO/IEC 24728:2006 Table 1
|
||||
and k-offsets (4th 34) into `zint_pdf_Microcoeffs[]` above */
|
||||
INTERNAL_DATA const unsigned short zint_pdf_MicroVariants[136] = { /* 34 * 4 */
|
||||
1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
11, 14, 17, 20, 24, 28, 8, 11, 14, 17, 20, 23, 26, 6, 8, 10, 12, 15, 20, 26, 32, 38, 44, 4, 6, 8, 10, 12, 15, 20, 26, 32, 38, 44,
|
||||
7, 7, 7, 8, 8, 8, 8, 9, 9, 10, 11, 13, 15, 12, 14, 16, 18, 21, 26, 32, 38, 44, 50, 8, 12, 14, 16, 18, 21, 26, 32, 38, 44, 50,
|
||||
0, 0, 0, 7, 7, 7, 7, 15, 15, 24, 34, 57, 84, 45, 70, 99, 115, 133, 154, 180, 212, 250, 294, 7, 45, 70, 99, 115, 133, 154, 180, 212, 250, 294
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* The functions "dbar_combins" and "dbar_getWidths" are copyright BSI and are
|
||||
/* The functions "dbar_combins" and "dbar_getWidths" are Copyright (C) 2006 BSI and are
|
||||
released with permission under the following terms:
|
||||
|
||||
"Copyright subsists in all BSI publications. BSI also holds the copyright, in the
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
/* Generate mod 928 powers table for `encode928()` in "composite.c" */
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2020-2024 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (C) 2020-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* The functions "getBit", "init928" and "encode928" are copyright BSI and are
|
||||
/* The functions "getBit", "init928" and "encode928" are Copyright (C) 2006 BSI and are
|
||||
released with permission under the following terms:
|
||||
|
||||
"Copyright subsists in all BSI publications. BSI also holds the copyright, in the
|
||||
|
||||
67
debian/copyright
vendored
67
debian/copyright
vendored
@@ -17,6 +17,8 @@ Copyright:
|
||||
Copyright (C) 2014-2026 Harald Oehlmann <oehhar@users.sourceforge.net>
|
||||
Copyright (C) Cliff Hones 2004
|
||||
Copyright (c) 2004 Adrian Kennard, Andrews & Arnold Ltd
|
||||
Copyright (c) 2015, Harald Kuhr
|
||||
Copyright (C) 2024-2025 Antoine Merino <antoine.merino.dev@gmail.com>
|
||||
Copyright (c) 2006 Stefan Schmidt <stefan@datenfreihafen.org>
|
||||
Copyright (C) 2016 Zoe Stuart
|
||||
Copyright (C) 2006-2009 United States Postal Service
|
||||
@@ -70,19 +72,49 @@ License: BSD-3-Clause and Unicode-3.0
|
||||
|
||||
Files:
|
||||
backend/channel.c
|
||||
backend/composite.c
|
||||
Copyright:
|
||||
Copyright (C) 2017-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright © AIM 1997
|
||||
Copyright (c) 2004-2026 Terry Burton
|
||||
License: BSD-3-Clause and MIT and AIM
|
||||
It is the intent and understanding of AIM [t]hat the symbology presented in this
|
||||
specification is entirely in the public domain and free of all use restrictions,
|
||||
licenses and fees. AIM USA, its member companies, or individual officers
|
||||
assume no liability for the use of this document.
|
||||
|
||||
Files:
|
||||
backend/common.c
|
||||
backend/gridmtx.c
|
||||
backend/hanxin.c
|
||||
backend/qr.*
|
||||
Copyright:
|
||||
Copyright (C) 2017-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (c) AIM 1997
|
||||
Copyright (c) 2004-2026 Terry Burton
|
||||
Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>
|
||||
Copyright (c) Project Nayuki
|
||||
License: BSD-3-Clause and MIT
|
||||
|
||||
Files:
|
||||
backend/composite.c
|
||||
backend/rss.c
|
||||
backend/tools/gen_pwr928_table.php
|
||||
Copyright:
|
||||
Copyright (C) 2017-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (c) 2004-2026 Terry Burton
|
||||
Copyright (C) 2006 BSI
|
||||
License: BSD-3-Clause and MIT and BSI
|
||||
Copyright subsists in all BSI publications. BSI also holds the copyright, in the
|
||||
UK, of the international standardisation bodies. Except as
|
||||
permitted under the Copyright, Designs and Patents Act 1988 no extract may be
|
||||
reproduced, stored in a retrieval system or transmitted in any form or by any
|
||||
means - electronic, photocopying, recording or otherwise - without prior written
|
||||
permission from BSI.
|
||||
.
|
||||
This does not preclude the free use, in the course of implementing the standard,
|
||||
of necessary details such as symbols, and size, type or grade designations. If these
|
||||
details are to be used for any other purpose than implementation then the prior
|
||||
written permission of BSI must be obtained.
|
||||
|
||||
Files:
|
||||
backend/pcx.c
|
||||
Copyright:
|
||||
@@ -113,6 +145,13 @@ Copyright:
|
||||
Copyright (C) 2006-2017 Kentaro Fukuchi <kentaro@fukuchi.org>
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
Files:
|
||||
backend/tests/fuzz/Dockerfile
|
||||
backend/tests/fuzz/build.sh
|
||||
Copyright:
|
||||
Copyright 2024 Google LLC
|
||||
License: Apache-2.0
|
||||
|
||||
Files:
|
||||
frontend/main.c
|
||||
Copyright:
|
||||
@@ -388,18 +427,6 @@ License: ISC
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
․
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
License: LGPL-2.0-or-later
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Library General Public License as published
|
||||
@@ -428,6 +455,18 @@ License: LGPL-2.1-or-later
|
||||
On Debian systems, the complete text of the GNU Library General Public
|
||||
License Version 2 can be found in "/usr/share/common-licenses/LGPL-2.1".
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
․
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
License: Unicode-3.0
|
||||
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
||||
INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR SOFTWARE, YOU
|
||||
|
||||
Reference in New Issue
Block a user