2020-03-29 11:50:55 +13:00
/*
libzint - the open source barcode library
Copyright ( C ) 2020 Robin Stuart < rstuart114 @ gmail . com >
Redistribution and use in source and binary forms , with or without
modification , are permitted provided that the following conditions
are met :
1. Redistributions of source code must retain the above copyright
notice , this list of conditions and the following disclaimer .
2. Redistributions in binary form must reproduce the above copyright
notice , this list of conditions and the following disclaimer in the
documentation and / or other materials provided with the distribution .
3. Neither the name of the project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission .
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " AND
ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL
DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS INTERRUPTION )
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT
LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE .
*/
/* vim: set ts=4 sw=4 et : */
# include "testcommon.h"
2020-10-27 01:21:43 +13:00
static void test_options ( int index , int debug ) {
testStart ( " " ) ;
int ret ;
struct item {
int symbology ;
int input_mode ;
int output_options ;
int option_1 ;
int option_2 ;
char * data ;
int ret ;
int expected_rows ;
int expected_width ;
} ;
// s/\/\*[ 0-9]*\*\//\=printf("\/*%3d*\/", line(".") - line("'<"))
struct item data [ ] = {
/* 0*/ { BARCODE_AZTEC , - 1 , - 1 , - 1 , - 1 , " 1234567890 " , 0 , 15 , 15 } ,
/* 1*/ { BARCODE_AZTEC , - 1 , - 1 , 4 , - 1 , " 1234567890 " , 0 , 19 , 19 } ,
/* 2*/ { BARCODE_AZTEC , - 1 , - 1 , 5 , - 1 , " 1234567890 " , ZINT_WARN_INVALID_OPTION , 15 , 15 } ,
/* 3*/ { BARCODE_AZTEC , - 1 , - 1 , - 1 , 36 , " 1234567890 " , 0 , 151 , 151 } ,
/* 4*/ { BARCODE_AZTEC , - 1 , - 1 , - 1 , 37 , " 1234567890 " , ZINT_ERROR_INVALID_OPTION , - 1 , - 1 } ,
/* 5*/ { BARCODE_AZTEC , GS1_MODE , READER_INIT , - 1 , - 1 , " [91]A " , ZINT_ERROR_INVALID_OPTION , - 1 , - 1 } ,
} ;
int data_size = ARRAY_SIZE ( data ) ;
for ( int i = 0 ; i < data_size ; i + + ) {
if ( index ! = - 1 & & i ! = index ) continue ;
struct zint_symbol * symbol = ZBarcode_Create ( ) ;
assert_nonnull ( symbol , " Symbol not created \n " ) ;
int length = testUtilSetSymbol ( symbol , data [ i ] . symbology , data [ i ] . input_mode , - 1 /*eci*/ , data [ i ] . option_1 , data [ i ] . option_2 , - 1 , data [ i ] . output_options , data [ i ] . data , - 1 , debug ) ;
ret = ZBarcode_Encode ( symbol , ( unsigned char * ) data [ i ] . data , length ) ;
assert_equal ( ret , data [ i ] . ret , " i:%d ZBarcode_Encode ret %d != %d (%s) \n " , i , ret , data [ i ] . ret , symbol - > errtxt ) ;
if ( ret < ZINT_ERROR ) {
assert_equal ( symbol - > rows , data [ i ] . expected_rows , " i:%d symbol->rows %d != %d (%s) \n " , i , symbol - > rows , data [ i ] . expected_rows , symbol - > errtxt ) ;
assert_equal ( symbol - > width , data [ i ] . expected_width , " i:%d symbol->width %d != %d (%s) \n " , i , symbol - > width , data [ i ] . expected_width , symbol - > errtxt ) ;
}
ZBarcode_Delete ( symbol ) ;
}
testFinish ( ) ;
}
2020-05-06 09:28:25 +12:00
static void test_encode ( int index , int generate , int debug ) {
2020-04-06 10:32:08 +12:00
testStart ( " " ) ;
2020-10-27 01:21:43 +13:00
int do_bwipp = ( debug & ZINT_DEBUG_TEST_BWIPP ) & & testUtilHaveGhostscript ( ) ; // Only do BWIPP test if asked, too slow otherwise
2020-04-06 10:32:08 +12:00
int ret ;
struct item {
int symbology ;
int input_mode ;
2020-10-27 01:21:43 +13:00
int eci ;
int output_options ;
2020-04-06 10:32:08 +12:00
int option_1 ;
int option_2 ;
2020-10-04 10:51:08 +13:00
char * data ;
2020-10-27 01:21:43 +13:00
int length ;
2020-04-06 10:32:08 +12:00
int ret ;
int expected_rows ;
int expected_width ;
2020-10-27 01:21:43 +13:00
int bwipp_cmp ;
2020-05-06 09:28:25 +12:00
char * comment ;
char * expected ;
2020-04-06 10:32:08 +12:00
} ;
struct item data [ ] = {
2020-10-27 01:21:43 +13:00
/* 0*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 123456789012 " , - 1 , 0 , 15 , 15 , 1 , " ISO/IEC 24778:2008 Figure 1 (left) " ,
2020-04-06 10:32:08 +12:00
" 000111000011100 "
" 110111001110010 "
" 111100001000100 "
" 001111111111100 "
" 010100000001000 "
" 100101111101010 "
" 100101000101110 "
" 001101010101100 "
" 101101000101111 "
" 101101111101010 "
" 110100000001101 "
" 000111111111111 "
" 110001010010001 "
" 101011110101010 "
" 100010001000101 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 1*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " Aztec Code is a public domain 2D matrix barcode symbology of nominally square symbols built on a square grid with a distinctive square bullseye pattern at their center. " , - 1 , 0 , 41 , 41 , 0 , " ISO/IEC 24778:2008 Figure 1 (right) NOTE: Not the same but down to single encoding mode difference (UPPER space rather than LOWER space after 2D); BWIPP same encodation as figure " ,
2020-04-06 10:32:08 +12:00
" 00001100110010010010111000010100001011000 "
" 01000110010110110001000000100101101000001 "
" 01011100101011001110101100000001100011001 "
" 11100000010100001000010010010100110001010 "
" 10101010101010101010101010101010101010101 "
" 00110101011100000001000100011001101100010 "
" 11001000100011110101100010110100011011010 "
" 01000101001101011011011111101100000101011 "
" 11011010111101111111101010001101111011100 "
" 01000101001000110011010101001101110100111 "
" 01011101100011100001100000101010111011001 "
" 00100101100111100101001111011011011100101 "
" 11101000000100001111101011010101101010101 "
" 00000100011101100101000001011110110000000 "
" 01001101010001111111111111110101101011100 "
" 00110000000010100000000000110100010000111 "
" 00001011011111101111111110100110000011110 "
" 00000111010010101000000010110011101100000 "
" 11001001010101101011111010111111100010111 "
" 11110001000101101010001010100111001100011 "
" 10101010101010101010101010101010101010101 "
" 00100100010000101010001010100101100000000 "
" 00001100111110101011111010111001111010000 "
" 10010101000010101000000010110110111001010 "
" 01011101011011101111111110110000110011110 "
" 00110101011100100000000000111011010100100 "
" 00111101000010111111111111110100011011011 "
" 00000010101100011111001110001000111000010 "
" 10001000010111101001100110011000001010001 "
" 10010001111100101111011100100011110101101 "
" 01111100000001001110100011011011110011000 "
" 10000001000010110110010010010101111000000 "
" 00101100010010001011111101101111111110101 "
" 00100001101000100101010001001110010001111 "
" 10011001111110000001110100000001010010011 "
" 10110010000000111110011001111111100101011 "
" 10101010101010101010101010101010101010101 "
" 10000010011110010010000100001010001101110 "
" 10101101110100001100111100110101001010001 "
" 00010010010011001011011010000110001000101 "
" 10001000001010100110100000001001001110000 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 2*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " Code 2D! " , - 1 , 0 , 15 , 15 , 1 , " ISO/IEC 24778:2008 Figure G.2 " ,
2020-04-06 10:32:08 +12:00
" 000110001100000 "
" 000000110000010 "
" 101100001000101 "
" 011111111111100 "
" 111100000001101 "
" 000101111101100 "
" 100101000101111 "
" 001101010101001 "
" 001101000101010 "
" 010101111101001 "
" 100100000001011 "
" 100111111111101 "
" 010001100010010 "
" 011000011011010 "
" 111001101100000 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 3*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , 1 , " Code 2D! " , - 1 , 0 , 15 , 15 , 1 , " ISO/IEC 24778:2008 Figure G.2; specify size " ,
2020-04-29 00:45:36 +12:00
" 000110001100000 "
" 000000110000010 "
" 101100001000101 "
" 011111111111100 "
" 111100000001101 "
" 000101111101100 "
" 100101000101111 "
" 001101010101001 "
" 001101000101010 "
" 010101111101001 "
" 100100000001011 "
" 100111111111101 "
" 010001100010010 "
" 011000011011010 "
" 111001101100000 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 4*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 \015 \012 " , - 1 , 0 , 53 , 53 , 0 , " ISO/IEC 24778:2008 Figure I.1 (left) (note CRLF at end!), same; BWIPP different encodation (doesn't use P/S CRLF) " ,
2020-04-06 10:32:08 +12:00
" 00010101011010101010101010110101010101010110101010101 "
" 00101010100101010101010101001010101010101001010101010 "
" 11100101011010101010101010110101010101010110101010110 "
" 11011010100101010101010101001010101010101001010101001 "
" 00101001011010101010101010110101010101010110101011010 "
" 01010110100101010101010101001010101010101001010100101 "
" 10101010011010101010101010110101010101010110101101010 "
" 01010101100101010101010101001010101010101001010010101 "
" 10101010101010101010101010110101010101010110110101010 "
" 01010101010101010101010101001010101010101001001010101 "
" 10101010101010101010101010101010101010101010101010101 "
2020-10-27 01:21:43 +13:00
" 10101010100101010100000010000100011110011001010101010 "
" 01010101011010010011110110111000110101111010101010101 "
" 10101010100100011100001111011001101011001101010101010 "
" 01010101011011001111111011100110111001001010101010101 "
" 10101010100101001000001100001111011001011101010101010 "
" 01010101011001100000011100110001110001100010101010101 "
" 10101010100001100100101000011101101100111001010101010 "
" 01010101011001000110001101100101011101111110101010101 "
" 10101010100101001101101000000010011100011001010101010 "
" 01010101011111010101111111111111110111010110101010101 "
" 10101010100110110101100000000000111000100001010101010 "
" 01010101011110111010101111111110101101000110101010101 "
" 10101010100010011000101000000010100100000101010101010 "
" 01010101011111010010101011111010101011110010101010101 "
" 10101010100000010001101010001010101011010001010101010 "
2020-04-06 10:32:08 +12:00
" 10101010101010101010101010101010101010101010101010101 "
2020-10-27 01:21:43 +13:00
" 01010101010101000111101010001010111100101100101010101 "
" 10101010101111111001101011111010111101000011010101010 "
" 01010101010110010001101000000010111100111100101010101 "
" 10101010101011010100101111111110101010010011010101010 "
" 01010101010000101110100000000000101111001000101010101 "
" 10101010101001000000111111111111111110110111010101010 "
" 01010101010101101100010110000110000111110100101010101 "
" 10101010101101110101011101100001010010100111010101010 "
" 01010101010000111001101101011011011010111000101010101 "
" 10101010101001011011011100100001001001001011010101010 "
" 01010101010001110110101010000110111100000000101010101 "
" 10101010101000001110110100101011000011001111010101010 "
" 01010101010001110010110111010101111111101100101010101 "
" 10101010101100100010010111110110111100001111010101010 "
" 01010101010000011101010001000010011111011100101010101 "
2020-04-06 10:32:08 +12:00
" 10101010101010101010101010101010101010101010101010101 "
" 10101010010010101010101010010101010101010101010101010 "
" 01010101101101010101010101101010101010101010101010101 "
" 10101001010010101010101010010101010101010100110101010 "
" 01010110101101010101010101101010101010101011001010101 "
" 10100101010010101010101010010101010101010100101101010 "
" 01011010101101010101010101101010101010101011010010101 "
" 10010101010010101010101010010101010101010100101011010 "
" 01101010101101010101010101101010101010101011010100101 "
" 01010101010010101010101010010101010101010100101010110 "
" 10101010101101010101010101101010101010101011010101001 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 5*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 \015 \012 " , - 1 , 0 , 53 , 53 , 0 , " ISO/IEC 24778:2008 Figure I.1 (right) (CRLF at end), same; BWIPP different encodation (doesn't use P/S CRLF) " ,
2020-04-06 10:32:08 +12:00
" 00111111111111111111111111111111111111111111111111111 "
" 00000000000000000000000000000000000000000000000000000 "
" 11101111111111111111111111111111111111111111111111101 "
" 11100000000000000000000000000000000000000000000000001 "
" 00101011111111111111111111111111111111111111111110101 "
" 10101000000000000000000000000000000000000000000000101 "
" 10101010111111111111111111111111111111111111111010101 "
" 10101010000000000000000000000000000000000000000010101 "
" 10101010101111111111111111111111111111111111101010101 "
" 10101010100000000000000000000000000000000000001010101 "
" 10101010101010101010101010101010101010101010101010101 "
2020-10-27 01:21:43 +13:00
" 10101010100100101111110001000100101100100000101010101 "
" 10101010101101111101110010111000101000111010101010101 "
" 10101010100101100101101111010110010110001000101010101 "
" 10101010101101110110011100100101011101001110101010101 "
" 10101010100100101010001101001001101000011100101010101 "
" 10101010101000101001010110111111111000100110101010101 "
" 10101010100000101001101101000111100001001100101010101 "
" 10101010101001011101100000110001101011000010101010101 "
" 10101010100100000111101000000010010100011100101010101 "
" 10101010101111001011111111111111111011111110101010101 "
" 10101010100110110111100000000000111101001100101010101 "
" 10101010101111001010101111111110100000100110101010101 "
" 10101010100001001000101000000010101010000000101010101 "
" 10101010101100110010101011111010100101111110101010101 "
" 10101010100010111111101010001010100001100000101010101 "
2020-04-06 10:32:08 +12:00
" 10101010101010101010101010101010101010101010101010101 "
2020-10-27 01:21:43 +13:00
" 10101010100111000101101010001010111101001100101010101 "
" 10101010101001000011101011111010110001011010101010101 "
" 10101010100111011011101000000010111000000100101010101 "
" 10101010101011100110101111111110100100011110101010101 "
" 10101010100001010110100000000000100011100100101010101 "
" 10101010101110101100111111111111110011110010101010101 "
" 10101010100100000010010110000110000110001100101010101 "
" 10101010101110101100110100111110100111001110101010101 "
" 10101010100100011000111110000001100011101000101010101 "
" 10101010101010100111001011111011100101111110101010101 "
" 10101010100011101001111001000100101000111100101010101 "
" 10101010101101100101110101110101101010110010101010101 "
" 10101010100101000101110100010000011101011100101010101 "
" 10101010101000110100111011110110000101000010101010101 "
" 10101010100101010001100000001011100001110000101010101 "
2020-04-06 10:32:08 +12:00
" 10101010101010101010101010101010101010101010101010101 "
" 10101010000000000000000000000000000000000000101010101 "
" 10101010111111111111111111111111111111111110101010101 "
" 10101000000000000000000000000000000000000000001010101 "
" 10101011111111111111111111111111111111111111101010101 "
" 10100000000000000000000000000000000000000000000010101 "
" 10101111111111111111111111111111111111111111111010101 "
" 10000000000000000000000000000000000000000000000000101 "
" 10111111111111111111111111111111111111111111111110101 "
" 00000000000000000000000000000000000000000000000000001 "
" 11111111111111111111111111111111111111111111111111101 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 6*/ { BARCODE_AZTEC , GS1_MODE , - 1 , - 1 , - 1 , - 1 , " [01]03453120000011[17]120508[10]ABCD1234[410]9501101020917 " , - 1 , 0 , 23 , 23 , 1 , " #189 Follow embedded FLG(n) with FLG(0) " ,
2020-04-06 10:32:08 +12:00
" 00100000101111000100100 "
" 00011101100110001010000 "
" 00000111000111101011011 "
" 01000001010100001100010 "
" 00001001100110000111110 "
" 00011011111000110101101 "
" 00001011100111101111110 "
" 11000111111111111010000 "
" 11001101000000010111110 "
" 00111011011111010111110 "
" 01000001010001011110010 "
" 00011001010101011111101 "
" 01101111010001011110011 "
" 10011001011111011011100 "
" 01011011000000010010110 "
" 00011101111111111001100 "
" 10101100110111100001101 "
" 10110101111100111010001 "
" 11101001010000011001110 "
" 00101010101010001111001 "
" 11000101000100100000100 "
" 00010001010101010101011 "
" 11101100000000000010110 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 7*/ { BARCODE_AZTEC , GS1_MODE , - 1 , - 1 , - 1 , - 1 , " [01]95012345678903[3103]000123 " , - 1 , 0 , 19 , 19 , 1 , " #189 Follow embedded FLG(n) with FLG(0) " ,
2020-04-08 22:22:01 +12:00
" 0000000100001010101 "
" 0001101111011000000 "
" 0111100100010110100 "
" 0011000110100100110 "
" 0010110101010010110 "
" 0101111111111110101 "
" 0011110000000101000 "
" 0101010111110100011 "
" 1101110100010110100 "
" 1000010101010111010 "
" 0011110100010100110 "
" 1000110111110111110 "
" 0010110000000101010 "
" 1111011111111111101 "
" 1001001111001000100 "
" 1111111110110100011 "
" 0111000111101011001 "
" 1000110111011000101 "
" 1010100000101101001 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 8*/ { BARCODE_AZTEC , GS1_MODE , - 1 , - 1 , - 1 , - 1 , " [01]04610044273252[21]LRFX)k<C7ApWJ[91]003A[92]K8rNAqdvjmdxsmCVuj3FhaoNzQuq7Uff0sHXfz1TT/doiMaGQqNF+VPwMvwVbm1fxjzuDt6jxLCcc8o/tqbEDA== " , - 1 , 0 , 45 , 45 , 1 , " #189 Follow embedded FLG(n) with FLG(0) " ,
2020-04-08 22:22:01 +12:00
" 000000101110011010101010010110011000001010111 "
" 000110001111011100111101101110110000000000011 "
" 001000101100101011000011111111101110111010101 "
" 010010001000111100001101110011100111110100100 "
" 001001100110001000011011011011000101001010010 "
" 001101011110100001001101001101110111100111100 "
" 101010101010101010101010101010101010101010101 "
" 000111001111100010000000100000111001000111110 "
" 111100111010000100100111100011001110001100001 "
" 110101001000001101011100110101001110000101010 "
" 000111111010001101111110100110001011001110001 "
" 011000000000100001101100000000011000100011110 "
" 001100110100000101000111111101110100011001010 "
" 011010000111011010100100001101001111010000111 "
" 100011100111010101011110000001010111001110111 "
" 011010000001010110011000000101101011110100010 "
" 001100100001010111111111111111110010101111100 "
" 111010010111010010000000000011101100100011000 "
" 010100110000110110111111111011010010011111100 "
" 001011001110010110100000001010101111010011000 "
" 001010101101100110101111101011100111111111000 "
" 010001001100111010101000101011111100000100000 "
" 101010101010101010101010101010101010101010101 "
" 101100010101111010101000101010100000110101111 "
" 011010101100110010101111101010000001001101101 "
" 001110000010110010100000001011101111010011100 "
" 011001100001111010111111111010001010001111000 "
" 000001011101101010000000000011101100010110111 "
" 110111111111001011111111111111110101101001101 "
" 000010011011101001110000111000101101000000011 "
" 111111101001101111011111110110101010001110001 "
" 001010011011011100100101100100000100100101111 "
" 100101100101110100010111010111001100001111011 "
" 010111001001000111010101110101010111010111100 "
" 001110110000001110001010000100110011101100101 "
" 101001000110001000010101001110110010110000100 "
" 101111100000010000110111010000010111111111111 "
" 100000011010001000010001110100010100010111010 "
" 101010101010101010101010101010101010101010101 "
" 101001000011011010010001001100101110100010110 "
" 001100100111001101011011111110110010011110100 "
" 111100011011100010110001001111110011100011101 "
" 101101111001110100000011101110110100011101011 "
" 000011010110101110000101110100000111000011010 "
" 101001110101010110100011010010001111001101101 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 9*/ { BARCODE_HIBC_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " H123ABC01234567890 " , - 1 , 0 , 19 , 19 , 1 , " ANSI/HIBC 2.6 - 2016 Figure C1 " ,
" 0010111011010110001 "
" 0011011111011111101 "
" 0101100111010110010 "
" 1001010011110110110 "
" 0011110101001010101 "
" 0011111111111110110 "
" 1010110000000101110 "
" 0110110111110110110 "
" 1111010100010100111 "
" 1110010101010100000 "
" 0010110100010110110 "
" 0101110111110100000 "
" 1000010000000101011 "
" 1000011111111111011 "
" 0000000000010001000 "
" 1010100000110101111 "
" 1111100111101000001 "
" 1000010101101010001 "
" 1001001001100001100 "
} ,
/* 10*/ { BARCODE_HIBC_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " /ACMRN123456/V200912190833 " , - 1 , 0 , 19 , 19 , 1 , " HIBC/PAS Section 2.2 Patient Id, same " ,
" 0001110111000101110 "
" 0010000101001101000 "
" 0101011111101000101 "
" 1001011010110011000 "
" 0001110101100010100 "
" 0001111111111110010 "
" 0010110000000100011 "
" 0011010111110110010 "
" 1011010100010101011 "
" 1001110101010110011 "
" 0011010100010111110 "
" 0010010111110110001 "
" 1011110000000111101 "
" 0010011111111110000 "
" 1010000100111001100 "
" 0000000111110111100 "
" 1111010101111100001 "
" 0010110100110111011 "
" 1101111110100000110 "
} ,
/* 11*/ { BARCODE_AZTEC , DATA_MODE | ESCAPE_MODE , - 1 , - 1 , - 1 , - 1 , " [)> \\ R06 \\ G+/ACMRN123456/V2009121908334 \\ R \\ E " , - 1 , 0 , 23 , 23 , 0 , " HIBC/PAS Section 2.2 Patient Id Macro **NOT SAME** different encodation, Zint 1 codeword longer; BWIPP same as figure " ,
" 11010110110000110111011 "
" 10111111001000110100000 "
" 11000001011011010011010 "
" 11001101001101000001100 "
" 10101000100101011100111 "
" 11000010111111111010111 "
" 01101111100111001101011 "
" 10101011111111111011111 "
" 11110111000000011110001 "
" 10000001011111011111110 "
" 11111001010001010111101 "
" 00011001010101010001001 "
" 11000111010001011011111 "
" 11000111011111010100100 "
" 11110101000000011010001 "
" 10100001111111111001000 "
" 11111000111101100110101 "
" 01001101000000011001000 "
" 10100101111001101010001 "
" 01001111101010100001111 "
" 01110000011111101011111 "
" 11110110111110011000100 "
" 10110000010101011110010 "
} ,
/* 12*/ { BARCODE_HIBC_AZTEC , UNICODE_MODE , - 1 , - 1 , 3 , - 1 , " /EO523201 " , - 1 , 0 , 19 , 19 , 1 , " HIBC/PAS Section 2.2 Purchase Order, same " ,
" 0011100011001101111 "
" 0010011001010110110 "
" 0110100100101000000 "
" 1001111000110011001 "
" 0011110100101011001 "
" 0001111111111110101 "
" 0001010000000100100 "
" 0001010111110101000 "
" 1000010100010100011 "
" 1001010101010111001 "
" 0000010100010110100 "
" 0111010111110111101 "
" 1000110000000101001 "
" 1001011111111111010 "
" 0010000000111001101 "
" 0110010000010110011 "
" 1110001000101101001 "
" 0111011100001111101 "
" 1010000000101001001 "
} ,
/* 13*/ { BARCODE_HIBC_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " /KN12345 " , - 1 , 0 , 19 , 19 , 1 , " HIBC/PAS Section 2.2 Asset Tag, same " ,
" 0011111101100100110 "
" 0010011100111110101 "
" 0111110010101101110 "
" 1000010111011000001 "
" 0001110100101010001 "
" 0010111111111110110 "
" 0001110000000111110 "
" 0000010111110110011 "
" 1010010100010100000 "
" 1011010101010100101 "
" 0010010100010100100 "
" 1101110111110110110 "
" 0011110000000110110 "
" 0100011111111110100 "
" 1110000011111000011 "
" 1100001111010010010 "
" 1100001101001110001 "
" 0010000010110001111 "
" 1001101110111100011 "
} ,
/* 14*/ { BARCODE_HIBC_AZTEC , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " A123ABCDEFGHI1234567891/$$420020216LOT123456789012345/SXYZ456789012345678/16D20130202 " , - 1 , 0 , 27 , 27 , 1 , " IDAutomation example, same " ,
" 001010100100100010000010110 "
" 000110110110001000101000100 "
" 010010001101110110001000110 "
" 000110101101000001010111100 "
" 000101110011011000111100000 "
" 000100110000110111011011010 "
" 011100000100000111111000001 "
" 011101111110011100111011100 "
" 110001001111110110101101100 "
" 100100001111111111100110000 "
" 001000101100000001011001101 "
" 111011010101111101111010001 "
" 010010101101000101001101100 "
" 001000110101010101010011100 "
" 011011001101000101010011111 "
" 011111010101111101000100100 "
" 110000011100000001001111011 "
" 101110110111111111111001001 "
" 001110110000000110000001101 "
" 010010001010001000001011001 "
" 000100111010110100000100110 "
" 000010100010001000000111001 "
" 111100011100100010001100100 "
" 001110101000001010011010101 "
" 100001000110111011000010111 "
" 011010111000111110011011110 "
" 000010010001000011010000001 "
} ,
/* 15*/ { BARCODE_AZTEC , DATA_MODE , - 1 , - 1 , - 1 , - 1 , " \377 \000 \000 \377 \300 \000 \017 \377 \376 \217 \300 \017 " , 12 , 0 , 19 , 19 , 1 , " 6 bit words " ,
" 1101000001111000001 "
" 1101011000011100000 "
" 1000001010001001001 "
" 0110011100001000011 "
" 1001110101001011011 "
" 0111111111111110100 "
" 1111010000000110101 "
" 1110110111110100001 "
" 1010010100010101001 "
" 1110010101010111111 "
" 0001110100010101011 "
" 0000010111110101101 "
" 0011010000000110011 "
" 0011011111111110011 "
" 0110000011010001001 "
" 0010101001100111111 "
" 0001000100011100011 "
" 1011110000001001011 "
" 0011111100000000010 "
} ,
/* 16*/ { BARCODE_AZTEC , DATA_MODE , - 1 , - 1 , - 1 , 3 , " \377 \377 \377 \377 \377 \000 \000 \000 \000 \377 \377 \377 \000 \000 \377 \377 \377 \377 \000 \000 \000 \000 \000 " , 23 , 0 , 23 , 23 , 1 , " 8 bit words " ,
" 11111111111111111100000 "
" 11011101110111011110001 "
" 11110110111011010101100 "
" 01111000111100011111100 "
" 11000101111110011010100 "
" 11001111001011001100000 "
" 11000111100110101001011 "
" 10001111111111111100111 "
" 11000111000000011111011 "
" 11010111011111010001101 "
" 11000011010001011010111 "
" 10000101010101011000011 "
" 11001011010001010001011 "
" 11011011011111011101001 "
" 11001111000000011010011 "
" 10001001111111111111011 "
" 11001100000000000000111 "
" 11011011001100000010011 "
" 11000011001011110101011 "
" 10001000111111011110000 "
" 11000000001110101011000 "
" 11011100001000100010010 "
" 11111110000000000000000 "
} ,
/* 17*/ { BARCODE_AZTEC , DATA_MODE , - 1 , - 1 , - 1 , 13 , " \000 \000 \000 \377 \377 \000 \000 \000 \000 \377 \377 \377 \377 \000 \377 \377 \377 \377 \000 \000 \377 \000 \000 " , 23 , 0 , 53 , 53 , 1 , " 10 bit words " ,
" 00011010011110010011110101110010000000111111010101001 "
" 00000010100101010010001000010100000010101101001111110 "
" 11101010001110100001111100110101111010110110110001010 "
" 11000010110001100001000100010011110110001001110110011 "
" 11101001111011111001010000100101101011101010101000100 "
" 01110000100100011010101111011100111000100001000011011 "
" 11001000001101011010001111100001101111000011010001110 "
" 00001110000100111010100000000110101111011101001101001 "
" 00101001111001011001001000110011011001110011110010111 "
" 00001110100001001111111111001011001010001101001101111 "
" 10101010101010101010101010101010101010101010101010101 "
" 00010011000110111100001100011010011010101101000001000 "
" 01110111011000100011111111111111010100110010010100110 "
" 00011101100100100001111111000100111100010101101010011 "
" 00010100011010010011101101101001100101111110110010011 "
" 00110110000001100111111101001111100011110101011110000 "
" 00111110111111001011010000100001100001101010001101110 "
" 01010011000110100110101111000100000010000000000111110 "
" 00011001011011101101110111100010000100010011111011110 "
" 00011010000111001001101000000000010100110001000111010 "
" 00000100001011100111111111111111111000010010001010101 "
" 11110000100101010111100000000000100000101101001011100 "
" 11100011101111001100101111111110111111010110000001111 "
" 11000000010100001101101000000010100100010000101010110 "
" 11011000001010101011101011111010110100101011100111110 "
" 11101111100010111000101010001010101011011001010101001 "
" 10101010101010101010101010101010101010101010101010101 "
" 11000100000110100000101010001010101100101000011000011 "
" 10110100011010000110101011111010100100100111000101100 "
" 11000001010101000101101000000010111010100100000101001 "
" 10110111011110011110101111111110110011001110000001100 "
" 00000111100110110001100000000000111000101101111011111 "
" 00100101001001100110111111111111110110100111011101000 "
" 00001100110000110010001101011000001100110001110010010 "
" 00001010111110011011011100110001001110011110100100100 "
" 00111111000010000111110111010111101010101101000100010 "
" 00110100101110101000101110100101010110101111001010100 "
" 00100100000010111111001101001100000011110001111100101 "
" 01011111101101001110100101101000000111101110110111001 "
" 00001111000100101010011111001100011101011100010011010 "
" 00001011111001000011100001100001000001111011010101111 "
" 00000101010011100101010000010010000010011001111101011 "
" 10101010101010101010101010101010101010101010101010101 "
" 00000011000011110011111000001000000110011100110110010 "
" 01100110111101101010001110101001111111000111011110000 "
" 00010110000111101110001011011110001100100100000001000 "
" 00110110011101001010011110111110111101010110001011100 "
" 00100010010011101001001010000101011011011101011100010 "
" 01101001101111101010010000110100110011000111011010000 "
" 11110001000011110111001100010011011001010001110101000 "
" 11011000101001001101101111100111101001010110111011100 "
" 11101111010111010000111101011101111011000000001011100 "
" 11111111111111110000111111111111111111100010000011111 "
} ,
/* 18*/ { BARCODE_AZTEC , DATA_MODE , - 1 , - 1 , - 1 , 27 , " \377 \377 \377 \000 \000 \377 \377 \377 \377 \000 \000 \000 \000 \377 \000 \000 \000 \000 \377 \377 \000 \377 \377 \377 \000 \000 \000 " , 27 , 0 , 113 , 113 , 1 , " 12 bit words " ,
" 11111010101001000010110010110110001010111011100001100010111010111011011110010101111001111110001101011111100000011 "
" 11111001010001010111110100101000101000010110010011001000011010011001111000010101011110010001110101100110011001100 "
" 11101100111000011000000011000001001001111001111110000001110100001110010010001100100011101110000011010101101011011 "
" 10110010001100011001110101101111111010100000010000011010011100111110010000000111011110010111110001010010000011001 "
" 11101111110100000110110011100000101100011010001010011100110001010111001110011001100010101101000101001000110110110 "
" 11000001000111110000011001001100110001010000000001010111000100101100100000011011001001000111011001101101001111101 "
" 11011101101011110011011110111101101101001100010010101010100001111111100110011101010100011100110111111101101100000 "
" 11011110000101110011110000101111100111100101011010100010011000011100010001111000100110100101011011001101011001101 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 11101110000011011000110000100100010110100010110101111111000011111011010101010011000101000110111111111011001101111 "
" 11010011100011001101011011110000010100011001100100111111111110001010111110000000001111001110000001111011110100101 "
" 11110101011101110000011001000111000101000011000110111011000110110011100100000111101100000011000100001010011111001 "
" 10111001111000101000101111110101001000001000001100011100111001011010001110110000101011001001111001100011101001010 "
" 11101000001010100010000000100110101011010100010000110101010111111011000101110100001101110110010101010101011010000 "
" 11101110101000010010010111101100100110111000111001011010110110010001111010010011011100001001011101110010110111111 "
" 11101110001111110110010000110111101100010000111100110111000110111101101001111001101010010100011010001001001110001 "
" 11111000100110000011010110111010101001001011001101111000110110001011000110100000100100001111000000000100101010001 "
" 11001110001110100010000001100110100001100010001110001011000100111100111101100000011101000001010110101111010011001 "
" 10100001101001100010010010110010111001101000010101110110111010000111100110000001110111111000110001000110100100101 "
" 00111101011000111111010101011111111011000000001110101111011101110111100100011111001100110000110000011001010001100 "
" 00000011111100000101111110100000010010101000000011011011111110011000100010011000010100011001010101001000101100001 "
" 00000010011110111000110101001101011101010011011111011111010110100000111000100001110010110001110111110101001100011 "
" 00100101101010111011111011011011100110011100100111100111101011010011100010100110101011001111111010100111111011111 "
" 00100001011101110100100001001101011101010111100001000100001000110111111100010011110001010000100001110001000001111 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 01101111010111101011110101110001010000100011000111100011010110111101011101000001001011110111110101100000001010101 "
" 00011110100001100110001010110011001011011110110110110000101100100110100110001111111011111111010100111000101101111 "
" 00001100001111101101101000011101111101100100001011000001001000010111101100100011101101110001010010111001001111111 "
" 01001010110111011110001110101011101100111110100101100000101001111101010011001111110101011110101011100001100010001 "
" 11111110010100000110111001001010100011010100110101011101001000111010100100010011011111000100001100000000001100100 "
" 11101010100001010011100010010010100010001000001000110000110110000100011110001101001101111111110011001010101101110 "
" 11010001000111100010100000111000011111000110011101100001001011010110111001101011111100000000000001010011010111010 "
" 11001011110110001001101111000111101010011100001011011001101010000000110111111011100011111010100100001110100001001 "
" 11110111010110000000011100111110101000110110101110001000011011111010001001111000110010110011110110010110001100101 "
" 11011000101011000111010111110110101000001010001011111000101010110010110011000100100101001100010110100001111111110 "
" 11001100010000000000101100001110011101100111100110101110000100101010111000100001001000000001011111100100011111011 "
" 11001000101100010101000010000100110001001101101110100100100111110111011011010111100011101011001001100001110010110 "
" 10000100001000101100011001011111100110010111111111011011000011011110001100001000101110100100001010010000000001110 "
" 11001001100000100110010111011101111010111011110011100110110011110110111011011101000001111001100111111100110110010 "
" 11110100010011101010111101111011100100010001110000100010010100011110001101101100000110100110001010001100000110110 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 11101010011001111101000001000100111100010111100110100011011111100010100100100100101000000000011110011010011111100 "
" 11011000110000000101010110110011111000111110100100000011100111011010110111101010110000001011111100010110111101101 "
" 11100100001010010001100001001100000011100000110001000110011110100000001101000000101000000000111111011111001011111 "
" 10110100101101001001110110110000100011111101000011110010101110001111001010010110100100001001111111101000111111111 "
" 11110111000000010110101000100110010010110011111011100001001001101110111101001101111001100101111010110110010010110 "
" 10101010111100101100111010010101101111001101011101100110101000101011110011001001011001011010000111100110110001100 "
" 00011000010111101000001001100001101110000101000100001100011010111000100100011111001101110010101010100011011000000 "
" 00000001111010100010111111010011001010011100111010010001110001111100000111000100011011101000011111000011101011111 "
" 00101011000110101001011000111011011001010100111101110110000000010011101100100011101001110111001101011110000000011 "
" 00010000101001010000110011111001001110111111011011111111111111110010110110011111010101101110111011111001111001100 "
" 00000011011110011110000101111111101001000011011010100000000000100100010101010110111110100000000101100011011100101 "
" 00010111100101101100111111000001100010011011011010101111111110110110100011001010000100111001100001101001100100010 "
" 00001011011111110001111001100001000111000000010011101000000010100011100100001110000011000100111111010001011011001 "
" 00110000100100110001100110101011100110111011100001101011111010101111100110111011010000111011011001001110110100001 "
" 00011001010000110100101000001000011000110011111011101010001010111010101001111011110010000111010001110101011110010 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 01100111001110010110110100001110110000000110011110101010001010110000011001000001000101100010011011100101000111001 "
" 00101001100010010001111010100101101110111011101000101011111010100001011110110000010010101100110011011010111001101 "
" 00000100001011011100011101111011101110110010010100101000000010111010010100110110101110110000100010101100001011011 "
" 00110010111110000001110111010110010101101101000000101111111110111000110111100000001111001011010001000110101010110 "
" 00100101010110001001011100111010111001110110111111100000000000110010011000111011101110000010100011011001000001001 "
" 00000000111101111101111110111000101000011111000100111111111111110100010011100110010001101011001100111011110101110 "
" 01011111001111001111101001100010110011000001010110011110010001000110101001101111110100000000111100001101010010000 "
" 01110001111101111010111011100110010011101111011111100000100101001111010111111101100111001100101001111000100011011 "
" 11101100000100010100011100001011011101010101101101001010000101001111100101101100001100110101001010100000010000011 "
" 11001111110100111000110111111000110001001111110000010111101010000000010011100111010011111000101111100000101111101 "
" 11111011011110101010100101110100001011110000000000010001011011001111000101010000001100000111100001100110001100101 "
" 10001111111110011011110011111110001110011000010011101000101000011100111010000101111110001110011110001101100001101 "
" 00001100001010000010100001011101011100110010110010001000010010011101011001110011011001110001100111101110001001001 "
" 00100110110000000101000010110101010001001110101110000010110110101111001010011011110111101011101010011000110010000 "
" 00011111000011010010101000010001110010100110101010010101000010101111100100010010111010110000010011111100011000100 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 00100110010000010110110100011110100001000011011000110110001011000011011101101011101010100101110110101111010010101 "
" 00001100100010111111111011011000100110101110110010000111100110001100111110001110101100101100001011001101100100100 "
" 00000100000110001111010000100000100011010000011111111010011011110000111000011110001000010101100001100001010010110 "
" 01010011111111111100001010101100001010111101001111100010111110010000101010100000011100101001110011011110101011101 "
" 00100110001010001111011101101111100000000000001101010011010111010100100000010011101011100101111001111101011100101 "
" 00111011100011001100100011001110001011111010000101101001100110001110111010111110000101111100011110010110101110100 "
" 00011000001101000110001001000010010101010111011101100101010000000101100000010001111001010101100101100011001000110 "
" 00101001111001011010110111010101001010101111111011010111100111001100010010010001101010111000100111000110111101110 "
" 00001000011101110110110101111110100010100100011110000111010100000100010100101111010101110101001111000101001110010 "
" 01010111110111001101011110101101001110001011010011011111100000100011101010101110111101001111110001100010111001011 "
" 00000111000100111011101101010100001100100110010110010010011000111000010000011100000110100010000100001011011011010 "
" 00001101101110011111110010000111100110111100101011011110111111010101111111000000111110011011110000010111101100000 "
" 00010010001110011111110101110000001100010001111001101111000000101000000001010001100111100001101100010010010111110 "
" 01110011101110110110110011011101110100001010010110100110110011101011100011001111011110111110101111011101110010001 "
" 11111010000100110111101100110110111010110011110111110010000010011000011101111101001101100100111000110001011110001 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 11010010010101011110111001111011101100010101010111000000011011011111101100010000000100000011100111000011010101101 "
" 11001111111111001010101010000001010001011100101100110110100110111010101011101111100100011011100110110101101010011 "
" 11110011000011100100010001101001000101000010111111010101001110110000010000000001000101010101100111010110011101100 "
" 11100101100001000110100111011001011000001100010001100110101111110110101111100101010001001100110011010101101001110 "
" 11111001000100001001110100011001001110010011001100000000011111000110010000010100001011010010100010111111000100001 "
" 11001100111001110001010011110110011110101010100001111011111010111011011011010010110010101000001111000100111100110 "
" 10010100001100111111100101101000111001110111010011011110000000110111001101100010110110100001111011001011011000100 "
" 00111010100010111011001111110001000000101010011111111111100000100101110110101010011101111010110100100001100001100 "
" 00110001010001110111011100011011110111110110100010000100011011110100000000100000101000000010010100011101010100100 "
" 00101000100110010001111010000110100101011000011111101110110000100111100011000110000010011011111100100010110011000 "
" 00000101001010101000010101000110010110110101000100100110011010100101110000110100100111010100111100100100011110111 "
" 11011100101011111001110111001000101111001001101101010111101101011110110011110110001110011001001000010010110001101 "
" 11000010011001001000100101001100111011000101100000111110011011110011100101000010101011000000110000100101011010000 "
" 11000001111010110010111011110100100100101100111101111100111010000011110010011001111110101100101000001000100110010 "
" 11110111000001001010010000001000101101110101001110110011011011011010010101111110000000000111001111010010011000111 "
" 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 "
" 11000011011111001011001101010001011100100111010000101011000101111101101101000101110101110110010011100011001101100 "
" 11001000101111010000101011101000011011001010110010101000100011110101111111000001000110001101100001001110111100101 "
" 11101110000100001111001001001101100111000010011100011111001010100010101000011110000111000010101001100010010001111 "
" 10000001111010110010110010001111101001111011011100110001111111001011010010100000001011001111010010101100111010111 "
" 11110101011110010111100001100001000000010111111010101111000001100011111101110001000001000001100000100110000001011 "
" 11101101100010110000110110001100111001001101000101110001101010000111011110000001111001011010110100011101110011100 "
" 11000000001000001011101101101101101001100000101000000000010111000000100101000110010000110010000011000101011111000 "
" 11100000100000001110111110110000111110011100000010001110101010101111000011001011111001101101010010001011111011101 "
} ,
/* 19*/ { BARCODE_AZTEC , UNICODE_MODE , - 1 , READER_INIT , - 1 , - 1 , " A " , - 1 , 0 , 15 , 15 , 1 , " " ,
" 000011000111101 "
" 001110010011000 "
" 011100100000100 "
" 011111111111110 "
" 101100000001010 "
" 110101111101100 "
" 111101000101010 "
" 100101010101000 "
" 100101000101111 "
" 100101111101101 "
" 000100000001010 "
" 100111111111100 "
" 100011001110001 "
" 110110000101100 "
" 010001010010110 "
} ,
/* 20*/ { BARCODE_AZTEC , DATA_MODE , 3 , - 1 , - 1 , - 1 , " \101 \300 " , - 1 , 0 , 15 , 15 , 1 , " AÀ " ,
" 000000101011100 "
" 000100010100111 "
" 001100000110110 "
" 011111111111111 "
" 001100000001100 "
" 001101111101000 "
" 011101000101110 "
" 000101010101011 "
" 100101000101010 "
" 101101111101111 "
" 101100000001111 "
" 000111111111111 "
" 100011000110001 "
" 110001000111110 "
" 111001100011011 "
} ,
/* 21*/ { BARCODE_AZTEC , UNICODE_MODE , 26 , - 1 , - 1 , - 1 , " AÀ " , - 1 , 0 , 15 , 15 , 1 , " AÀ " ,
" 001111011000101 "
" 000110100011000 "
" 001100001000111 "
" 011111111111111 "
" 001100000001101 "
" 000101111101100 "
" 010101000101101 "
" 011101010101001 "
" 001101000101001 "
" 100101111101001 "
" 010100000001011 "
" 000111111111111 "
" 000001100010010 "
" 001100010010010 "
" 011110110011000 "
} ,
/* 22*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 0 " , - 1 , 0 , 11 , 11 , 1 , " ISO/IEC 24778:2008 Figure A.1 (1st) " ,
2020-04-06 10:32:08 +12:00
" 11101010101 "
" 11111111111 "
" 01000000010 "
" 11011111011 "
" 01010001010 "
" 11010101011 "
" 01010001010 "
" 11011111011 "
" 01000000010 "
" 01111111111 "
" 00101010100 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 23*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 25 " , - 1 , 0 , 11 , 11 , 1 , " ISO/IEC 24778:2008 Figure A.1 (2nd) " ,
2020-04-06 10:32:08 +12:00
" 11101100101 "
" 11111111111 "
" 01000000011 "
" 01011111011 "
" 01010001010 "
" 11010101011 "
" 11010001011 "
" 11011111010 "
" 11000000011 "
" 01111111111 "
" 00100100000 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 24*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 125 " , - 1 , 0 , 11 , 11 , 1 , " ISO/IEC 24778:2008 Figure A.1 (3rd) " ,
2020-04-06 10:32:08 +12:00
" 11110101101 "
" 11111111111 "
" 11000000011 "
" 11011111011 "
" 01010001010 "
" 01010101010 "
" 01010001011 "
" 01011111011 "
" 11000000010 "
" 01111111111 "
" 00111101000 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 25*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 255 " , - 1 , 0 , 11 , 11 , 1 , " ISO/IEC 24778:2008 Figure A.1 (4th) " ,
" 11010101001 "
2020-04-06 10:32:08 +12:00
" 11111111111 "
" 01000000011 "
" 11011111011 "
" 11010001011 "
" 01010101011 "
" 01010001010 "
" 11011111011 "
" 11000000010 "
" 01111111111 "
" 00110011100 "
2020-06-05 05:45:25 +12:00
} ,
2020-10-27 01:21:43 +13:00
/* 26*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 1 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11101010101 "
" 11111111111 "
" 11000000011 "
" 11011111010 "
" 01010001010 "
" 11010101010 "
" 01010001011 "
" 01011111011 "
" 01000000011 "
" 01111111111 "
" 00100110100 "
} ,
/* 27*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 15 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11101001001 "
" 11111111111 "
" 11000000011 "
" 01011111011 "
" 11010001010 "
" 01010101010 "
" 11010001011 "
" 11011111010 "
" 11000000010 "
" 01111111111 "
" 00001111100 "
} ,
/* 28*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 16 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11101110101 "
" 11111111111 "
" 11000000010 "
" 01011111010 "
" 01010001011 "
" 01010101011 "
" 01010001011 "
" 11011111010 "
" 11000000011 "
" 01111111111 "
" 00111100100 "
} ,
/* 29*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 63 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11100101001 "
" 11111111111 "
" 11000000011 "
" 11011111011 "
" 01010001011 "
" 11010101010 "
" 11010001011 "
" 11011111010 "
" 01000000011 "
" 01111111111 "
" 00101010000 "
} ,
/* 30*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 64 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11111010101 "
" 11111111111 "
" 01000000010 "
" 01011111011 "
" 01010001010 "
" 01010101011 "
" 11010001011 "
" 01011111011 "
" 01000000011 "
" 01111111111 "
" 00111011100 "
} ,
/* 31*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 65 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11111010101 "
" 11111111111 "
" 11000000011 "
" 01011111010 "
" 01010001010 "
" 01010101010 "
" 11010001010 "
" 11011111011 "
" 01000000010 "
" 01111111111 "
" 00110111100 "
} ,
/* 32*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 126 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11110101001 "
" 11111111111 "
" 01000000010 "
" 01011111010 "
" 01010001011 "
" 01010101011 "
" 01010001011 "
" 11011111010 "
" 01000000011 "
" 01111111111 "
" 00110111000 "
} ,
/* 33*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 127 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11110101001 "
" 11111111111 "
" 11000000011 "
" 01011111011 "
" 01010001011 "
" 01010101010 "
" 01010001010 "
" 01011111010 "
" 01000000010 "
" 01111111111 "
" 00111011000 "
} ,
/* 34*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 128 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11001010101 "
" 11111111111 "
" 11000000010 "
" 01011111011 "
" 11010001010 "
" 11010101010 "
" 01010001010 "
" 01011111010 "
" 11000000010 "
" 01111111111 "
" 00100010000 "
} ,
/* 35*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 191 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11000101001 "
" 11111111111 "
" 01000000011 "
" 01011111011 "
" 11010001011 "
" 11010101011 "
" 11010001011 "
" 01011111011 "
" 11000000011 "
" 01111111111 "
" 00100010100 "
} ,
/* 36*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 192 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11011010101 "
" 11111111111 "
" 11000000010 "
" 11011111011 "
" 11010001010 "
" 01010101010 "
" 11010001011 "
" 11011111010 "
" 11000000011 "
" 01111111111 "
" 00110011000 "
} ,
/* 37*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 225 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11010010101 "
" 11111111111 "
" 11000000011 "
" 11011111011 "
" 01010001010 "
" 01010101011 "
" 11010001011 "
" 01011111011 "
" 11000000010 "
" 01111111111 "
" 00001100100 "
} ,
/* 38*/ { BARCODE_AZRUNE , UNICODE_MODE , - 1 , - 1 , - 1 , - 1 , " 254 " , - 1 , 0 , 11 , 11 , 1 , " " ,
" 11010101001 "
" 11111111111 "
" 11000000010 "
" 11011111010 "
" 11010001011 "
" 01010101010 "
" 01010001011 "
" 01011111011 "
" 11000000011 "
" 01111111111 "
" 00111111100 "
} ,
2020-04-06 10:32:08 +12:00
} ;
2020-10-27 01:21:43 +13:00
int data_size = ARRAY_SIZE ( data ) ;
2020-04-06 10:32:08 +12:00
char escaped [ 1024 ] ;
2020-10-27 01:21:43 +13:00
char bwipp_buf [ 16384 ] ;
char bwipp_msg [ 1024 ] ;
2020-04-06 10:32:08 +12:00
for ( int i = 0 ; i < data_size ; i + + ) {
2020-05-06 09:28:25 +12:00
if ( index ! = - 1 & & i ! = index ) continue ;
struct zint_symbol * symbol = ZBarcode_Create ( ) ;
2020-04-06 10:32:08 +12:00
assert_nonnull ( symbol , " Symbol not created \n " ) ;
2020-10-27 01:21:43 +13:00
int length = testUtilSetSymbol ( symbol , data [ i ] . symbology , data [ i ] . input_mode , data [ i ] . eci , data [ i ] . option_1 , data [ i ] . option_2 , - 1 , data [ i ] . output_options , data [ i ] . data , data [ i ] . length , debug ) ;
2020-04-06 10:32:08 +12:00
2020-10-04 10:51:08 +13:00
ret = ZBarcode_Encode ( symbol , ( unsigned char * ) data [ i ] . data , length ) ;
2020-04-06 10:32:08 +12:00
assert_equal ( ret , data [ i ] . ret , " i:%d ZBarcode_Encode ret %d != %d (%s) \n " , i , ret , data [ i ] . ret , symbol - > errtxt ) ;
2020-05-06 09:28:25 +12:00
if ( generate ) {
2020-10-27 01:21:43 +13:00
printf ( " /*%3d*/ { %s, %s, %d, %s, %d, %d, \" %s \" , %d, %s, %d, %d, %d, \" %s \" , \n " ,
i , testUtilBarcodeName ( data [ i ] . symbology ) , testUtilInputModeName ( data [ i ] . input_mode ) , data [ i ] . eci , testUtilOutputOptionsName ( data [ i ] . output_options ) ,
data [ i ] . option_1 , data [ i ] . option_2 , testUtilEscape ( data [ i ] . data , length , escaped , sizeof ( escaped ) ) , data [ i ] . length ,
testUtilErrorName ( data [ i ] . ret ) , symbol - > rows , symbol - > width , data [ i ] . bwipp_cmp , data [ i ] . comment ) ;
2020-05-06 09:28:25 +12:00
testUtilModulesDump ( symbol , " " , " \n " ) ;
2020-06-05 05:45:25 +12:00
printf ( " }, \n " ) ;
2020-05-06 09:28:25 +12:00
} else {
if ( ret < 5 ) {
assert_equal ( symbol - > rows , data [ i ] . expected_rows , " i:%d symbol->rows %d != %d (%s) \n " , i , symbol - > rows , data [ i ] . expected_rows , data [ i ] . data ) ;
assert_equal ( symbol - > width , data [ i ] . expected_width , " i:%d symbol->width %d != %d (%s) \n " , i , symbol - > width , data [ i ] . expected_width , data [ i ] . data ) ;
2020-10-27 01:21:43 +13:00
int width , row ;
ret = testUtilModulesCmp ( symbol , data [ i ] . expected , & width , & row ) ;
assert_zero ( ret , " i:%d testUtilModulesCmp ret %d != 0 width %d row %d (%s) \n " , i , ret , width , row , data [ i ] . data ) ;
if ( do_bwipp & & testUtilCanBwipp ( i , symbol , data [ i ] . option_1 , data [ i ] . option_2 , - 1 , debug ) ) {
if ( ! data [ i ] . bwipp_cmp ) {
if ( debug & ZINT_DEBUG_TEST_PRINT ) printf ( " i:%d %s not BWIPP compatible (%s) \n " , i , testUtilBarcodeName ( symbol - > symbology ) , data [ i ] . comment ) ;
} else {
ret = testUtilBwipp ( i , symbol , data [ i ] . option_1 , data [ i ] . option_2 , - 1 , data [ i ] . data , length , NULL , bwipp_buf , sizeof ( bwipp_buf ) ) ;
assert_zero ( ret , " i:%d %s testUtilBwipp ret %d != 0 \n " , i , testUtilBarcodeName ( symbol - > symbology ) , ret ) ;
ret = testUtilBwippCmp ( symbol , bwipp_msg , bwipp_buf , data [ i ] . expected ) ;
assert_zero ( ret , " i:%d %s testUtilBwippCmp %d != 0 %s \n actual: %s \n expected: %s \n " ,
i , testUtilBarcodeName ( symbol - > symbology ) , ret , bwipp_msg , bwipp_buf , data [ i ] . expected ) ;
}
2020-05-06 09:28:25 +12:00
}
2020-04-06 10:32:08 +12:00
}
}
ZBarcode_Delete ( symbol ) ;
}
testFinish ( ) ;
}
2020-03-29 11:50:55 +13:00
// #181 Nico Gunkel OSS-Fuzz
2020-05-06 09:28:25 +12:00
static void test_fuzz ( int index , int debug ) {
2020-03-29 11:50:55 +13:00
testStart ( " " ) ;
int ret ;
struct item {
int symbology ;
2020-10-04 10:51:08 +13:00
char * data ;
2020-03-29 11:50:55 +13:00
int length ;
int input_mode ;
int option_1 ;
int ret ;
} ;
// s/\/\*[ 0-9]*\*\//\=printf("\/*%2d*\/", line(".") - line("'<"))
struct item data [ ] = {
/* 0*/ { BARCODE_AZTEC ,
" \133 \060 \060 \060 \135 \060 \125 \125 \125 \125 \140 \060 \125 \125 \125 \125 \060 \060 \060 \271 \060 \060 \125 \103 \164 \125 \125 \125 \377 \377 \125 \125 "
" \125 \125 \125 \125 \125 \133 \060 \076 \060 \135 \261 \177 \261 \261 \261 \236 \261 \261 \261 \040 \261 \261 \261 \261 \261 \261 \261 \020 \261 \261 \261 \261 "
" \261 \261 \265 \261 \261 \261 \261 \261 \261 \261 \261 \261 \261 \261 \261 \040 \224 \261 \261 \261 \261 \261 \000 \000 \004 \000 \031 \060 \031 \031 \031 \031 "
" \031 \031 \031 \031 \261 \261 \040 \261 \261 \261 \261 \261 \261 \261 \020 \261 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \376 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 \377 "
" \377 \377 \377 \377 \377 \377 \261 \261 \261 \261 \261 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \135 \135 \135 \135 \135 \135 "
" \135 \335 \135 \060 \060 \010 \010 \010 \010 \010 \060 " ,
2251 , UNICODE_MODE , - 1 , ZINT_ERROR_TOO_LONG } , // Original OSS-Fuzz triggering data for malloc leak
/* 1*/ { BARCODE_AZTEC ,
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \060 \060 \060 \060 \000 \060 \060 \000 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \005 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \000 \060 \350 \060 \060 \060 \060 \060 \350 \060 \345 \060 \343 \060 \060 \060 \005 \060 \060 \060 "
" \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 "
" \060 \060 \060 \060 \060 \175 \175 \175 \175 \060 \175 \175 \175 \175 \175 \060 \060 \060 \060 \175 \060 \175 \175 \175 \175 \060 \060 \060 \060 \005 \060 \060 "
" \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \005 \005 \060 \005 \060 \060 \060 \060 \060 \060 \005 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \353 \060 \060 \353 "
" \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 "
" \060 \060 \060 \060 \353 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 "
" \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 "
" \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 "
" \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 "
" \060 \060 \353 \060 \060 \060 \060 \353 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 "
" \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 "
" \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 "
" \353 \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 "
" \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \264 \060 "
" \060 \060 \060 \060 \264 \060 \060 \060 \060 \060 \264 \060 \060 \060 \060 \264 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 "
" \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 "
" \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 "
" \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 "
" \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 "
" \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 "
" \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 "
" \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 "
" \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 "
" \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 "
" \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 "
" \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 "
" \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 "
" \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \353 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \353 "
" \060 \060 \060 \060 \060 \353 \060 \060 \060 \060 \060 \353 \060 \060 \353 \060 \060 \060 \343 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \377 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \361 \060 \060 \060 \060 \060 \361 \060 \060 \060 \060 \361 \060 \060 \060 \060 \060 \361 \060 \060 \060 \060 \060 \361 "
" \060 \060 \060 \361 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \005 \363 \060 \362 \060 \060 \060 \060 \377 \060 \060 "
" \060 \177 \060 \060 \060 \060 \060 \263 \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \060 \060 \060 \060 \377 \177 \060 \060 \060 \362 \060 \362 \060 \363 "
" \060 \363 \060 \177 \060 \377 \060 \060 \060 \060 \060 \060 \060 \377 \177 \060 \355 \060 \057 \060 \060 \060 \377 \060 \377 \060 \060 \060 \177 \000 \060 \000 "
" \060 \377 \060 \060 \060 \060 \060 \060 \005 \060 \060 \000 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \005 \060 \060 "
" \060 \060 \060 \060 \060 \371 \060 \060 \060 \363 \060 \060 \060 \060 \060 \060 \362 \060 \060 \060 \060 \060 \362 \060 \363 \060 \362 \060 \060 \060 \060 \377 "
" \060 \177 \060 \060 \060 \060 \060 \263 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \060 \060 \060 \377 \177 \060 \060 \060 \362 \060 \362 \060 \363 "
" \060 \363 \060 \060 \377 \057 \060 \060 \060 \060 \060 \060 \377 \177 \060 \355 \060 \060 \060 \060 \060 \377 \060 \377 \060 \060 \060 \177 \000 \060 \000 \060 "
" \377 \060 \353 \060 \060 \000 \060 \060 \060 \060 \060 \060 \060 \060 \060 \256 \060 \060 \060 \362 \060 \060 \060 \060 \060 \060 \060 \060 \005 \362 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \057 \060 \060 \060 \060 \060 \060 \060 \000 \060 \000 \060 \060 \060 \000 \060 \060 "
" \057 \060 \060 \060 \060 \060 \377 \060 \377 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \000 \060 \060 \347 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \000 \060 \377 \060 \060 \060 \377 \060 \363 \060 \363 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \362 \060 \060 \060 \060 \060 \060 \362 \347 \060 \354 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \005 \060 \060 \060 \000 \060 \000 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \344 \005 \060 \060 \005 \060 \342 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \000 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \377 \060 \060 \060 \060 \005 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \351 \060 \060 \060 \060 \060 \060 \005 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 "
" \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \005 \060 \060 \060 \005 \060 \060 \060 \060 \005 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \005 \060 \060 \060 \175 \175 \060 \175 \060 \060 \060 "
" \060 \175 \060 \060 \060 \060 \175 \060 \060 \060 \060 \175 \060 \175 \175 \175 \005 \060 \060 \060 \060 \060 \060 \060 \060 \377 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \005 \060 \342 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \345 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \005 \060 \371 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \361 \060 \060 \060 \060 \060 \005 \361 \060 \060 \060 \060 "
" \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \005 \060 \351 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \363 \060 \060 \005 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \000 \060 "
" \060 \060 \060 \060 \060 \060 \362 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \000 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \377 \060 \005 "
" \060 \371 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 "
" \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \175 \175 \175 \175 \060 \175 \175 \060 \060 \060 \060 \060 \175 \060 \175 \175 "
" \175 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \005 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \005 \060 \060 \060 \060 \060 \005 \060 \000 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \005 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \351 \060 \060 \060 \060 \060 \060 \060 "
" \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \005 \060 \060 \060 "
" \060 \005 \060 \060 \060 \005 \060 \362 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \377 \060 \060 \000 \177 \060 \060 \000 \060 \377 \060 \353 "
" \060 \060 \060 \363 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \060 \362 \060 \060 \060 \060 \060 \000 \060 \060 \377 \060 \060 \060 \175 \175 \175 "
" \175 \060 \060 \060 \175 \175 \175 \175 \060 \060 \005 \060 \005 \060 \005 \060 \060 \060 \060 \000 \000 \060 \060 \060 \060 \060 \060 \377 \060 \060 \060 \060 "
" \377 \060 \377 \377 \060 \060 \057 \060 \060 \057 \060 \060 \060 \000 \000 \060 \060 " ,
2801 , UNICODE_MODE , - 1 , ZINT_ERROR_TOO_LONG } , // Original OSS-Fuzz triggering data for binary_string buffer overrun
/* 2*/ { BARCODE_AZTEC ,
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 " ,
4483 , - 1 , 1 , 0 } , // 4483 = (1664 (Max codewords) - 169 (ECC codewords) - 2 (overhead)) * 3 (3 4-bit digits per 12-bit wordcode)
/* 3*/ { BARCODE_AZTEC ,
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 "
" 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 " ,
4484 , - 1 , 1 , ZINT_ERROR_TOO_LONG } ,
/* 4*/ { BARCODE_AZTEC ,
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXY " ,
3587 , - 1 , 1 , 0 } ,
/* 5*/ { BARCODE_AZTEC ,
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "
" ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ " ,
3588 , - 1 , 1 , ZINT_ERROR_TOO_LONG } ,
/* 6*/ { BARCODE_AZTEC ,
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 " ,
2079 , - 1 , 1 , 0 } ,
/* 7*/ { BARCODE_AZTEC ,
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 "
" \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 \240 " ,
2080 , - 1 , 1 , ZINT_ERROR_TOO_LONG } ,
} ;
2020-10-27 01:21:43 +13:00
int data_size = ARRAY_SIZE ( data ) ;
2020-03-29 11:50:55 +13:00
for ( int i = 0 ; i < data_size ; i + + ) {
2020-05-06 09:28:25 +12:00
if ( index ! = - 1 & & i ! = index ) continue ;
struct zint_symbol * symbol = ZBarcode_Create ( ) ;
2020-03-29 11:50:55 +13:00
assert_nonnull ( symbol , " Symbol not created \n " ) ;
2020-10-27 01:21:43 +13:00
int length = testUtilSetSymbol ( symbol , data [ i ] . symbology , data [ i ] . input_mode , - 1 /*eci*/ , data [ i ] . option_1 , - 1 , - 1 , - 1 /*output_options*/ , data [ i ] . data , data [ i ] . length , debug ) ;
2020-03-29 11:50:55 +13:00
2020-10-04 10:51:08 +13:00
ret = ZBarcode_Encode ( symbol , ( unsigned char * ) data [ i ] . data , length ) ;
2020-03-29 11:50:55 +13:00
assert_equal ( ret , data [ i ] . ret , " i:%d ZBarcode_Encode ret %d != %d (%s) \n " , i , ret , data [ i ] . ret , symbol - > errtxt ) ;
ZBarcode_Delete ( symbol ) ;
}
testFinish ( ) ;
}
2020-05-06 09:28:25 +12:00
int main ( int argc , char * argv [ ] ) {
testFunction funcs [ ] = { /* name, func, has_index, has_generate, has_debug */
2020-10-27 01:21:43 +13:00
{ " test_options " , test_options , 1 , 0 , 1 } ,
2020-05-06 09:28:25 +12:00
{ " test_encode " , test_encode , 1 , 1 , 1 } ,
{ " test_fuzz " , test_fuzz , 1 , 0 , 1 } ,
} ;
testRun ( argc , argv , funcs , ARRAY_SIZE ( funcs ) ) ;
2020-03-29 11:50:55 +13:00
testReport ( ) ;
return 0 ;
}