Robin Stuart
59116f689d
Add new symbology: Royal Mail Mailmark
2018-02-06 20:57:01 +00:00
Robin Stuart
37d3e60c3a
Allow lowercase input for VIN codes
2018-02-04 08:42:01 +00:00
Robin Stuart
e737f992b5
Add verification for North America VIN (Vehicle Identification Number)
2018-02-03 18:44:01 +00:00
Robin Stuart
38150ce931
Correctly add leading zeroes to Australia Post symbols
...
Bug fix by Erik Salaj <eriksalaj@gmail.com>
2018-02-03 11:41:35 +00:00
Robin Stuart
3aeb1ea70a
Make EAN and UPC symbols resizable in glabels in accordance with EN 797:1996
...
As requested by Sebastien Marie <semarie@online.fr>
2018-01-29 19:12:30 +00:00
Robin Stuart
0d4af7a462
Resolve further error message and warning idiosyncrasies
2018-01-21 18:10:42 +00:00
Robin Stuart
d2161ffb20
Make CLI errors more consistent
...
Should now output errors and warnings in a consistent and predictable fashion. This is not a neat solution, but functional for now.
2018-01-21 14:33:54 +00:00
Robin Stuart
ae57d413bf
UTF duplication error
...
Removes error duplicating UTF data when using ECI 26
2018-01-21 11:50:49 +00:00
Harald Oehlmann
7cb5eec35a
Fix -esc crash for windows
2018-01-14 17:47:02 +01:00
Robin Stuart
782a3a6f39
Include terminator in esc processed string
...
Attempts to fix #89 reported by Matt Johnson
2018-01-13 15:45:26 +00:00
Robin Stuart
670000b7ea
Improve wording of error 227
...
Fixes #87 reported by Ken Yap
2017-12-24 14:51:12 +00:00
Harald Oehlmann
9f50714b44
Added DMRE size 26x40
2017-12-19 19:00:33 +01:00
Robin Stuart
d7ac9cc00f
Enforce PostNet and PLANET lengths
...
Fix suggested by Milton Neal
2017-12-10 19:42:02 +00:00
Robin Stuart
1057bb9fa5
Fix free memory when not allocated
...
Bug fix by Alex Haley <ahaley@meditech.com>
2017-11-07 20:26:00 +00:00
Robin Stuart
58537edf0a
Remove debug message
2017-11-05 14:32:42 +00:00
Robin Stuart
ddce98a1bb
Correct processing of escape char mode
2017-11-05 14:27:01 +00:00
Boris Zentner
31cc0ae78a
Remove spaces before EOL
2017-10-25 17:23:57 +01:00
Boris Zentner
45441a6da7
Fix mixed unix / windows EOL
2017-10-25 17:15:35 +01:00
Harald Oehlmann
4b03bccba0
Make compile with MS-VC and set release version 2.6.2 in various files
...
Attention: qtzint.exe core dumpfs for me
2017-10-23 17:07:30 +02:00
Robin Stuart
73c9b502b5
Update version to 2.6.2
...
Plus some tidying up in preperation for new release
2017-10-22 12:39:37 +01:00
Robin Stuart
29dbb49325
Add escape sequence support to GUI
...
Also ensures that CR/LF formatted files remain unaltered when importing
Fixes #72 reported by Siniša Sudec
2017-10-22 10:55:50 +01:00
Robin Stuart
0314ca65a8
Move escape character processing into library
...
And expand to include all 8-bit values.
2017-10-21 12:45:50 +01:00
Jojakim Stahl
aa64c55787
Height / width adjustment for certain symbologies with fixed requirements must be done before calculating the scaler
2017-10-18 11:40:20 +02:00
Jojakim Stahl
2b79940d33
Fixed rendered->height calculation for EAN like barcodes
2017-10-18 11:40:20 +02:00
Jojakim Stahl
3bbc188217
Fixed bug introduced in bfb183e5df
with utf8 input be trucated at length - 3
2017-10-18 11:40:20 +02:00
Jojakim Stahl
6b1421b895
Fixed general_rules declaration in composite.c after refactor in commit [4963a7]
2017-10-18 11:40:20 +02:00
Jojakim Stahl
0a913ad9e3
Adding hexagon height to zint_render_hexagon
2017-10-18 11:40:20 +02:00
Jojakim Stahl
c7d6256a6e
Free symbol->rendered structures on ZBarcode_Clear and repeated calls of ZBarcode_Render
2017-10-18 11:40:19 +02:00
Robin Stuart
50cbbe391b
Merge /u/srachner/zint/ branch master into master
...
https://sourceforge.net/p/zint/code/merge-requests/4/
2017-10-17 16:49:05 +00:00
Harald Oehlmann
f83e5b1501
Make compile with MS-VC6
2017-10-16 19:26:54 +02:00
Sebastian Rachner
20ccbcd4e4
Check compiler before including malloc.h
2017-10-15 12:29:46 +02:00
Robin Stuart
bfb183e5df
Strip BOM from Unicode input data
...
Fixes #76 , reported by Shmupsik
2017-10-09 19:59:02 +01:00
Robin Stuart
4dd31fb674
Reallign bullseye in Maxicode
...
Centre of bullseye in Maxicode symbols drifted from desired position
when printing scale was increased. Affects raster plotted images (BMP, GIF etc.).
Changes how centre position of bullseye is calculated.
2017-10-09 11:17:11 +01:00
Robin Stuart
5bc7399252
Fix problems encoding binary in Aztec mode
...
Bugs found by John Mortlock
Fixes #71
2017-10-04 05:05:58 +01:00
Robin Stuart
4c1c180fbf
Protect DotCode from dimensions smaller than 5
2017-09-30 17:14:45 +01:00
Robin Stuart
411f083f57
Fix Aztec grid population error
...
Resolves X-Y coord flipping reported by John Mortlock
Fixes #70
2017-09-30 13:09:21 +01:00
Rodrigo Torres
4963a772db
Refactor
2017-09-11 19:21:33 +01:00
Robin Stuart
1882d76b70
Update version to 2.6.1
2017-08-27 09:31:02 +01:00
Robin Stuart
86a0071f09
Show correct ECC in function information
2017-08-14 07:47:50 +01:00
Robin Stuart
1ca01e9322
Make data types for tables consistent across symbologies
...
..and reduce library binary size slightly
2017-08-09 09:13:37 +01:00
Robin Stuart
50ec72527b
Minor tweaks, no change of function
2017-08-07 08:37:02 +01:00
Robin Stuart
1f503f2aca
Dedupe error correction code in Aztec
2017-08-06 09:10:00 +01:00
Robin Stuart
608b4b9134
Audit of error codes
2017-07-27 16:01:53 +01:00
Robin Stuart
e81a90bb58
Avoid SIGSEGV on Code 128 input too long
2017-07-26 11:44:47 +01:00
Robin Stuart
24f175b6f6
Flag if DM_SQUARE is used at the same time as symbol size selection
2017-07-26 11:16:54 +01:00
oxy
2e6fb6a109
compile error fixed
2017-07-24 13:44:27 +01:00
oxygenic
91f66ec57d
backported
2017-07-24 13:44:27 +01:00
oxygenic
d8330f5d96
back-merged
2017-07-24 13:44:27 +01:00
Robin Stuart
8ca1329fcf
Allow ECI 26 in Unicode mode
2017-07-23 18:04:58 +01:00
Robin Stuart
451f0150d8
Expand ECI support and enforce binary mode when ECI is set
2017-07-23 17:59:51 +01:00
Robin Stuart
d818d1aecc
Improved Aztec Code bit compression
...
Somewhat fixes #30 reported by Francois Grieu
2017-07-21 17:56:36 +01:00
Julien Nabet
3257a5c0af
cppcheck: fix reports
...
[backend/bmp.c:133]: (error) Memory leak: bitmap
[backend/bmp.c:126]: (error) Memory leak: bitmap
[backend/composite.c:464]: (error) Array index -1 is out of bounds.
[backend/composite.c:507]: (error) Array index -1 is out of bounds.
[backend/dmatrix.c:962]: (style) Redundant condition: i!=0. 'i==0 || (i!=0 && binary[i-1]!='b')' is equivalent to 'i==0 || binary[i-1]!='b''
[backend/raster.c:122]: (error) Memory leak: rotated_pixbuf
[backend/raster.c:506]: (error) Memory leak: pixelbuf
[frontend/main.c:273]: (error) Uninitialized variable: format_string
[frontend_qt/exportwindow.cpp:103]: (style) Array index 'j' is used before limits check.
2017-07-01 09:49:47 +01:00
Robin Stuart
0d6716a773
Add method for dynamically checking version info
...
Suggestion by aragon@phat.za.net for python-zint
2017-07-01 09:06:47 +01:00
Robin Stuart
6306228fed
Remove unnecessary debug code
2017-06-18 13:03:25 +01:00
Robin Stuart
a085bca168
Revion of ECI number encoding
2017-06-18 13:00:22 +01:00
Robin Stuart
c0e95684a9
Reduce size of Code 49 bit pattern table (no change of functionality)
2017-06-10 10:45:42 +01:00
Robin Stuart
17be0440cc
Review of data types to reduce memory usage (no change of functionality)
2017-06-10 10:08:27 +01:00
Robin Stuart
3f7f909644
Simplify PDF binary handling, remove TTF array (no change of functionality)
2017-06-09 22:00:22 +01:00
Robin Stuart
dd2f9e65ba
Further tweaks to binary conversion in QR Code
2017-06-06 21:31:03 +01:00
Robin Stuart
47a64047af
Harmonise binary conversion and expand ECI support in QR Code
2017-06-06 21:11:11 +01:00
Robin Stuart
241bcedaa1
Remove unnecessary estimate of binary bitlength
2017-06-05 20:05:58 +01:00
Robin Stuart
30272dd955
Use more accurate guess of bit length when calculating smallest available version
...
Fixes #66 , Bug report by jthie
2017-06-05 19:17:22 +01:00
Robin Stuart
7b53fc3469
Include version information in UPNQR symbols
...
Fixes #65 , Bug report by Primož Cerar
2017-05-30 08:40:08 +01:00
Robin Stuart
ffcfe965d1
Merge Update Visual Studio sln
...
Code by Cosmic Marc https://sourceforge.net/u/cosmarc/
cd65154a36
/
Fixes https://sourceforge.net/p/zint/code/merge-requests/2/
2017-05-29 11:11:04 +01:00
Robin Stuart
b3a1b24d18
help the compiler create more efficient code
...
Patch from Michael <virtual_worlds@gmx.de>
Full text: As usual I have modified only minor things to remove warnigs when compiled as C++ code, have added some const-specifiers where possible to help the compiler create more efficient code and added some static-specifiers to make functions invisible to other modules.
2017-05-29 10:43:47 +01:00
Cosmin Marc
cd65154a36
Update gitignore.
...
Add to libzint.vcxproj missing files.
Fix missing include in emf.c.
Add x64 configuration.
Change paths to point to extern folder for external libs(lipbng, zlib).
Updated version in rc file.
2017-05-25 20:17:43 +03:00
Robin Stuart
b46bc1f45e
Accept UFT-8 input data for UPNQR
2017-05-21 09:20:03 +01:00
Robin Stuart
b426877a4f
Add new symbology UPNQR
2017-05-20 23:37:50 +01:00
Robin Stuart
847fa6f332
Update DotCode to latest draft (April 24, 2017)
2017-05-19 21:30:31 +01:00
Robin Stuart
a1327cbd0d
Bugfix: Insertion of unlatch character in EDIFACT mode will unlatch immediately, not at the end of the 24-bit block
...
Fixes #60 , Ref: ISO para 5.2.8.2.
Bug report thanks to ice4x800@sf
2017-05-14 18:46:43 +01:00
Robin Stuart
4c8de6399f
Deduplicate GB18030 lookup table
2017-05-14 14:43:49 +01:00
Robin Stuart
6d5fcd14f8
Merge branch 'master' of ssh://git.code.sf.net/p/zint/code
2017-05-14 08:15:55 +01:00
Robin Stuart
19c3755ed0
Simplify conversion to binary with common function
...
No change to functionality
2017-05-14 08:15:08 +01:00
Harald Oehlmann
c52032acb2
Update win c6 makefile and tcl backend to version 2.6.0
2017-05-12 14:16:59 +02:00
Robin Stuart
19ba8a34c4
Update to version 2.6.0 and update copyright to 2017
2017-05-11 21:14:38 +01:00
Robin Stuart
eef59d150e
Prevent control characters from corrupting SVG
...
Bug fix by Maikel Houthuijzen
2017-05-11 20:15:10 +01:00
Robin Stuart
1ec0873caa
Extend Unicode support in Han Xin to Supplementary planes (>= U+10000)
2017-04-23 20:15:50 +01:00
Robin Stuart
92f02c8a67
Kanji works better if data is read to symbol :)
2017-04-21 20:38:19 +01:00
Robin Stuart
a8077535b2
Correct Kanji processing in QR Code
...
Bugfix by Milton Neal <miltonneal@bigpond.com>
2017-04-21 19:55:17 +01:00
Robin Stuart
6f4610aa98
Add verbose mode to output debug info without recompiling
2017-04-11 10:05:38 +01:00
Robin Stuart
5acbffff0d
Consistently throw an error if data does not fit in specified size symbol
...
See ticket #57
2017-04-11 09:26:39 +01:00
Robin Stuart
1ac5298190
Perform calculations on real rather than estimated binary length...
...
...and get correct values for ECC encoding from table D1.
Bugfixes by Milton Neal
2017-04-10 08:06:53 +01:00
Harald Oehlmann
f7753564cf
Codablock: Code A/B character set change corrected
2017-04-03 11:47:39 +02:00
Harald Oehlmann
7494a241ca
Bug fix for Ticket 56: Codablock F: [StartA] was coded as [StartA][SHIFT] resulting in wrong Code and illegal memory access to wrong Code128 pattern
2017-03-30 15:23:14 +02:00
Harald Oehlmann
6bc50a943c
Delete to rectangular DMRE formats 24x32, 24x36, 26x32, 26x40 which will probably not be in ISO/IEC 21741
2017-03-29 19:48:44 +02:00
Harald Oehlmann
480e514754
Make bakcend/dotcode.c, emf.c and tif.c compile with MS-VC6
2017-03-28 18:06:08 +02:00
Robin Stuart
939d4de4f0
Enforce height of PDF417 rows
...
Fixes #55 , Bugfix by Galen Rice
2017-03-17 17:08:50 +00:00
Boris Zentner
eb1d246a4d
The backend/library should not print error messages.
...
Just return the error in errtxt.
2017-03-11 08:39:22 +00:00
Boris Zentner
22e06ee05a
Test only the current row. Do not check bits outside of the barcode or in the next row.
2017-03-11 08:39:10 +00:00
Robin Stuart
7bbb7072b4
Allow X in Telepen Numeric
...
Bugfix by Milton Neil
2017-03-04 10:00:03 +00:00
Robin Stuart
b2123f78a3
Update PZN to new (as of 2013) PZN-8 standard
...
Bug fix by Milton Neil
2017-03-04 07:44:32 +00:00
Robin Stuart
726fb64c02
Fix typo in mixed mode string
...
Bug report by Milton Neil
2017-02-25 07:56:20 +00:00
Robin Stuart
cddf469ac6
Allow encoding HT FS GS RS and CRLF in code set B
...
Bug reported by Milton Neil <miltonneal@bigpond.com>
2017-02-19 00:09:24 +00:00
Robin Stuart
6a69e97dfe
Improved pad character handling routine
...
Bugfix and code by Milton Neil <miltonneal@bigpond.com>
2017-02-18 22:17:49 +00:00
Boris Zentner
81cadc3cf9
Fix buffer over run, source is similar to local_source but smaller.
...
So it might be possible to find a plus character in random data behind source.
2017-02-14 19:08:34 +00:00
Boris Zentner
45633751ee
Fix of by one error and check only data. Not the zero at the end.
2017-02-14 19:08:20 +00:00
Robin Stuart
025a485ddf
Pad only with character 109 when finishing in binary mode
...
Bug report by Milton Neil
2017-02-14 18:01:48 +00:00
Robin Stuart
a77e448df5
Correctly determine symbol size accoding to section 5.2.2
...
Bug fix by Milton Neil <miltonneal@bigpond.com>
2017-02-14 11:04:58 +00:00
Boris Zentner
319c7791bc
Fix of by one error in maxi_text_process
2017-01-26 19:44:20 +00:00
Robin Stuart
ecb10e6b7d
Don't initialise roots beyond end of field
...
AKA don't use code from draft standards without testing it!
Bug reported by Christian Sakowski
2017-01-22 19:12:11 +00:00
Robin Stuart
f4852b11a8
Calculate addresses correctly if last TIFF strip is full
2016-12-31 10:44:09 +00:00
Robin Stuart
ec8cfcbb76
Add TIFF output option
2016-12-30 20:25:58 +00:00
Robin Stuart
d1e406b7d2
Add enhanced metafile format (EMF) support
2016-12-23 16:48:03 +00:00
Robin Stuart
e7858dfe98
Add version information to zint.h and increment release version
...
Relates to #51
2016-12-10 09:04:06 +00:00
Robin Stuart
6115a3f8b6
Avoid trying to encode non-EDIFACT characters in EDIFACT mode
...
Bug report by brunt, revokes commit [dc3626], tickets #44 and #50
2016-11-26 20:10:51 +00:00
Robin Stuart
0dc3b60c2b
Counteract inaccuracy of float values in look ahead test
...
Bug report by brunt, ticket #49
2016-11-26 13:58:54 +00:00
Robin Stuart
08aefa6aea
Include string terminator when keeping track of b256 encoded characters
...
bug report and patch by brunt, ticket #48
2016-11-26 11:38:00 +00:00
Robin Stuart
1d503c54fe
Unlatch EDIFACT encodation when buffer is empty
...
bug report and patch by brunt, ticket #46
2016-11-26 11:28:43 +00:00
Robin Stuart
6af035ba98
Unlatch X12 encodation when there are 2 codewords left in the buffer
...
bug report by brunt, ticket #45
2016-11-26 11:18:37 +00:00
Robin Stuart
dc36261030
Force unlatch from EDIFACT on illegal character
...
Bug report and patch by brunt, ticket #44
2016-11-26 09:00:41 +00:00
Robin Stuart
1155683be1
Include last input character in look ahead test
...
Bug and patch by brunt, ticket #43
2016-11-26 08:44:59 +00:00
Robin Stuart
b003627908
Interpret 4-bit codewords as big-endian for error correction
...
affects microQR symbol sizes M1 and M3
bug reported by Milton Neal
2016-11-25 22:21:30 +00:00
Robin Stuart
658cdd7a69
Check for too many codewords after remainder in 144x144 symbols
...
Bug report and patch by brunt, ticket #42
2016-11-25 20:50:35 +00:00
Robin Stuart
886e789090
Add unlatch if C40/Text buffer is empty
...
also don't read binary marker beyond end of input
Relates to #38 and #41
2016-11-22 22:03:28 +00:00
Robin Stuart
a0493a0d0c
Force flush of last two C40 or Text values in buffer
...
Relates to #38
2016-11-22 20:24:33 +00:00
Robin Stuart
4ea35b9082
Revert last commit, and use more standard compliant solution
2016-11-19 10:16:10 +00:00
Robin Stuart
1d4cead56e
Handle partial C40 or Text buffer properly when using Shift characters
...
Relates to ticket #38 created by Brunt
2016-11-17 22:32:06 +00:00
Robin Stuart
a1fd5bd832
Malloc declaration needed for Visual Studio
2016-11-05 21:06:58 +00:00
Robin Stuart
5992bbf6e5
Malloc declaration needed for Visual Studio
2016-11-05 16:46:24 +00:00
Boris Zentner
b13645fd16
Remove non standard #include <malloc.h>
2016-10-30 20:00:09 +00:00
Robin Stuart
184fb71fe5
[PATCH] Remove non standard #include <malloc.h>
2016-10-30 17:43:10 +00:00
Boris Zentner
8851884ea1
Clear symbol->text without a constant.
2016-10-30 17:41:56 +00:00
Boris Zentner
02c0df93e6
sym->row_height is 200 now clear it more reliable.
2016-10-30 17:41:50 +00:00
Boris Zentner
696b99b1d2
Fix typos
2016-10-30 17:41:21 +00:00
Boris Zentner
1911b28865
Fix off by one error in code_49
2016-10-30 17:10:40 +00:00
Boris Zentner
63a252a573
Remove superfluous code
2016-10-30 17:10:36 +00:00
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
Boris Zentner
9553e96f8a
Fix of by one errors when searching from right to left.
2016-10-30 17:10:12 +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
796af2580f
Make MaxiCode scalable in raster files
2016-10-27 17:50:10 +01:00
Robin Stuart
54c0a858ea
Don't include empty strings in output SVG
2016-10-27 13:47:32 +01:00
Robin Stuart
20c4509ecd
Set fixed row height in Codablock-F
2016-10-27 13:33:19 +01:00
Robin Stuart
5402264ad9
Alterations based on feedback from Wang Yi
2016-10-27 12:35:53 +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
cfda2067b1
Improved handling of partial row data
...
Bug reported by Edgard Lima and fixed by Milton Neal
2016-10-15 10:54:23 +01:00
Robin Stuart
dd80371b17
Enforce DataBar height restrictions
2016-10-14 18:56:49 +01:00
Robin Stuart
d6a1008ae7
Plot pixel buffer the right way up
2016-10-14 16:08:03 +01:00
Robin Stuart
d3b6c9ec07
Remove typo from Grid Matrix codeword dividing table
...
Bugfix by brunt, Fixes #34
2016-10-09 15:01:16 +01:00
Robin Stuart
ee12f3569b
Correction to special case row handling GS1-DataBar Stacked
2016-10-09 14:10:39 +01:00
Robin Stuart
f145680739
Revoke changes made to pixel buffering in API
2016-10-02 10:45:47 +01:00
Robin Stuart
f8b56002c9
Improved processing of CC-C
2016-09-25 11:09:20 +01:00
Harald Oehlmann
a752f2583f
Codablock F:
...
- Fixed crash for negative planed column count.
- Use a square-symbol if no dimensions given, starting at 9 planed characters
2016-09-20 23:19:31 +02:00
Robin Stuart
9eff5cc63a
Allow adjustment of dot size when in dotty mode
2016-09-18 14:09:58 +01:00
Robin Stuart
b13efe334a
Slight code reduction - use loops when converting to or from binary
2016-09-17 18:22:26 +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
Harald Oehlmann
343b3b873e
Silence nondefined compiler warnings
2016-09-13 08:16:51 +02:00
Robin Stuart
16511da26d
Improved rendering of seperator bars for Codablock-F
2016-09-12 21:47:40 +01:00
Harald Oehlmann
7b4009d19f
Fixed bugs: C128 arbitrary data, C128 wrong checksum
2016-09-12 15:49:17 +02:00
Harald Oehlmann
2cf489eac2
Make compile with MS-VC6
2016-09-12 13:24:18 +02:00
Robin Stuart
7ae2e68396
Typo--
2016-09-11 08:47:34 +01:00
Robin Stuart
e0402ba434
Consolidate raster image rotation and colour sanity checks
2016-09-11 08:42:31 +01:00
Robin Stuart
71a30a9031
pack structures in portable fashion, now creates valid bitmap headers for Windows
2016-09-10 18:35:45 +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
8d3abf8440
Suppress warnings for uninitialized values
2016-09-04 16:35:11 +01:00
Robin Stuart
d86ac40b20
Plot Codablock symbols to file and in Studio
2016-09-04 11:04:41 +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
Harald Oehlmann
e6ff154543
Codablock F C128 Codeword generation implemented
2016-08-31 16:29:21 +02:00
Robin Stuart
e862bf076c
Trying to keep multiple machines synchronised really sucks!
2016-08-29 18:46:52 +01:00
Robin Stuart
f89167c30b
Bugfix: Allocate sufficient memory for larger data strings
2016-08-29 18:45:58 +01:00
Robin Stuart
f0d8bb82dc
Merge branch 'master' of ssh://git.code.sf.net/p/zint/code
2016-08-28 16:39:13 +01:00
Robin Stuart
8ccde8ad67
Allow DotCode output in EPS
2016-08-28 16:38:02 +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
085ec8477c
Add framework for Codablock
2016-08-24 19:39:39 +01:00
Robin Stuart
4e13b0e95d
Add framework for Codablock
2016-08-24 19:37:49 +01:00
Harald Oehlmann
b527245a5f
Merge branch 'master' of ssh://git.code.sf.net/p/zint/code
2016-08-22 19:08:39 +02:00
Harald Oehlmann
50a48c1294
Silence signed compiler warnings
2016-08-22 19:08:00 +02:00
Robin Stuart
94733dd5f5
Bugfix: increase ECC if there is capacity
...
Bug found by Michael
2016-08-22 18:07:27 +01:00
Harald Oehlmann
3893f6f158
Make compile with MSVC6++
2016-08-22 18:58:32 +02:00
Robin Stuart
eedb4c638a
Expand symbol memory to allow biggest Han Xin without crashing
2016-08-21 21:58:38 +01:00
Robin Stuart
2e11b5f8d3
Bugfix: Crash on setting option_2 for DotCode
...
Bug report by Michael
2016-08-19 18:22:16 +01:00
Robin Stuart
3b366bbbd2
Stop crashing with large DotCode symbols
2016-08-17 17:22:31 +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
498fd4151d
Add dot (circle) plotting for raster (PNG/GIF/PCX/BMP) images
2016-08-08 23:18:55 +01:00
Robin Stuart
30b8bebf82
Remove compiler warnings
2016-08-07 21:00:27 +01:00
Robin Stuart
d7fd2dc584
Remove autogenerated makefiles
2016-08-07 20:39:26 +01:00
Robin Stuart
8029dec9c7
Merge Dotcode
2016-08-07 20:28:56 +01:00
Robin Stuart
674a491a56
Dotcode: Add custom height setting and format code
2016-08-07 20:11:51 +01:00
Robin Stuart
0c5f9191e6
DotCode: Place data in symbol and evaluate bitmask
2016-08-06 22:03:36 +01:00
Harald Oehlmann
08c88e85d2
Added gif output
2016-07-28 20:58:33 +02:00
Harald Oehlmann
3939a1ae54
Make compile with MSVC6 (no C99 compatibility)
2016-07-28 10:32:46 +02:00
Robin Stuart
70fb17fcb4
DotCode: Calculate masks and Reed-Solomon error bytes
2016-07-27 12:18:53 +01: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
804ca24aca
Correct bizarre use of isX12()
...
Bug spotted by Milton Neal
2016-07-25 22:46:26 +01:00
Robin Stuart
118caf10ea
Silence debug output
2016-07-23 19:22:12 +01:00
Robin Stuart
b968073d71
--typo
2016-07-23 19:17:53 +01:00
Robin Stuart
7eaa82bfa1
Improved PCX algorithm, uses less memory
2016-07-23 19:14:57 +01:00
Robin Stuart
babeaec41d
Add ZSoft PCX image file output
2016-07-23 15:08:55 +01:00
Robin Stuart
7e3a56815f
Correct header info
2016-07-22 17:21:40 +01:00
Robin Stuart
c35378acc5
Bugfix: EDIFACT unlatch character not needed for all symbols
...
Ref: ISO 16022 para 5.2.8.2
Bug reported by Daniel Yang
2016-07-22 16:42:39 +01:00
Robin Stuart
8f7cc8d8b1
Remove error in file descriptor
2016-07-19 23:09:08 +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
6dcc6af817
Make bitmap size available to API
2016-07-18 20:22:56 +01:00
Robin Stuart
75384ca009
Add bitmap (BMP) file support
...
And upgrade symbol->bitmap structure to reflect BMP format
Based on work by Adrian Keller
2016-07-18 20:14:56 +01:00
Robin Stuart
e39d2ff915
Add dot mode (experimental)
...
First step towards solution for ticket #29
2016-07-12 15:00:25 +01:00
Harald Oehlmann
188cfcdd1f
Compile MS-VC6 compatible: only define variables after "{" or at top
2016-07-04 12:08:08 +02:00
Robin Stuart
caa4bb913f
Don't add descriptor to EPS and SVG if text is supressed
2016-06-19 14:29:39 +01:00
Robin Stuart
507071cf9c
Add CMYK colourspace option for EPS
...
Requested by Joe Bedard
Ref #22
2016-06-19 14:14:30 +01:00
Robin Stuart
e0240c8e2e
Add bold text option for PNG
...
Fixes #26
Code patch by Christoph Scharenberg
2016-06-19 12:32:49 +01:00
Robin Stuart
d2774af120
Correctly format EAN and UPC without text
...
EAN and UPC should have a standard compliant format even without text
Fixes #27
2016-06-19 11:59:09 +01:00
Robin Stuart
c709b08da5
Merge branch 'hanxin'
...
Add new symbology Han Xin according to AIMD-015:2010
Implementation may change when this becomes an ISO standard.
2016-06-19 09:14:52 +01:00
Robin Stuart
55b33cfb88
Han Xin: Comment possible errors in AIMD-015
2016-06-19 09:07:50 +01:00
Robin Stuart
032dee1e0e
Han Xin: Add Chinese character (GB18030) modes
2016-05-01 22:10:50 +01:00
Robin Stuart
044b827fff
Set default start mode (remove compiler warning)
2016-04-30 14:22:23 +01:00
Robin Stuart
45ce52df25
Display smalltext correctly
...
Bugfix by C. Scharenberg (Ticket #21 )
2016-04-30 12:35:26 +01:00
Robin Stuart
4ae120ab35
Han Xin: Add user options (Version and ECC level)
2016-04-30 10:25:16 +01:00
Robin Stuart
8eb5525c8c
Han Xin: Add function information
2016-04-23 15:26:51 +01:00
Robin Stuart
4c7fb647d0
Han Xin: Evaluate and apply bitmask
2016-04-20 20:44:59 +01:00
Robin Stuart
fd0f041f19
Han Xin: Add error correction and codeword interlace
2016-04-16 12:57:45 +01:00
Robin Stuart
7831bda722
Han Xin: Select symbol size and divide binary data into codewords
2016-04-10 20:36:57 +01:00
Robin Stuart
64396488e8
Han Xin: Plot finder and alignment patterns
2016-04-09 17:01:21 +01:00
Robin Stuart
a5440244c4
Han Xin - Add Numeric mode, Text mode and Binary byte mode encoding
2016-04-07 22:30:37 +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
5ec95153a0
Populate map for Aztec codes
...
Ref #17 from hoky24
2016-04-06 09:35:36 +01:00
Harald Oehlmann
90407bffce
Removed include malloc.h for all non-Windows so FreeBSD compiles.
...
Removed include of sys/malloc.h for APPLE, probably not used.
Ticket #18
2016-04-03 22:33:01 +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
Harald Oehlmann
0a034fd5ea
Re-replace ceilf() by ceil().
...
ceilf is better but is C99 which is not supported by my MS-VC6 cpmpiler.
I also suppose, we loose friends if we will rely on C99 features.
If someone has a solution to test if ceilf() exists and use it in this case, I have no troubble, but we need a fall-back.
2016-03-02 11:05:22 +01:00
Robin Stuart
4fb0bb96d9
Bugfix: buffer overrun and mode switch in general field
...
Ref ticket #15
Bugfix by Vitaly
2016-02-29 20:54:20 +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
Harald Oehlmann
372994d794
Add Data Matrix Rectangular Extension (DMRE) in regular distribution
...
- add define "DM_DMRE 101" to zint.h as option_3 value
- add option "-dmre" to command line
- add ckeckbutton "Activate DMRE in automatic mode" to qzint
- make dmatrix.c/dmatrix.h aware of option_3 value DM_DMRE and include DMRE in automatic mode
- Use version 2.5 everywere (as already started by Robin)
- common test case for DMRE in automatic mode is numeric input data with 48 digits, which should lead to a symbol of size 8x64
2016-02-27 21:26:52 +01:00
Harald Oehlmann
0d7ee10ef5
Avoid type definition outside of blocks to be VC6 compatible.
2016-02-24 08:42:15 +01:00
Robin Stuart
7d6050bd3b
Allocate memory in Visual Studio friendly way
2016-02-23 19:33:21 +00:00
Robin Stuart
9372aa4e48
Remove int declarations in for loops for Visual Studio
2016-02-23 19:21:48 +00:00
Robin Stuart
cc69851da7
Update developer info
2016-02-22 19:07:09 +00:00
Robin Stuart
65ce7ecc82
Remove dead code
2016-02-20 14:47:11 +00:00
Robin Stuart
6b0b69eb4f
Simplify font.h
2016-02-20 14:38:40 +00:00
Robin Stuart
660d8148bd
Code format and audit, part 3
...
Update copyright info, remove unused code, etc.
2016-02-20 11:29:19 +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
77cdf77690
Code format and audit, part 1
...
Update copyright info, remove unused code, etc.
2016-02-20 09:38:03 +00:00
Robin Stuart
ae335b104a
Alter 'dump' option to give hexadecimal output
2016-02-18 23:23:31 +00:00
Robin Stuart
653105b81d
Improved data compression algorithm for QR Code
2016-02-18 12:17:50 +00:00
Robin Stuart
001a0a88d9
Revised data mask scoring
...
Revision of 4 tests from Table 11, reflecting clarification given in ISO/IEC 18004:2015
2016-02-17 20:31:50 +00:00
Robin Stuart
97a7afa246
Update GS1 Composite name
...
Code now checked against ISO/IEC 24723:2010
2016-02-17 14:33:17 +00:00
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
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