Commit Graph

451 Commits

Author SHA1 Message Date
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
hooper114
622b32675e MSVC memory error 2009-08-26 19:06:19 +00:00
hooper114
de78542483 Add symbology check option 2009-08-25 22:40:11 +00:00
hooper114
8b9e0163d0 FIM correction 2009-08-24 21:38:13 +00:00
hooper114
00e14b7457 Correct check digit calculation bug 2009-08-21 14:31:43 +00:00
hooper114
a4c878bdbb EDIFACT encoding error - can't encode lower case chars 2009-08-20 23:58:13 +00:00
hooper114
16a86fc54a Add option to input data directly from file 2009-08-20 13:20:59 +00:00
hooper114
4ff1cf21f1 Improved memory usage and bugfix for linear codes 2009-08-19 14:46:14 +00:00
hooper114
5662fc82bf Update license info 2009-08-15 17:22:53 +00:00
hooper114
0d5c7cf9d3 Add 'force Data Matrix to square symbol' option. 2009-08-14 16:52:08 +00:00
hooper114
17c504e724 Add GS1data support to QR Code 2009-08-10 22:33:53 +00:00
taipanromania
0c1dc1bb5f fix .so version 2009-08-10 18:39:32 +00:00
hooper114
06cc245516 Add GS1data support 2009-08-09 08:45:58 +00:00
hooper114
0695eed70c Add NULL character support to QR Code 2009-08-08 15:25:17 +00:00
hooper114
f48a8603e8 MSVC corrections thanks to Norbert Szabó 2009-08-06 19:44:30 +00:00
hooper114
776154d3fe MSVC corrections thanks to Norbert Szabó 2009-08-06 18:48:42 +00:00
hooper114
22dec4892c Extra \0 in preprocessed makes string too long 2009-08-06 08:53:05 +00:00
hooper114
0cfcc41bb4 Update version to 2.1.1 2009-08-06 08:36:01 +00:00
hooper114
5b52afdc8a Only need one copy of license 2009-08-06 08:14:49 +00:00
hooper114
6d5fcc78e3 Improved FNC1 handling 2009-08-05 17:59:28 +00:00
hooper114
46c6430276 Remove all 1 and all 0 codeword detection bug 2009-08-04 18:59:29 +00:00
hooper114
1f4bbf2965 Correct byte mode length bug 2009-08-04 16:50:24 +00:00
hooper114
af26cb69f2 112-bit modulus bug - result is never 0. 2009-08-03 22:56:44 +00:00
hooper114
4a31544645 Extend string 1 byte to accommodate terminator 2009-08-02 10:18:37 +00:00
hooper114
dc21ca1190 Correct error plotting "0" values to MicroPDF 2009-08-02 10:06:41 +00:00
hooper114
33fa523b16 Correct error plotting "0" values to MicroPDF 2009-08-01 23:42:29 +00:00
hooper114
67552adee2 Remove errno value 2009-07-28 21:05:19 +00:00
hooper114
ab82dc6cfa Correct mode switching bug and add debug tool 2009-07-28 08:17:07 +00:00
hooper114
bd840d1ab9 Remove minor omission in sanity check 2009-07-17 22:11:29 +00:00
hooper114
d877168b61 Make Aztec Code MSVC friendly again! 2009-07-16 15:24:46 +00:00
hooper114
fe8747701d Update version number to 2.2 2009-07-13 19:24:55 +00:00
hooper114
3c5b7d5a2e Add GS1 encoding 2009-07-13 19:04:01 +00:00
hooper114
31ffc6e644 Update version number to 2.2 2009-07-13 19:03:28 +00:00
hooper114
067243221e Incorrect variable name 2009-07-10 08:25:13 +00:00
hooper114
2f09c8f938 Tweak Mode C blocks a bit more! 2009-07-10 08:19:22 +00:00
hooper114
2c5e7332e9 Comply with Rule 2 2009-07-09 09:07:37 +00:00
hooper114
063ac4ce4f Add GS1 support to Code 49 2009-07-09 08:28:00 +00:00
hooper114
aa1c9afc66 typo-- 2009-07-09 08:27:33 +00:00
hooper114
6283fdf247 Adjustment to detection of odd-length Mode C blocks to match correction to Code 128 2009-07-08 21:53:19 +00:00
hooper114
5ddf28ffbb Further adjustment for odd-length Mode C blocks 2009-07-08 21:37:22 +00:00
hooper114
5b05d8542c warning-- 2009-07-08 21:22:43 +00:00
hooper114
c94243a74d Re-arranged odd-length Mode C block detection 2009-07-08 17:04:58 +00:00
hooper114
91bf7f7bab Fix Code 93 so that it actually encodes some data 2009-07-08 10:16:31 +00:00
hooper114
f185e85cb9 Disallow EAN2 and EAN5 with addon 2009-07-08 09:14:15 +00:00
hooper114
955c29fc36 Tweak addon text positions 2009-07-08 09:13:19 +00:00
hooper114
bae63db6b4 Fix separator pattern for composite GS1-128 2009-07-08 09:12:41 +00:00
hooper114
3b12f14bad Correct addon formatting problem 2009-07-07 22:01:59 +00:00
hooper114
d3e2fe9b6b Add leading zeroes to composite EAN linear component 2009-07-07 21:47:57 +00:00
hooper114
1889644208 Add Version S and Version T 2009-07-05 16:11:45 +00:00
hooper114
60a5d6db79 Remove console output and add ECC comment 2009-07-05 09:30:53 +00:00
hooper114
e223f21746 Move functions to common.c 2009-07-04 20:50:11 +00:00
hooper114
cec3babc89 Check digit corrections from Massimo 2009-07-04 20:49:17 +00:00
hooper114
2145673ce4 Add Code One support 2009-07-04 20:48:42 +00:00
hooper114
7ad339627c Code 11 correction by John Tarbotton 2009-06-23 19:00:59 +00:00
hooper114
c5a0dd11af Should not be in CVS 2009-06-19 18:49:59 +00:00
hooper114
ae1d317fb6 Correct memory leak with large symbols that have little content (now dynamic memory allocation) 2009-06-19 18:29:49 +00:00
hooper114
10ec8ebf20 Update version number to 2.1.4 2009-06-19 18:28:38 +00:00
hooper114
18b986156f Correct some memory leaks found by MSVC 2009-06-18 10:20:23 +00:00
hooper114
6c631bf282 Remove MSVC compile bugs 2009-06-11 20:37:47 +00:00
hooper114
44f2a0dce6 Moving binary to /usr/lib 2009-06-11 20:35:49 +00:00
hooper114
1a9d077e14 Patches by tgotic 2009-06-07 14:57:10 +00:00
hooper114
38051c8dc1 Bug fix: Does not detect automatic size option 2009-06-07 09:44:51 +00:00
hooper114
84b0118c04 Bug fix: Leading zeroes make ISBN wrong length 2009-06-07 09:43:37 +00:00
hooper114
3cd0c5d2d8 Removal of bug: SIGSEGV on CC-A component 2009-06-07 09:42:30 +00:00
hooper114
55a18653b3 Correction to size selection non-ECC200 2009-06-04 07:02:55 +00:00
hooper114
1cbe22535a Corrected "cannot see dxsmooth" bug 2009-06-03 08:18:21 +00:00
hooper114
b65cd26527 Merge Windows platform patches by tgotic 2009-06-02 20:23:38 +00:00
hooper114
f121cf65ac Trap out of range values - Databar Limited 2009-05-31 21:10:34 +00:00
hooper114
74cfab11f0 Keep Quiet! 2009-05-31 21:10:01 +00:00
hooper114
cb0e4e27e8 Converted zint_symbol structure usage to a more compressed format 2009-05-31 20:33:54 +00:00
hooper114
90d301a6dc Add leading zeroes to UPC/EAN 2009-05-27 09:06:28 +00:00
hooper114
e4837ecaac Update version number 2009-05-19 18:11:00 +00:00
hooper114
661578f18b Minor bugfix 2009-05-19 14:04:19 +00:00
hooper114
fe162c7170 Minor bugfixes 2009-05-17 09:27:43 +00:00
hooper114
4c05da75c7 row binding bugfix 2009-05-16 20:23:53 +00:00
hooper114
0e560805b4 Add Channel Code 2009-05-16 14:19:43 +00:00
hooper114
cd614f42f7 Bugfix: Data doesn't fit in currently selected size symbol 2009-05-14 22:23:01 +00:00
hooper114
76e51fc0ee Improved compression for Latin-1 encoding in Code 128 2009-05-14 22:22:01 +00:00
hooper114
2170302bf5 Set latching problems with Code 128. 2009-05-13 08:01:30 +00:00
hooper114
d6d88b6bc1 Lower character bugfix 2009-05-12 23:19:41 +00:00
hooper114
b62a0ca33a Add Code 49 2009-05-10 11:47:20 +00:00
hooper114
381d40e9a5 Report linear symbol errors in composite symbols 2009-04-28 15:33:04 +00:00
hooper114
54adba8542 ISBN Formatting Correction 2009-04-28 15:31:46 +00:00
hooper114
f567430fea Fix bugs found during GUI overhaul. 2009-04-26 22:04:01 +00:00
hooper114
1649ad0056 Bugfix: Add SVG output to cmake compile 2009-03-22 21:06:28 +00:00
hooper114
de08d8a885 Add Japanese Post Barcode 2009-03-14 11:04:52 +00:00
hooper114
4d2f889f30 Update version number 2009-03-02 08:52:13 +00:00
hooper114
293ecd93d0 K1 and K2 check digit fix 2009-02-28 18:59:47 +00:00
hooper114
3c33245242 Row indicator bugfix 2009-02-28 17:52:49 +00:00
hooper114
fc121cba99 Row indicator bugfix 2009-02-27 20:30:32 +00:00
hooper114
798db42416 End of string bugfix 2009-02-26 06:48:20 +00:00
hooper114
de4f39782f Improved Kanji support - Now converts from Unicode to Shift JIS 2009-02-22 14:13:32 +00:00
hooper114
ee9d0eb601 Add Shift-JIS Kanji support to MicroQR 2009-02-21 23:19:31 +00:00
hooper114
7e0893aa30 Mode C bugfix 2009-02-19 20:10:36 +00:00
hooper114
636a18c74f Allow Unicode in SVG output text 2009-02-19 19:09:57 +00:00
hooper114
aa9edfb320 Convert text and colour information to SVG format 2009-02-18 19:14:56 +00:00
hooper114
1df2fff8a9 Correct binding error 2009-02-17 17:49:34 +00:00
hooper114
b151e526f4 Add SVG support 2009-02-17 17:48:39 +00:00
hooper114
0feb6152d6 Update version info 2009-02-10 23:35:14 +00:00
hooper114
c1e89c6460 Minor HIBC fix 2009-02-10 22:48:00 +00:00
hooper114
4b31b4fe66 Be quiet! 2009-02-01 16:57:45 +00:00
hooper114
776f6a9462 Remove floating point exception bug on smallest symbol. 2009-02-01 16:56:21 +00:00
hooper114
099dd11fcc Add HIBC support 2009-01-31 22:03:46 +00:00
hooper114
dd374c0db5 Stack smashing bug fix 2009-01-31 14:24:47 +00:00
hooper114
f7060fc642 Brand new Data Matrix encoding engine! 2009-01-31 00:44:39 +00:00
hooper114
f1a60e5e51 Valgrind fixes 2009-01-25 19:48:06 +00:00
hooper114
4de53b3e09 Initial FNC1 bug correction 2009-01-24 14:35:46 +00:00
hooper114
8a71220ed6 Add GS1 support to Data Matrix and Codablock-F 2009-01-24 12:22:10 +00:00
hooper114
e527c45c2d Correction to Base256 encoding 2009-01-22 22:25:12 +00:00
hooper114
8bdb2e28a4 communication-- 2009-01-22 20:45:41 +00:00
hooper114
2dd4f31da4 Add GS1 support to Aztec Code 2009-01-16 05:50:22 +00:00
hooper114
c7affa89de Communication++ 2009-01-15 19:37:43 +00:00
hooper114
5fcb61fcd8 detect control char and non numbers in AI 2009-01-15 18:42:15 +00:00
hooper114
834a689e7c tidy up 2009-01-15 18:41:35 +00:00
taipanromania
e13b2cbd5e warning-- 2009-01-15 09:06:13 +00:00
taipanromania
b8240d3d76 faster 2009-01-15 09:05:54 +00:00
taipanromania
fc21c1d0db sync 2009-01-15 09:04:32 +00:00
hooper114
c6728f4c17 Allow FNC1 to be implied by mode character in Code 16k and pass reduced string of correct signedness 2009-01-13 20:42:45 +00:00
hooper114
9b569c8717 Correct length estimate for FNC1 2009-01-13 17:49:37 +00:00
hooper114
700c47d9d0 Add GS1 support to Code 16k 2009-01-13 17:49:00 +00:00
hooper114
64731a4ddd More complete testing and more useful output 2009-01-11 20:54:27 +00:00
hooper114
b6ac39172b Fixed 'FNC1 in Code Set C' bug in EAN128 2009-01-11 18:28:52 +00:00
hooper114
31dce82f3b Move NVE18 encoding to EAN128 2009-01-11 12:09:48 +00:00
hooper114
bc88024f04 Add Input mode support for Unicode, GS1 and Kanji 2009-01-11 09:11:03 +00:00
hooper114
9425bf5946 Improved GS1 checking 2009-01-11 07:42:10 +00:00
hooper114
3768b65d3e Checked against version 8.0 of GS1 standard 2009-01-09 08:45:56 +00:00
hooper114
38b8de26e4 Improved GS1 validation 2009-01-09 08:34:06 +00:00
hooper114
a98fe56ca8 SIGSEGV-- 2009-01-08 08:44:39 +00:00
hooper114
9c2fbd9e11 Moved GS1 processing to gs1.c 2009-01-08 08:43:25 +00:00
hooper114
7763292cf7 Allow resizing of DM89 symbols 2009-01-05 21:22:12 +00:00
hooper114
8bb378ed25 Make Data Matrix retry if data doesn't fit in specified symbol size. 2009-01-04 22:39:38 +00:00
hooper114
d6df698918 NULL character support 2009-01-02 21:09:16 +00:00
hooper114
1015a11b5a Add symbol size option to Data Matrix 2008-12-31 09:55:58 +00:00
hooper114
4a0b35148d Update version number 2008-12-24 21:30:12 +00:00
hooper114
ecdbd870de Add scale option 2008-12-24 21:29:54 +00:00
hooper114
8a9e55fff1 Add scale option and make whitespace and border options more consistent. 2008-12-24 21:29:31 +00:00
hooper114
a2c76b76ae Australia Code bugfix (concatinating unset string) 2008-12-24 21:26:38 +00:00