Commit graph

1040 commits

Author SHA1 Message Date
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
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
gitlost
74082e4d1b Bump Zint version to 2.7.0 in CMakeLists.txt 2019-12-09 19:14:39 +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
f8d46f8dde Update messed-up changes 2019-12-05 20:47:35 +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
Robin Stuart
05784fb9cf Add UI options for rMQR
And update manual to include rMQR
2019-11-27 16:54:03 +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
Robin Stuart
385a0a246f typo-- in isotest 2019-11-17 22:03:54 +00:00
Robin Stuart
a4d9e3d6c7 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2019-11-17 21:56:15 +00:00
Robin Stuart
c6d5d28eab Updated ISO tests now include data from draft Dot Code and Han Xin standards 2019-11-17 21:55:32 +00:00
Harald Oehlmann
71b1b212c6 Draft changes for 2.6.8 2019-11-17 19:41:43 +01: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
Robin Stuart
1564cd7a34 Add Automatic Height option to UI and enable by default
Brings UI default settings in line with CLI default settings
2019-10-21 08:29:21 +01: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
Robin Stuart
15ae99ee11 Allow explicit ECI 3
Setting ECI to 3 now causes Zint to include ECI 3 in symbol, and allows entry of data formatted in ISO 8859_1
Fixes #127 requested by Harald Oehlmann
2019-10-06 17:39:54 +01:00
Robin Stuart
ff2ceea361 Allow selection of GS1 mode on GS1 symbols
Because some symbols require GS1 data, selecting GS1 mode for them would result in GS1 parsing being done twice, corrupting the data.
Fixes #165 reported by Gregory Van Vooren
2019-10-06 11:30:21 +01:00
Robin Stuart
eb3a004ace Always latch to non-numeric in general-purpose field
Would not include latch to alphanumeric or ISO/IEC mode if required at the beginning of a general-purpose compaction field.
Fixes #146 reported by Gregory Van Vooren
2019-10-05 12:48:55 +01:00
Robin Stuart
ae737ea019 Don't include LeftRAP with CC-A
Implement missed rule from ISO 24723 section 8.2 - 3-column CC-A components have the left Row Address Pattern omitted.
Partially resolves #146 reported by Gregory Van Vooren
2019-10-05 11:08:58 +01:00
Harald Oehlmann
6751a816a6 2019-09-19 HaO Set Version to 2.6.6 2019-09-18 11:58:57 +02:00
Harald Oehlmann
5c9d127ad1 2019-09-19 HaO DM: when encoding ECI, data scrambled when base256 encoding was chosen. The ECI codeword 241 was missing in the binary marker array and thus, the binrary length was inserted before the latch to binary resulting in very corrupt data. 2019-09-18 10:51:01 +02:00