Commit Graph

443 Commits

Author SHA1 Message Date
Robin Stuart
0f2abd1c64 Update GS1 DataBar names
To reflect changes made in 2011 revision of ISO/IEC 24724
2016-02-17 13:01:56 +00:00
Robin Stuart
0c42a2473e Revert to UNIX style EOL 2016-02-17 10:52:48 +00:00
Robin Stuart
2e59058615 Avoid possible confusion with Windows error code
Bugfix by Oxy Genic
Ref: https://sourceforge.net/p/zint/mailman/message/34857131/
2016-02-17 10:37:20 +00:00
Robin Stuart
7ae95b2b42 Numeric data correction
Bugfix by Ed Deinstadt
Ref: https://sourceforge.net/p/zint/mailman/message/34362009/
2016-02-13 07:58:59 +00:00
Robin Stuart
a57001d2ad Improved 'look ahead test' from Annex P 2016-02-13 07:37:24 +00:00
Robin Stuart
cbe5b32785 Prevent binary data corruption
Bugfix by Karl Semich
Ref: http://sourceforge.net/p/zint/mailman/message/34330108/
2016-02-07 14:31:58 +00:00
Robin Stuart
6fc43786a1 Improved implementation of Annex P
More closely matches layout of ISO standard for ease of checking and includes corrections
2016-01-16 16:45:08 +00:00
Robin Stuart
0a340a7ca2 Calculate correct number of codeblocks for DataBar ExpStack 2016-01-12 19:42:41 +00:00
Robin Stuart
8569731337 Automatically generate Aztec map
Fixes #2
2016-01-10 17:34:33 +00:00
Robin Stuart
27c7c9447c Avoid segfault generating DataBar Stacked
Do not read element values which have not been initialised when stacking symbol
Fixes #6
2016-01-10 13:24:25 +00:00
Harald Oehlmann
cb6a126bf2 Ticket #4: Instabilities in QR and Micro-QR Codes - fixed by Patch from Philipe Leuba 2016-01-05 10:19:35 +01:00
Harald Oehlmann
4c9570176b Ticket #7: Silence compiler warnings for unused variables 2016-01-05 10:10:52 +01:00
Harald Oehlmann
c120ca49dd DM: Do not double macro character postfix <RS><EOT> 2016-01-04 18:37:34 +01:00
Harald Oehlmann
779894b671 Ticket 12: if(done = 0) corrected 2016-01-04 18:27:53 +01:00
Harald Oehlmann
2a1d6b8e48 Non-latin1 interpretation characters crash png output.
https://sourceforge.net/p/zint/tickets/11/
2016-01-04 18:10:44 +01:00
Harald Oehlmann
a31e562fd4 "Fix stdout handling for png output", 2012-08-06 from fdb8b4e30e 2015-12-07 22:41:40 +01:00
Harald Oehlmann
3aa27d3ccb "Fix compilation with newer libpng versions", 2012-08-06 from ea0812c50b 2015-12-07 22:36:05 +01:00
Harald Oehlmann
ce2950dd7e "gridmtx: Fix EOL bug", 2012-11-11 from 8d3cd0ece0 2015-12-07 22:32:53 +01:00
Harald Oehlmann
1e41540688 "Remove references to dm200", 2012-07-09 on 7c0e950ee0 2015-12-07 22:26:40 +01:00
Harald Oehlmann
f1f6d4ffc6 Remove unreachable statements.
From
8d2ab1bfcf
2015-10-16 14:26:13 +02:00
Harald Oehlmann
603974278b Ticket#1: Code 93: Represent some escaped characters by their direct representation: %,%,+,-,.,/
Patch by Robin Stuart
2015-08-18 19:41:10 +02:00
Harald Oehlmann
fdbe0c6338 rss limited bug fix: finder for checksum 88 added.
Patch by Robin Stuart, ticket: https://github.com/zint/zint/issues/44
2015-08-18 16:16:10 +02:00
Harald Oehlmann
ed1f0bebec Handle NULL for Aztec Symbology (https://sourceforge.net/p/zint/mailman/message/29335201/) 2015-08-18 14:58:30 +02:00
Harald Oehlmann
2215b648f0 Added possibility to not use Datamatrix rectangular extensions 2015-08-18 14:56:55 +02:00
Harald Oehlmann
216eb6c993 Removed DMRE Format 12x48 as it requires special placement algorithm 2015-08-18 14:54:01 +02:00
Harald Oehlmann
b7f9a7a6e4 Changed comment list for placement extension usage matrix sizes 2015-08-18 14:51:40 +02:00
Harald Oehlmann
c86ba22170 Activated row placement wrap-around at the bottom in placement algorithm 2015-08-18 14:50:37 +02:00
Harald Oehlmann
4dc096cd67 Corrected DMRE direct creation with -vers 2015-08-18 14:49:35 +02:00
Harald Oehlmann
30c8df3269 (Patch by Milton Neal) C40/X12 encodation ending rule implemented (may lead to smaller codes) 2015-08-18 14:48:03 +02:00
Harald Oehlmann
6158a95bd5 plessey.c: Loop will never end due to unsinged type (Bug by Philippe Leuba) 2015-08-18 14:46:30 +02:00
Harald Oehlmann
bf687fc409 Same functionality but IMHO nicer because special handling only at one place 2015-08-18 14:38:11 +02:00
Harald Oehlmann
66f112098d Patch by Milton Neal: Do not double forelast character, if it does not fit in a C40 encoding and the last character is shifted (reported by Bertram Wirth) 2015-08-18 14:30:09 +02:00
Harald Oehlmann
32ac8ccbae RSS bug corrected: Character missing for message [01]90614141999996[10]1234222222222221
Patch by Daniel Frede
2015-08-18 14:28:58 +02:00
Harald Oehlmann
b948d9928c Fixed wrong use of _alloca which causes crashes on Windows 2015-08-18 14:27:37 +02:00
Harald Oehlmann
93fa54a784 Wrong length variable used for x12:
Data "P4022.631.50231>SN2743>4LCA>VOPTIM01US>10D2014/7/28" was a spurious "8" appended.
Fix by Milton Neal and Robin Stuart.
2015-08-18 14:26:24 +02:00
Harald Oehlmann
6ad8db3c77 Compile with MS VC6++ avoiding number constant suffix ULI 2015-08-18 14:20:36 +02:00
Harald Oehlmann
994c5adb10 Fix batch bugs: 1) interpretation of former code included in next if shorter, wrong eof detection issed wrong warning 2015-08-18 14:17:59 +02:00
Harald Oehlmann
36a2830562 Corrected definition of DM 16x36. 2015-08-18 14:14:17 +02:00
Harald Oehlmann
5b92413085 Use passed length instead of \0 to detect source string length 2015-08-18 14:11:50 +02:00
Harald Oehlmann
a0f703f7de Revert last commit: also use GS as FNC1: this must be done in zint framework and not here 2015-08-18 14:09:53 +02:00
Harald Oehlmann
0a36297ae3 DM ECC200 Use GS (ASCII 29) beside "[" as FNC1 separator flag character 2015-08-18 14:08:00 +02:00
Harald Oehlmann
8bf4d5906a Implemented DM ECC200 Macro 05/06 encodation 2015-08-18 14:06:06 +02:00
Harald Oehlmann
a9a9473ccf Add DMRE info (only in header) 2015-08-18 14:04:27 +02:00
Harald Oehlmann
1c0066baa9 DMRE: Datamatrix with extended rectangular formats 2015-08-18 13:53:55 +02:00
Harald Oehlmann
b7b7564457 Make command line version compile with MS-VC6 and QT-Version with MS-VC8 2015-08-18 13:50:42 +02:00
Benjamin Kunz
2e5fe31ebf Evaluate QR codes in accordance with ISO 18004 6.8 2013-11-15 16:03:00 +01:00
Benjamin Kunz
d27db1f6e0 unlatch before single ASCII character is required when leaving text encodation. fix for previous revision 2013-05-28 16:23:53 +02:00
Benjamin Kunz
fe7b71ae31 removed unlatch before trailing single-symbol ASCII characters in accordance with specification. this fixes a problem with the symbol size growing larger than required 2013-05-17 10:07:49 +02:00
oxygenic
1a7863520b license changed with permission of original copyright holders (see mailing list for details) 2013-05-16 19:26:38 +02:00
oxygenic
6383e1a4af license changed with permission of original copyright holders (see mailing list for details) 2013-05-16 19:26:22 +02:00
Benjamin Kunz
a0955950d1 Fixed a typo 2013-05-15 11:04:15 +02:00
oxygenic
152c7d32af create static link lib (thanks to Maximilian) 2013-01-10 14:49:04 +01:00
oxygenic
1d241cca05 code cleanup and minor fixes 2012-12-31 14:41:59 +01:00
oxygenic
8c78216dc1 version number updated 2012-12-31 14:41:42 +01:00
oxygenic
4c45bac1ae reworked 2012-12-30 14:55:05 +01:00
openapc
bf2dbe7494 code reworked 2012-12-29 19:37:03 +01:00
openapc
f48d7ab6a6 code reworked 2012-12-29 19:33:43 +01:00
Robin Stuart
5fe18d0ffa Correct ISBN13 check digit
ISBN-13 check digit now correctly identifies '0'.
Thanks to Kévin Sailly.
2011-05-09 09:02:01 +01:00
Robin Stuart
74047434b5 Minor bugfix in Grid Matrix
Grid Matrix doesn't properly set up calculations for byte mode - situation should rarely occur but bug fixed anyway.
Thanks to Tgotic.
2011-05-04 17:30:01 +01:00
Robin Stuart
29edddcf94 Update version to 2.4.2
Update version number to 2.4.2 and remove reference to broken website.
2011-05-02 07:24:09 +01:00
Robin Stuart
a10c11a379 Remove border and box bug in PNG
Minor typo means that barcode binding and boxing doesn't work.
2011-04-18 21:48:55 +01:00
Robin Stuart
89b11d491b Remove references to dm200.c
Thanks to comments11.zint241.ab12@neverbox.com.
2011-03-21 12:02:28 +00:00
Robin Stuart
0871eda1c0 Resolve issues with batch processing.
A couple of minor errors prevented the --batch option from working.
The default output filename (out.png) is now set when encoding.
2011-03-08 11:36:10 +00:00
Robin Stuart
533a5d0453 Resolve bug when Maxicode mode set by user.
If you invoke the program with --mode=2 or --mode=3 zint reports the error
"Invalid Primary String".
Fixed by Travis Waalkens.
2011-03-08 10:33:22 +00:00
Robin Stuart
cc5e18211b Tidy up error correction in Australia Post.
Thanks to Ismael Luceno.
2011-03-08 10:16:18 +00:00
Robin Stuart
30f5b996bf Tidy up check digit function common to 2 of 5 codes.
Thanks to Ismael Luceno.
2011-03-08 09:58:48 +00:00
Robin Stuart
b30f8e110f Corrected error-correction in Code 1
Code 1 now uses correct Reed-Solomon error correction polynomials.
With thanks to Terry Burton.
2011-03-07 12:55:22 +00:00
Robin Stuart
b36542b8f8 Allow PDF417 wider than 22 columns
Stack smashing bug, not enough memory for PDF417 symbols
wider than ~22 columns. Increased memory allocation now
allows up to maximum of 30 columns.
Thanks to Monica Swanson.
2011-01-20 08:27:18 +00:00
Robin Stuart
a760d0dc26 Correction to CC-A
Three column CC-A needs to have Centre RAP after first column.
Thanks to Terry Burton
2011-01-08 23:09:49 +00:00
Robin Stuart
b808ad9494 Adjust error correction levels.
Now encourages error correction levels as recommended in Annex E of ISO/IEC 15438
Thanks to Terry Burton
2011-01-08 22:58:18 +00:00
Robin Stuart
dfa9b59ed2 Composite symbology bugfix
Incorrect row address pattern assignments.
Spotted by Terry Burton
2011-01-03 22:12:07 +00:00
Robin Stuart
0927fa6237 Correct NO_PNG compilation.
Correct a couple of minor omissions which prevented compiling
without PNG support.
2011-01-02 22:01:38 +00:00
Robin Stuart
4f86c12ec4 Correct size of PostNet
Add pitch and height restrictions for rendering PostNet and PLANET symbols.
Thanks to Jim Evans.
2010-12-26 17:43:49 +00:00
Robin Stuart
1c540a6382 Added smalltext option
Added an option which allows use of reduced size text.
Reduced size font information added to font.h.
2010-12-19 22:23:59 +00:00
Robin Stuart
ae44cf2d33 Another QR Code bugfix
QR Code should encode all of the given data, never leave off the last digit!
2010-12-19 16:16:13 +00:00
Robin Stuart
964a178afe Data Matrix bugfix to use all of symbol
Length of encoded data did not map correctly to symbol sizes, Zint now allows up to the maximum capacity in symbols.
Thanks to Andreas Warmer.
2010-12-19 13:55:43 +00:00
Robin Stuart
08a24d9f94 Correct bug in QR Code
Correction of version number bug.
Version information was encoded backwards in QR Code symbols > version 7.
Thanks to Chew Boon Heng and Giovanni Pedruzzi for reporting,
and thanks to Sean Owen from the ZXing group for working out the problem.
2010-12-16 09:54:56 +00:00
Robin Stuart
d0f15ef423 Bugfix in Telepen
Telepen does not support 0x7f - thanks to Monica Swanson
2010-12-13 20:45:18 +00:00
Robin Stuart
0be72e8ed6 Correct mode bug in Code 49
Thanks to bug report from Joe Bers
2010-10-30 18:14:06 +01:00
Robin Stuart
f56b90fb61 Remove temporary code
Remove test code accidentally left in during commit!
2010-10-24 16:28:23 +01:00
Robin Stuart
8afa0a24c6 Bugfix for 144x144 size Data Matrix
Conform with non-standard convention which now allows proper decoding of 144x144 size symbols.
Thanks to Terry Burton from Barcode Writer in Pure Postscript for the tip-off.
Ref: http://groups.google.com/group/postscriptbarcode/msg/5ae8fda7757477da
2010-10-24 16:19:29 +01:00
Robin Stuart
6792246fe9 Correct bug in QR Code
Correct bug in numeric encoding of QR Code data
reported by John Hennessy.
2010-10-22 10:44:05 +01:00
Robin Stuart
7b135ee44d Manage memory in VS
Some adjustments for compiling with Visual Studio.
2010-10-18 20:35:52 +01:00
Robin Stuart
be4652fcb9 Remove memory allocation bug
Slightly expands the size of memory allocated for data to go into Data Matrix
symbols, correcting a bug reported by SCOPE GmbH
2010-10-17 22:44:57 +01:00
Robin Stuart
2853b473f6 Reduce Warnings in Debian
A number of adjustments to reduce the warnings when building .deb packages in Debian
2010-10-07 17:03:41 +01:00
Robin Stuart
7da2041cfd More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:36:00 +01:00
Robin Stuart
53573f12f6 Adjust maximum size of KIX code
KIX can be up to 18 characters, not just 11
Thanks to Age Bosma
2010-09-13 20:47:22 +01:00
hooper
93c678e1cf Performance improvement
Simplifies the QR code and improves performance
Adds a new --dump option to output binary to stdout
With thanks to Ismael Luceno
2010-09-12 14:52:44 +01:00
hooper
2300a76a07 Add size restrictions for some barcode types
No longer allows symbols of size less than 2mm high or 2mm wide
Enforces correct sizing for Australia Post, Intelligent Mail, Royal Mail 4-State and KIX Code
Adjusts ascender/tracker/descender proportions on all 4-state codes to revised 3/2/3 standards
Enforces normative sizing for UPC and EAN
Enforces minimum sizing for Codabar and Code 49
Tidies up the code a bit so that all of the above makes some sense
2010-09-12 11:54:47 +01:00
Robin Stuart
6702e7a005 Correct UPC and EAN rendering
Made corrections to the rendering of UPC and EAN symbols in render.c
including taking account of EAN-2 and EAN-5 addon codes, correct text sizing
and simplified guard bar extension.
2010-08-22 10:45:21 +01:00
Robin Stuart
75067959b4 Correct for differing scale in glabels
Correction of the scale of maxicode symbols to match requirements of glabels
2010-08-21 23:01:33 +01:00
Robin Stuart
574319bb1c Added Maxicode for glabels interface
glabels can now access Maxicode encoding
2010-08-21 22:57:54 +01:00
Robin Stuart
1cca83855e Performance improvement
Use memset instead of a for loop to improve performance.
As submitted by "Rajesh George" <rajesh_s_george@yahoo.com>
2010-07-19 09:53:09 +01:00
Robin Stuart
6902ad1e80 Add binding and boxes to rendering
Added capabilities for row binding and bind/box options to render.c
2010-07-19 09:31:52 +01:00
Robin Stuart
8d4398e1bb Height and width correction in render.c
Correction makes the height and width adjustment in render.c work as expected.
Height and width of a symbol can now be manipulated to any value in gLabels
with Zint adding padding or changing height of the symbol as required.
2010-07-06 07:43:13 +01:00
Robin Stuart
498820cbed Correction to binding in PNG
An earlier update inadvertantly corrupted the code for putting binding in
PNG images. This corrects that fault.
2010-07-04 09:25:53 +01:00
Robin Stuart
e072a0723e Correct HRT error
Correct an error which prevented human readable text being saved in SVG images.
2010-07-01 22:18:53 +01:00
Robin Stuart
46d604dad7 Adjustment for OSX
Replaced an adjustment for compiling on OSX which I accidentally removed.
2010-06-21 14:31:24 +01:00
Robin Stuart
7e81c5ac55 Adjustment of rendering functions
Some tweaking of the rendering functions to make them work as expected in glabels.
2010-06-19 11:41:49 +01:00
Robin Stuart
e32561cb34 Removal of some ghosts
Removal of some more old Codablock-F code and some depreciated functions from the API.
2010-06-17 21:34:58 +01:00