Commit graph

1429 commits

Author SHA1 Message Date
Schaich
c84915e212 Linking the tests against zint-static if available
Linking against the dynamic zint library requires LD_LIBRARY_PATH and friends
to be set, which complicates the test setup. On the long run, we want to be
able to test both the dynamic and the static (at the same time), though
2021-06-02 21:14:14 +09:00
Schaich
acd12e1754 Add and use helper to set all flags to both the shared and the static library 2021-06-02 21:14:14 +09:00
Schaich
3e89058051 Turn zint tests into a subproject of backend
All dependency handling is implied via linking to the zint target. Options
are inherited from the backend build
2021-06-02 21:14:14 +09:00
Schaich
83bac8c8a5 Bind macro definitions to the zint library target
The libpng dependency is exported to consumers, while the ZINT_TEST option
affects the build output. Both are therefore marked public
2021-06-02 21:14:14 +09:00
gitlost
3b7bdcaf90 manual: move gs1parens example to GS1-128 (1st use); remove dup line 2021-05-30 16:53:13 +01:00
gitlost
88eb576951 DOTCODE: allow for max 200 cols - update manual 2021-05-28 15:16:39 +01:00
gitlost
9b63e2ae22 DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages 2021-05-28 15:05:06 +01:00
gitlost
dfb9345b75 png: ULTRA: allow for fgcolour if bind/box, bug introduced by [ed3cc5] (MR #111) 2021-05-28 14:37:57 +01:00
gitlost
0337548c77 AZTEC: optimize populate_map (good for small data) 2021-05-27 18:33:19 +01:00
gitlost
ba273b40dd Add whitespace_height - remove DEBUG from tcl; manual.txt input_mode 2021-05-26 13:10:34 +01:00
gitlost
00e8cb0904 Add whitespace_height to zint_symbol (vertical whitespace) 2021-05-25 20:42:26 +01:00
gitlost
ed761e897d Use zint-64.svg - add missing frontend_qt/res/zint-qt.ico 2021-05-23 13:19:54 +01:00
gitlost
52f1c7a64b Use zint-64.svg - add back renamed zint-qt.png 2021-05-20 18:55:00 +01:00
gitlost
8e9e007b52 Use zint-64.svg - add zint-qt.svg and zint_black.svg 2021-05-20 18:47:41 +01:00
gitlost
cfcb586f4b Use zint-64.svg from https://github.com/frhun/flathub for smoother icons, props frhun 2021-05-20 18:22:57 +01:00
gitlost
f3a94f0c0c C25STANDARD/C25INTER/C25IATA/C25LOGIC/C25IND: add check digit option (#216) 2021-05-17 20:04:00 +01:00
gitlost
29d761c795 MAXICODE: Rejig raster output to more closely match ISO 16023:2000 2021-05-16 16:34:42 +01:00
gitlost
79d3c1dc7a Add GS1PARENS_MODE (input_mode) to allow inputting GS1 AIs in parentheses 2021-05-15 12:23:46 +01:00
gitlost
6fb0d077bc EAN14, NVE18: fix checksum calc for zero-filled input 2021-05-14 16:04:34 +01:00
gitlost
d9e8ae582d tests: small additions for AZTEC READER_INIT, PDF417, Big5 2021-04-20 11:49:14 +01:00
gitlost
5187f2226d MAXICODE: fix shifting from sets C/D/E to A/B (only latch available) 2021-03-28 21:31:45 +01:00
gitlost
89518c4f01 tif.c: fix endianness detection, props Schaich Alonso 2021-03-23 15:37:18 +00:00
gitlost
6dc8a242df test_tif: fix, use tiffinfo if available (big speedup) 2021-03-21 21:20:16 +00:00
gitlost
2d962c6321 get_best_eci: check UTF-8 before returning 26; move is_valid_utf8 to common 2021-03-21 17:35:52 +00:00
gitlost
7f74414666 eci.c: fix bad bug in Korean, return EUC-KR instead of raw KS X 1001 2021-03-20 14:36:21 +00:00
gitlost
2c053c325a tif.c: Use palette/bilevel/LZW to reduce file size, alpha/CMYK support 2021-03-19 13:09:21 +00:00
gitlost
badd9e59ad Fix UPCEAN small font ignored/disabled (introduced [1adba1]) 2021-03-19 00:12:13 +00:00
gitlost
4e501c77da MAXICODE: fix mask typos for ECI 3/4 bytes 2021-03-18 16:21:22 +00:00
gitlost
14f67331c2 #223 Use cmake options to interface command line parameters, props Schaich Alonso 2021-03-16 23:38:47 +00:00
gitlost
20663b4eed Update gen_gs1_lint.php re new Digital Link dlpkey in gs1-format-spec.txt 2021-03-15 15:27:20 +00:00
gitlost
09e7427259 png.c: suppress clobbered warning by moving init of vars from stack 2021-03-11 11:59:30 +00:00
gitlost
c875371289 #221 Use cmake import targets for the Qt dependency (Xml), props Schaich Alonso 2021-03-11 11:41:13 +00:00
gitlost
7a7210cfa1 testcommon.c: Suppress unused args warning in testUtilCmpPngs if NO_PNG 2021-03-08 13:14:38 +00:00
gitlost
d81b5db271 #220 backend/tests cmake: Use PNG::PNG for libpng (cf #213), props Schaich Alonso 2021-03-08 12:34:34 +00:00
gitlost
6b7b5109b9 png.c: fix 4-bit odd bitmap width bug introduced by [ed3cc5] (MR #111) 2021-03-05 17:27:11 +00:00
gitlost
045c0bae56 #219 frontend cmake: compile bundled getopt if not available, props Schaich Alonso 2021-03-03 13:58:32 +00:00
gitlost
ed3cc51a46 png.c: Use palette for file size savings 2021-02-26 20:45:08 +00:00
gitlost
7f8c8114f3 #218 Prevent buffer overflow in ean_leading_zeroes by checking max lengths 2021-02-25 17:14:49 +00:00
gitlost
88d1a9f625 DATAMATRIX: make EOD encodation strictly ISO 16022 compliant 2021-02-23 00:01:15 +00:00
gitlost
63053c4c0f Update gs1_lint.h re initial index in gs1-format-spec.txt 2021-02-22 19:05:24 +00:00
gitlost
7bdb7cd8c2 Update gen_gs1_lint.php, gs1_lint.h re fixed length * position in gs1-format-spec.txt 2021-02-20 22:38:20 +00:00
gitlost
9d023a806a Update gen_gs1_lint.php, gs1_lint.h re new # Data title in gs1-format-spec.txt 2021-02-20 17:50:06 +00:00
gitlost
2ba7a99db3 Update gen_gs1_lint.php, gs1_lint.h re new fixed length * in gs1-format-spec.txt 2021-02-19 21:10:53 +00:00
gitlost
ebcd0a0d6d #209 large.c fix oversized arrays by 0-filling; const args, casts 2021-02-11 13:51:07 +00:00
gitlost
4875a3bcac #209 ps.c move string loop inside if string check 2021-02-10 22:37:59 +00:00
gitlost
b3610d3c43 #209 font.h guard; improve gs1 c82 check, code1 num_digits 2021-02-09 02:51:36 +00:00
gitlost
a91933cbdd gs1_verify: GMN (8013) update (gs1-format-spec.txt), X..25, csumalpha 2021-02-08 02:45:11 +00:00
gitlost
5d4fe0b572 CLI: validate_int: just fail if length > 9 2021-02-06 00:18:00 +00:00
gitlost
6274140c73 CODEONE: various fixes, ECI support; #209 2021-02-05 23:55:24 +00:00
gitlost
538efd6e52 gs1_verify: 4308 no pcenc (gs1-format-spec.txt); GS1 General Spec 21.0.1 2021-01-28 23:41:54 +00:00