1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-06-09 23:23:36 +00:00
Commit Graph

1108 Commits

Author SHA1 Message Date
Robin Stuart 5861ad3c3b Ultra: Extend colour support to PNG PCX BMP and TIF
Implementation needs improvement, but colour output is now achieved in most formats
2020-01-06 20:01:48 +00:00
Robin Stuart 6181885e2e Ultra: Add colour rectangle output to EPS 2020-01-06 18:00:43 +00:00
Robin Stuart 257da3fff5 Prevent Data Matrix buffer overflow bug
Fixes #176 reported by Daniel Gredler at OkapiBarcode
2020-01-05 12:35:16 +00:00
Robin Stuart 6954497fc1 Correct postscript plotting error
Report and fix by Matthieu LARIGALDIE
2020-01-05 11:27:24 +00:00
Robin Stuart 2faff4e76f Correct ECI but in DotCode
Avoid creating codewords > 112
Fixes #174 reported by Milton Neal
2019-12-26 17:57:29 +00:00
gitlost b00b227b4f PDF417 no longer uses option_3 for no. codewords so set default 0 & remove from Studio 2019-12-19 20:29:11 +00:00
gitlost fa9af12fc6 raster.c: check bounds on calculating block width for UPCA 2019-12-19 00:59:51 +00:00
gitlost bca82ecc0d libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST 2019-12-19 00:37:55 +00:00
gitlost c524d32227 GRIDMATRIX: suppress maybe-uninitialized warning by initializing nondigit_posn 2019-12-18 20:04:05 +00:00
Robin Stuart d370f3c0c7 Ultra: Correct clock pattern generation, add work around to avoid negative UCC and output to colour SVG 2019-12-18 18:33:18 +00:00
Robin Stuart e6ab17086c Ultra: Add UCC, Correct ECC calculation for EC0, Expand ECI support to all values 2019-12-17 20:22:16 +00:00
gitlost 3209b32087 QR optimize encoding mode: remove extraneous newlines 2019-12-16 17:50:58 +00:00
gitlost e331fd1e90 QR optimize encoding modes 2019-12-16 17:31:52 +00:00
Robin Stuart ea6902c817 Ultra: Convert codewords to tiles and place in grid 2019-12-15 22:26:57 +00:00
Robin Stuart cfdc7cc262 Ultra: Adjusted to allow 79-82 codeword range in 3-row symbols 2019-12-15 13:48:45 +00:00
Robin Stuart 77c8e76bfa Ultracode: Add error correction 2019-12-15 12:58:59 +00:00
Robin Stuart 7216202f06 Ultracode: Add FNC1 and 06 Macro support and calculate ECC capacity 2019-12-11 21:10:07 +00:00
Robin Stuart edf7f9248e Ultracode codeword generation
Supports Reader Init, ECI, GS1 and handles switching between 8-bit, ASCII and C43 modes with C43 macros
2019-12-10 21:15:23 +00:00
gitlost 64c078605e HANXIN minor code changes (cm_row -> cm_i), avoid divide in in_numeric() 2019-12-08 20:22:10 +00:00
gitlost 889e786d95 HANXIN ECI conversion, GB 18030 LIBICONV port; some codeword fixes; optimized encoding modes 2019-12-08 16:15:34 +00:00
Harald Oehlmann ce8aa92846 Include malloc.h only for MS_VC. Other platforms have it in stdlib.h 2019-12-06 14:09:39 +01:00
Harald Oehlmann e03d03c877 Update version to 2.7.0 2019-12-05 20:16:39 +01:00
Harald Oehlmann 34c33b45b5 Correct mistake of last commit: restore order of blocks 2019-12-05 19:36:00 +01:00
Harald Oehlmann 045a9e3b00 Make zint compile on MS-VC6. Adopt makefiles to new file list. 2019-12-05 19:19:37 +01:00
gitlost 5fe97772cb GRIDMATRIX optimization wasn't adding in cost of double-byte properly 2019-12-04 14:07:55 +00:00
gitlost b1f4a12c78 GRIDMATRIX codeword fixes, Project Nayuki optimized encoding modes 2019-12-04 13:45:01 +00:00
Robin Stuart 8295883987 Merge rMQR support in to master 2019-12-01 15:17:08 +00:00
Robin Stuart f9d969cdd6 Remove depreciated gLabels render code 2019-12-01 14:09:46 +00:00
gitlost 8be13283db ECI conversion for GRIDMATRIX; GB 2312 LIBICONV port 2019-11-28 19:15:29 +00:00
Robin Stuart ade31c41fb rMQR bugfix - cater for data lengths which are not multiples of 8 when calculating symbol size 2019-11-27 19:32:40 +00:00
gitlost fed7378675 Handle UNICODE_MODE ECI conversion for reduced charset barcodes and QRCODE/MICROQR 2019-11-27 16:16:14 +00:00
Robin Stuart ac00e381a6 Add rMQR to Barcode Studio
and perform some code beautifying at the same time
2019-11-25 21:20:21 +00:00
Robin Stuart ad28de1819 Initial implementation of rMQR
According to draft dated June 2018
2019-11-25 19:08:25 +00:00
Harald Oehlmann 23ec0d48fc Make compile with ms-vc6 (zint, tcl) and VS2015 (qzint) 2019-11-17 19:30:55 +01:00
Robin Stuart 1fa7f2b804 Correct Chinese char encoding in Han Xin
Testing revealed a couple of bugs with encoding Chinese characters, also added more useful debug info
2019-11-17 14:56:43 +00:00
gitlost 793a990c01 EANX/UPCA/UPCE_CHK handling + various raster/vector fixes; ISBNX add-ons 2019-11-11 21:38:21 +00:00
gitlost 42587c2d21 gs1_verify: additional AIs 7240, 235, 417, 7040, 8026; updated checks 7007, 8008 2019-11-10 00:27:24 +00:00
gitlost 3b87cd4ec6 EAN128_CC ecc, cc_width, rows and alignment adjustments 2019-11-05 14:16:48 +00:00
Robin Stuart fac9b94f1b Further refinement to SVG
More research revealed frasl entity should not be implemented, but apos should
Thanks to Ian Jeffray
2019-11-03 11:51:12 +00:00
Robin Stuart 1a5eb573cf Minor Dotcode tweaks
Slight modification brings code inline with latest version of draft standard.
Thanks to input from Terry Burton at BWIPP
2019-10-31 13:27:36 +00:00
gitlost c87c86e30a Remove redundant numeric mode check in last digit processing 2019-10-31 02:31:55 +00:00
gitlost 1dd4b08986 Uses general_field_encode in rss_binary_string; min 4 chars; bottom separator 2019-10-31 02:01:42 +00:00
Robin Stuart 0fe9051324 Improved HTML entity handling
Now handles quot and frasl as suggested by Ian Jeffray and also allocates memory properly, preventing SIGSEGV for Code 128 full of ampersands.
2019-10-30 08:40:26 +00:00
Robin Stuart 7bcc0252a9 Supress malloc warning using gcc 8
Explicitly prevents malloc with negative number to supress -Walloc-size-larger-than
Fixes #168 reported by Ian Jeffray
2019-10-30 07:46:36 +00:00
gitlost 03d99ceb23 Composite changes encodation 10, 11, general field, CC-A/B shift 2019-10-29 22:54:18 +00:00
gitlost 739793a215 Always parse input as GS1 for EAN128 and RSS_EXP 2019-10-17 10:06:21 +01:00
Robin Stuart b1113db942 Make text elements compatable with HTML in SVG
Correctly encodes less-than, greater-than and ampersand.
Fixes #167 reported by Ian Jeffray
2019-10-16 18:42:22 +01:00
gitlost d8b576164f Use zero-padded field to determine EANX type for composites 2019-10-14 22:20:16 +01:00
gitlost 433046abbf KOREAPOST missing from is_linear; tests update 2019-10-14 09:49:15 +01:00
Harald Oehlmann 6e1283ccd8 2019-10-07 2.6.7 HaO Set version to 2.6.7, documentation, readme 2019-10-07 11:57:35 +02:00