Commit Graph

1657 Commits

Author SHA1 Message Date
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
f7f1ef2918 Update version info to 2.4.1
Ensure all relevant files show version as 2.4.1
2011-01-02 23:20:25 +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
bac1bfe09b Correct test scripts.
Remove symbologies no longer supported from test scripts.
2010-12-27 08:51:37 +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
e2f35eaf39 Refine batch processing.
Try to remove possibility of stack smashing or infey loops.
Add detection of CRLF formatted input files.
2010-12-26 17:09:18 +00:00
Robin Stuart
d6a733d517 Improved batch processing
Improvements to new --batch option on CLI.
Now accepts formatting commands.
2010-12-24 22:09:40 +00:00
Robin Stuart
bbabd40a5c Add batch option to command line
Made a start on adding batch capability to the command line.
Will also accept batch input from stdin.
2010-12-24 10:55:08 +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
a686482a44 Change debian packages
Consolidate Debian packages to create four packages with name
and function to match those used for Fedora.
2010-10-20 21:39:07 +01:00
Robin Stuart
e09ce1aba2 Add manpage
Debian requires a manpage. Here it is!
2010-10-18 22:14:00 +01:00
Robin Stuart
04972801d1 Add reader init option to frontend
Add --init option to frontend.
2010-10-18 21:08:29 +01:00
Robin Stuart
6e86af64e0 Compensate for changes to Visual Studio
Visual Studio 2010 uses a modified project file. Add a new project file to compensate for this.
2010-10-18 21:01:35 +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
2ee978379b Remove old depenence
Remove build dependence on libqrencode for Debian. This library is no longer used.
2010-10-03 21:31:03 +01:00
Robin Stuart
f6d6610916 Update Debian files
Bring the Debian files up to version 2.4
2010-10-03 12:07:54 +01:00
Robin Stuart
3d938aa029 Tidy up config files for Visual Studio
Removal of unneeded Visual C++ project files
Update of version number and copyright for Visual C++
Thanks to tgotic
2010-09-16 20:53:15 +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
fc83343133 Mention stdin support!
Patch 6 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:31:45 +01:00
Robin Stuart
ba7915c356 Make the docs fit into 80 columns
Patch 5 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:29:45 +01:00
Robin Stuart
35c7a6ea30 Split "THINGS TO DO" and "COMPILING THE CODE" sections into their own files
Patch 4 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:22:34 +01:00
Robin Stuart
d1928fe1d4 Remove duplicated file
Patch 3 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:20:57 +01:00
Robin Stuart
f29ef3e2a7 Rearrange some bits of the README
Patch 2 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:17:54 +01:00
Robin Stuart
9089333199 Rename readme to uppercase so it gets listed first
Patch 1 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:15:12 +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
Robin Stuart
4c7fcc4b47 Added instructions for posting
Adds a checklist for people to look at before posting to the list
2010-09-13 20:38:32 +01:00
Robin Stuart
db568c0ed1 Update version to 2.4
Update version number of library
2010-09-12 16:36:39 +01:00
Robin Stuart
f6d32965eb Remove ghost of Codablock
Removes a reference to Codablock-F from Visual C project file
Codablock-F is no longer supported
2010-09-12 15:57:08 +01:00
Robin Stuart
ed5b157cb8 Update to version 2.4
Update version number in GUI
2010-09-12 15:04:08 +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
0f81737e2a Minor correction to frontend
A minor correction regarding how the Qt frontend displays text under UPC symbols
2010-08-22 11:07:44 +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