Commit Graph

387 Commits

Author SHA1 Message Date
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
Robin Stuart
81b4902c95 Removed old Data Matrix standards
Removed Data Matrix ECC 000 to 140 because (a) they don't work properly and (b) nobody uses them anyway!
Also removed some ghosts of Codablock-F - there are some more to find.
2010-06-16 09:00:31 +01:00
Robin Stuart
807d9460d1 Add support for rendering UPC
Extended bars and text formatting for UPC barcodes now included in render.c
2010-06-13 11:56:31 +01:00
Sam Lown
95e51cf96d Removing merge nastynesses 2010-06-11 20:14:41 +02:00
Sam Lown
68de839804 Merge branch 'master' of git://zint.git.sourceforge.net/gitroot/zint/zint
Conflicts:
	backend/CMakeLists.txt
	backend/Makefile
	backend/Makefile.mingw
	backend/library.c
	backend/zint.h
2010-06-11 20:10:55 +02:00
Sam Lown
847cd70e32 Added width and height parameters to rendering for easier output control 2010-06-11 19:42:51 +02:00
Sam Lown
2cea2399d9 Changed rendering to use strings instead of a characters 2010-06-11 17:25:41 +02:00
Robin Stuart
511fadef30 Initial transfer from CVS
Transfer of version 2.3.2 from CVS repository
2010-06-10 21:52:50 +01:00
Sam Lown
e79076a218 Enhancing support for more layouts with refinements 2010-05-31 14:52:19 +02:00
Sam Lown
d50c2c51a3 Adding support for Rendered backend 2010-05-30 19:25:24 +02:00
hooper114
554e2a25f3 Remove exit() 2010-05-23 08:15:24 +00:00
hooper114
545ff663d3 Update version to 2.3.2 2010-05-23 07:18:15 +00:00
hooper114
f8b6fb20aa Make locale aware 2010-05-23 05:02:08 +00:00
hooper114
91251fbc26 Maxicode - error correction bug and misplaced finder 2010-05-18 08:33:03 +00:00
hooper114
93d65a910c Various minor bugfixes 2010-05-16 21:58:18 +00:00
hooper114
f3e8505fd4 Correct "trailing full stop" bug. 2010-04-06 09:14:28 +00:00
hooper114
695df7572b Another RSS padding bug! 2010-04-05 04:59:13 +00:00
hooper114
1e4051d414 A couple of small bugfixes were found by the PIRAmIDE project. 2010-04-04 22:06:21 +00:00
hooper114
4782ebb76d A couple of small bugfixes were found by the PIRAmIDE project. 2010-03-29 20:57:12 +00:00
hooper114
7c9dee39e6 Re-adjustment of Makefiles 2010-03-04 07:38:47 +00:00
hooper114
2e001b160d Reinstated Makefiles and updated readme. 2010-03-01 22:34:35 +00:00
hooper114
2e930dab2b Remove Codablock from verify. 2010-03-01 17:27:25 +00:00
brianray
27ce2abc7b ifdefs needed to find malloc.h on the mac. 2010-02-28 03:43:32 +00:00
hooper114
a348bb22e5 Bugfixes for Code 128 and Data Matrix encoding. Remove Codablock-F 2010-02-27 08:33:07 +00:00
hooper114
984395311c Block text on small PNG images 2010-01-28 18:48:42 +00:00
hooper114
1d9cbbc00d *** empty log message *** 2010-01-28 18:00:52 +00:00
hooper114
f6dc4dfc07 Remove Codablock-F 2010-01-28 17:55:59 +00:00
hooper114
7acb709e6a Correct encoding bug. 2009-12-21 08:42:49 +00:00
hooper114
d2632592d8 Correct encoding bug. 2009-12-21 08:16:03 +00:00
hooper114
2afe34a138 Improved PDF417 plotting and bugfix. 2009-12-20 23:08:04 +00:00
hooper114
d1359c10ca Add Reader Initialisation mode 2009-12-07 21:33:06 +00:00
hooper114
e3e9c67f93 Add Reader Initialisation mode 2009-12-04 23:18:48 +00:00
hooper114
1ac256c223 Improved scaling. Started to implement Reader Initialisation mode. 2009-12-03 10:04:04 +00:00
hooper114
b24cf09fe7 Free bitmap structure, add clear option, correct KIX Code and fix spelling mistake. 2009-12-02 09:09:45 +00:00
hooper114
f200517593 Bugfix: add missing VS file 2009-11-28 17:14:48 +00:00
hooper114
a704fd584a Remove dead wood! 2009-11-22 15:45:17 +00:00
hooper114
dcefa4eee1 Structural changes and updates from tgotic 2009-11-22 15:38:15 +00:00
hooper114
1695eae7dd Structural changes and updates from tgotic 2009-11-17 22:36:04 +00:00
hooper114
7fa4b32c1d Structural changes and updates from tgotic 2009-11-17 22:22:30 +00:00
hooper114
fdb6485ef1 Resolve Latin-1 in Code 128 bug 2009-11-09 09:18:08 +00:00
hooper114
35cacaef67 Update version number to 2.3.0 2009-11-08 22:17:11 +00:00
hooper114
7c1d8fdc5b Add buffer option 2009-11-08 21:24:32 +00:00
hooper114
13a8a80136 Update to HIBC allows Aztec Code encoding 2009-11-03 10:54:21 +00:00
hooper114
242e57f536 Minor bugfixes 2009-11-02 15:47:08 +00:00
hooper114
6beac47e8d Tidy up loose ends 2009-10-31 22:42:10 +00:00
hooper114
56e75788c2 Rebuilt Micro QR Code to allow mode switching, Kanji characters and correct format information. 2009-10-31 13:18:27 +00:00
hooper114
50ed255c57 Move Micro QR to qr.c 2009-10-31 13:16:36 +00:00
hooper114
fbf2a30fa5 Corrections to Micro QR Code, Unified Reed-Solomon Code 2009-10-25 14:42:30 +00:00
hooper114
1542cf5680 Patches from tgotic 2009-10-22 22:02:02 +00:00
hooper114
a55b21704e Now with Grid Matrix! 2009-10-21 09:08:44 +00:00
hooper114
de7219126a QR Code Lives! 2009-10-11 19:52:13 +00:00
hooper114
b6828d48e7 Undo odd formatting 2009-10-06 19:31:43 +00:00
hooper114
1ff9c0d472 Add corrections from tgotic 2009-10-06 19:03:00 +00:00
hooper114
de9984a346 Update version numbering to 2.2.2 2009-09-29 11:15:16 +00:00
hooper114
04b9a99241 API overhaul part 1: removal of nullchar 2009-09-29 09:45:46 +00:00
hooper114
318d2d4eed Simplify PDF processing 2009-09-19 08:16:21 +00:00
hooper114
467433f0d0 Disable GS1 in QR Code (to allow building against official qrencode) and compress bullseye in Maxicode to save memory. 2009-09-05 06:48:10 +00:00