Commit Graph

213 Commits

Author SHA1 Message Date
Boris Zentner
bfb4d3284b nRead is not used on error 2016-10-30 17:10:30 +00:00
Boris Zentner
7ca22f24a4 Remove superfluous code 2016-10-30 17:10:24 +00:00
Robin Stuart
4561a66067 Add identifiers to error messages
To ease the debug process
2016-10-28 22:40:40 +01:00
Robin Stuart
d875318b3d Add option to include check digit in UPC/EAN data, and validate before encoding
Fixes #5
2016-10-28 19:43:08 +01:00
Robin Stuart
7ea03123c8 Set minimum row heights 2016-10-27 09:32:12 +01:00
Harald Oehlmann
a57ef2adc8 2016-10-26 HaO Extended HIBC string length to 112 (HIBC 2.6) 2016-10-26 19:34:21 +02:00
Robin Stuart
f145680739 Revoke changes made to pixel buffering in API 2016-10-02 10:45:47 +01:00
Robin Stuart
9eff5cc63a Allow adjustment of dot size when in dotty mode 2016-09-18 14:09:58 +01:00
Robin Stuart
0dd072437e Add Codablock options to Studio
Also remove divide by zero bug calculating row height
2016-09-17 11:39:01 +01:00
Robin Stuart
c351ed492e Minor tweaks: Don't allow GS1 in Codablock-F, Don't allow negative height rows, Warn user if using ECI mode 2016-09-14 22:34:59 +01:00
Robin Stuart
b49f3f0255 Fix memory leak in PostScript
Also match ZBarcode_Encode prototype with definition
Fixes thanks to Alex Haley <ahaley42@sf>, Ref ticket #33
2016-09-13 21:30:19 +01:00
Robin Stuart
16511da26d Improved rendering of seperator bars for Codablock-F 2016-09-12 21:47:40 +01:00
Robin Stuart
6dbf817ffa Resolve link error LNK2019 in VS
Bugfix by Milton Neal <miltonneal@bigpond.com>
2016-09-10 16:33:08 +01:00
Robin Stuart
2c2200a7cb modifications for VS2015, some
additional static/const's and a few bugfixes for HanXin and DotStream.

Patch by Michael <virtual_worlds@gmx.de>
2016-09-05 22:06:50 +01:00
Robin Stuart
a7bcef4ef7 Fix various memory leaks
Bugfixes thanks to Alex Haley <ahaley42@users.sf.net>
2016-09-03 18:45:09 +01:00
Robin Stuart
3cf8a142b8 Bugfix: Ouput binding in raster images
Also: tidy up use of output_options
2016-08-26 15:13:40 +01:00
Robin Stuart
c6a68dd605 bugfix: Corruption of output_options data 2016-08-26 12:15:54 +01:00
Robin Stuart
542ec7c7a5 When libpng is not found, default to GIF output 2016-08-26 11:44:02 +01:00
Robin Stuart
4e13b0e95d Add framework for Codablock 2016-08-24 19:37:49 +01:00
Robin Stuart
9d1c20201d Add ECI encoding 2016-08-16 12:43:41 +01:00
Robin Stuart
bcad6504b5 Restrict dotty mode to matrix symbols 2016-08-12 19:30:46 +01:00
Robin Stuart
8029dec9c7 Merge Dotcode 2016-08-07 20:28:56 +01:00
Harald Oehlmann
08c88e85d2 Added gif output 2016-07-28 20:58:33 +02:00
Robin Stuart
340bcd2833 DotCode: New symbology added and encoding to codewords as set out in Annex F
Does not produce DotCode symbols yet
2016-07-25 22:52:29 +01:00
Robin Stuart
babeaec41d Add ZSoft PCX image file output 2016-07-23 15:08:55 +01:00
Robin Stuart
08e51cf5bb Separate PNG and BMP file handling routines and create common framework to allow addition of more output file formats 2016-07-19 23:02:39 +01:00
Robin Stuart
0230426b0f Add new symbology: Han Xin Code 2016-04-07 17:13:43 +01:00
Harald Oehlmann
0fcf4cc1ab Ticket #18: add some const. 2016-04-06 22:55:14 +02:00
Robin Stuart
f17f10fa7c Replace local concat() and roundup() with C library defaults
Patch by Oxy (Michael) <virtual_worlds@gmx.de>
Ref: https://sourceforge.net/p/zint/mailman/message/34896811/
2016-03-02 21:12:38 +00:00
Robin Stuart
5d9ce6f684 Improvements from Oxy patch
Original email reads...
It does not contain any fundamental changes or new functions but a lot of improvements which I have done over time (added several const/static specifiers, replaced repeated if-conditions by if-else, removed some warnings).
2016-02-29 19:42:32 +00:00
Robin Stuart
8a88ffdd7b Code format and audit, part 2
Update copyright info, remove unused code, etc.
2016-02-20 10:50:15 +00:00
Robin Stuart
ae335b104a Alter 'dump' option to give hexadecimal output 2016-02-18 23:23:31 +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
Harald Oehlmann
f1f6d4ffc6 Remove unreachable statements.
From
8d2ab1bfcf
2015-10-16 14:26:13 +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
b7b7564457 Make command line version compile with MS-VC6 and QT-Version with MS-VC8 2015-08-18 13:50:42 +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
Benjamin Kunz
a0955950d1 Fixed a typo 2013-05-15 11:04:15 +02:00
oxygenic
1d241cca05 code cleanup and minor fixes 2012-12-31 14:41:59 +01:00
openapc
bf2dbe7494 code reworked 2012-12-29 19:37:03 +01: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
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
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
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
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
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
d50c2c51a3 Adding support for Rendered backend 2010-05-30 19:25:24 +02:00
hooper114
93d65a910c Various minor bugfixes 2010-05-16 21:58:18 +00:00
hooper114
2e930dab2b Remove Codablock from verify. 2010-03-01 17:27:25 +00:00
hooper114
984395311c Block text on small PNG images 2010-01-28 18:48:42 +00:00
hooper114
f6dc4dfc07 Remove Codablock-F 2010-01-28 17:55:59 +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
dcefa4eee1 Structural changes and updates from tgotic 2009-11-22 15:38:15 +00:00
hooper114
fdb6485ef1 Resolve Latin-1 in Code 128 bug 2009-11-09 09:18:08 +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
6beac47e8d Tidy up loose ends 2009-10-31 22:42:10 +00:00
hooper114
a55b21704e Now with Grid Matrix! 2009-10-21 09:08:44 +00:00
hooper114
1ff9c0d472 Add corrections from tgotic 2009-10-06 19:03:00 +00:00
hooper114
04b9a99241 API overhaul part 1: removal of nullchar 2009-09-29 09:45:46 +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
16a86fc54a Add option to input data directly from file 2009-08-20 13:20:59 +00:00
hooper114
17c504e724 Add GS1data support to QR Code 2009-08-10 22:33:53 +00:00
hooper114
776154d3fe MSVC corrections thanks to Norbert Szabó 2009-08-06 18:48:42 +00:00
hooper114
063ac4ce4f Add GS1 support to Code 49 2009-07-09 08:28:00 +00:00
hooper114
2145673ce4 Add Code One support 2009-07-04 20:48:42 +00:00
hooper114
18b986156f Correct some memory leaks found by MSVC 2009-06-18 10:20:23 +00:00
hooper114
b65cd26527 Merge Windows platform patches by tgotic 2009-06-02 20:23:38 +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
661578f18b Minor bugfix 2009-05-19 14:04:19 +00:00
hooper114
0e560805b4 Add Channel Code 2009-05-16 14:19:43 +00:00
hooper114
76e51fc0ee Improved compression for Latin-1 encoding in Code 128 2009-05-14 22:22:01 +00:00
hooper114
b62a0ca33a Add Code 49 2009-05-10 11:47:20 +00:00
hooper114
f567430fea Fix bugs found during GUI overhaul. 2009-04-26 22:04:01 +00:00
hooper114
de08d8a885 Add Japanese Post Barcode 2009-03-14 11:04:52 +00:00
hooper114
de4f39782f Improved Kanji support - Now converts from Unicode to Shift JIS 2009-02-22 14:13:32 +00:00
hooper114
636a18c74f Allow Unicode in SVG output text 2009-02-19 19:09:57 +00:00
hooper114
b151e526f4 Add SVG support 2009-02-17 17:48:39 +00:00
hooper114
c1e89c6460 Minor HIBC fix 2009-02-10 22:48:00 +00:00
hooper114
099dd11fcc Add HIBC support 2009-01-31 22:03:46 +00:00
hooper114
8a71220ed6 Add GS1 support to Data Matrix and Codablock-F 2009-01-24 12:22:10 +00:00
hooper114
2dd4f31da4 Add GS1 support to Aztec Code 2009-01-16 05:50:22 +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
700c47d9d0 Add GS1 support to Code 16k 2009-01-13 17:49:00 +00:00
hooper114
bc88024f04 Add Input mode support for Unicode, GS1 and Kanji 2009-01-11 09:11:03 +00:00
hooper114
d6df698918 NULL character support 2009-01-02 21:09:16 +00:00
hooper114
ecdbd870de Add scale option 2008-12-24 21:29:54 +00:00
hooper114
960d46981a Added scale value to change size of output image 2008-12-20 15:21:04 +00:00
hooper114
e6ace8a855 Add Korea Post 2008-12-07 20:11:50 +00:00
hooper114
88cc19bab1 Change of e-mail address 2008-11-17 08:47:42 +00:00
hooper114
49a14d9d73 Added Aztec Runes 2008-11-09 10:06:05 +00:00
hooper114
d2ac6e7cb6 Add Data Matrix ECC 000-140 and MicroQR 2008-11-05 08:43:13 +00:00
hooper114
da74f2d0d0 Be quiet! 2008-10-19 08:56:47 +00:00
hooper114
71f3316f5b Fix another simple Code 128 bug (not enough room for text) 2008-10-15 21:00:10 +00:00
hooper114
3db0fa77e4 Add leading zeroes rather than fail 2008-10-12 21:05:53 +00:00
hooper114
437cfb823d Segmentation fault for little or no data 2008-10-09 11:29:09 +00:00
hooper114
844dfdebef Updated error handling 2008-10-05 05:51:58 +00:00
taipanromania
749d37721d warnings -- 2008-10-03 08:07:05 +00:00
taipanromania
8ff0df1491 better windows support 2008-09-26 11:39:06 +00:00
hooper114
938cd577e4 Added EAN-14 2008-09-19 09:02:52 +00:00
taipanromania
3b7c7895e7 compile without png 2008-09-17 18:24:15 +00:00
hooper114
031836ef3e Brought in line with Tbarcode 8 and removed errno. 2008-09-16 07:39:47 +00:00
hooper114
cde11c130c expanded for Aztec Code and Code 32 2008-09-02 19:41:14 +00:00
taipanromania
5230f54433 PDF_MAX --> option_3
if NO_PNG is defined don't compile PNG support
2008-07-18 14:43:30 +00:00
factor
52aa6fdb27 Initial revision 2008-07-13 21:15:55 +00:00