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
044b827fff
Set default start mode (remove compiler warning)
2016-04-30 14:22:23 +01:00
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
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
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
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
77cdf77690
Code format and audit, part 1
...
Update copyright info, remove unused code, etc.
2016-02-20 09:38:03 +00:00
0c42a2473e
Revert to UNIX style EOL
2016-02-17 10:52:48 +00:00
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
a57001d2ad
Improved 'look ahead test' from Annex P
2016-02-13 07:37:24 +00:00
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
c120ca49dd
DM: Do not double macro character postfix <RS><EOT>
2016-01-04 18:37:34 +01:00
779894b671
Ticket 12: if(done = 0) corrected
2016-01-04 18:27:53 +01:00
216eb6c993
Removed DMRE Format 12x48 as it requires special placement algorithm
2015-08-18 14:54:01 +02:00
b7f9a7a6e4
Changed comment list for placement extension usage matrix sizes
2015-08-18 14:51:40 +02:00
c86ba22170
Activated row placement wrap-around at the bottom in placement algorithm
2015-08-18 14:50:37 +02:00
4dc096cd67
Corrected DMRE direct creation with -vers
2015-08-18 14:49:35 +02:00
30c8df3269
(Patch by Milton Neal) C40/X12 encodation ending rule implemented (may lead to smaller codes)
2015-08-18 14:48:03 +02:00
bf687fc409
Same functionality but IMHO nicer because special handling only at one place
2015-08-18 14:38:11 +02:00
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
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
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
0a36297ae3
DM ECC200 Use GS (ASCII 29) beside "[" as FNC1 separator flag character
2015-08-18 14:08:00 +02:00
8bf4d5906a
Implemented DM ECC200 Macro 05/06 encodation
2015-08-18 14:06:06 +02:00
1c0066baa9
DMRE: Datamatrix with extended rectangular formats
2015-08-18 13:53:55 +02:00
d27db1f6e0
unlatch before single ASCII character is required when leaving text encodation. fix for previous revision
2013-05-28 16:23:53 +02:00
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
1a7863520b
license changed with permission of original copyright holders (see mailing list for details)
2013-05-16 19:26:38 +02:00
1d241cca05
code cleanup and minor fixes
2012-12-31 14:41:59 +01:00
bf2dbe7494
code reworked
2012-12-29 19:37:03 +01:00
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
f56b90fb61
Remove temporary code
...
Remove test code accidentally left in during commit!
2010-10-24 16:28:23 +01:00
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
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
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
a348bb22e5
Bugfixes for Code 128 and Data Matrix encoding. Remove Codablock-F
2010-02-27 08:33:07 +00:00
1ff9c0d472
Add corrections from tgotic
2009-10-06 19:03:00 +00:00
04b9a99241
API overhaul part 1: removal of nullchar
2009-09-29 09:45:46 +00:00
f48a8603e8
MSVC corrections thanks to Norbert Szabó
2009-08-06 19:44:30 +00:00
776154d3fe
MSVC corrections thanks to Norbert Szabó
2009-08-06 18:48:42 +00:00
6c631bf282
Remove MSVC compile bugs
2009-06-11 20:37:47 +00:00
38051c8dc1
Bug fix: Does not detect automatic size option
2009-06-07 09:44:51 +00:00
55a18653b3
Correction to size selection non-ECC200
2009-06-04 07:02:55 +00:00
b65cd26527
Merge Windows platform patches by tgotic
2009-06-02 20:23:38 +00:00
cb0e4e27e8
Converted zint_symbol structure usage to a more compressed format
2009-05-31 20:33:54 +00:00
f7060fc642
Brand new Data Matrix encoding engine!
2009-01-31 00:44:39 +00:00
a98fe56ca8
SIGSEGV--
2009-01-08 08:44:39 +00:00
7763292cf7
Allow resizing of DM89 symbols
2009-01-05 21:22:12 +00:00
8bb378ed25
Make Data Matrix retry if data doesn't fit in specified symbol size.
2009-01-04 22:39:38 +00:00
6ae8a7d0d8
Syncronize QZint
2008-11-18 08:52:43 +00:00