Commit graph

749 commits

Author SHA1 Message Date
Robin Stuart
be9e2fd87a Allow PDF to latch into numeric compaction
Logic error prevented numeric compaction in PDF417 and MicroPDF417
Fixes #155 reported by Michelle Dupuis
2019-09-04 21:34:20 +01:00
Robin Stuart
f2262f2616 Reinstate height adjustment for PDF
Allows height adjustment of PDF417 and MicroPDF417 symbols.
Fixes #161 reported by 'DigitalResident'
2019-09-03 19:53:01 +01:00
Robin Stuart
833877fb2f Remove Maxicode segfault bug
Missing punctuation causes Maxicode plotting in raster image to segfault
2019-09-02 20:25:17 +01:00
Harald Oehlmann
5c5bf9f635 Merge /u/gitlost/zint/ branch microqr_version_option into master
https://sourceforge.net/p/zint/code/merge-requests/10/
2019-09-02 12:20:00 +00:00
gitlost
c5b03f665a Fix microqr version option out-by-one 2019-09-02 11:43:14 +01:00
Harald Oehlmann
40aab7908b 2018-08-30 2.6.5 HaO Set version to 2.6.5 2019-09-02 12:37:01 +02:00
Harald Oehlmann
b5aaf308a3 2019-09-01 Codemonkey82 Draw Maxicode bullseye for scale = 0.5 Ticket #119 (Commit correction) 2019-09-02 12:05:08 +02:00
Harald Oehlmann
b86a7e6560 2019-09-01 Codemonkey82 Draw Maxicode bullseye for scale = 0.5 Ticket #119 2019-09-02 11:26:30 +02:00
gitlost
251a7d99c4 New files 2019-09-01 21:09:47 +01:00
gitlost
d76cdd615b Fixes for eci, binary div, upce, other 2019-09-01 20:23:15 +01:00
Harald Oehlmann
89c2ee6f1d 2019-09-01 HaO maxicode sizeof issue fixed by Christian Schmitz 2019-09-01 18:14:21 +02:00
Harald Oehlmann
6949143419 2018-08-30 2.6.4 HaO Set version to 2.6.4 2019-08-30 19:18:14 +02:00
Harald Oehlmann
0a55f5839e 2018-08-30 HaO Change DMRE from AIM standard to ISO/EC29158 DMRE (not backward compatible) 2019-08-30 18:41:58 +02:00
Harald Oehlmann
efa4a8f435 2018-08-30 HaO Maxicode "input to long" error. Backport from okapi by Remi. Ticket #148 2019-08-30 16:40:44 +02:00
Harald Oehlmann
cb3eea2ba0 2018-08-30 HaO Implemented GS separator for Datamatrix (--gssep option). Ticket #139 2019-08-30 16:14:17 +02:00
Robin Stuart
ca24105ca0 Add placeholder for Ultracode 2019-03-21 09:14:24 +00:00
Harald Oehlmann
7239d2249c Merge /u/schnider/zint/ branch master into master
https://sourceforge.net/p/zint/code/merge-requests/8/
2019-03-20 16:28:33 +00:00
Robin Stuart
1debb132af Revert last change
This functionality already exists - note to self: read code thoroughly before committing
2019-03-18 19:36:03 +00:00
Robin Stuart
b531abf9b4 Try to protect from malformed colours 2019-03-18 17:36:36 +00:00
Roman Schnider
dcf0cbef97 Enhanced data length checks for GS1 data
Brought up to date with revision 19 of the GS1 General Specifications
2019-03-18 17:24:07 +01:00
Robin Stuart
32b6bbaf0e Plot hexagons in Maxicode even when scale < 1.0
Fixes #119 reported by codemonkey82
2019-03-16 15:47:08 +00:00
Robin Stuart
a6c93f1989 Recognise spaces as valid mode 2 character
Fixes #116 reported by Grzegorz Krukar
2019-03-15 19:15:47 +00:00
Robin Stuart
0738c3fa2f Fix format info grid initialization typo
Fixes #108 reported by Daniel Gredler
2019-03-15 17:54:12 +00:00
Robin Stuart
b3c03b4769 Fix EOF bug in EMF output
Bug reported by 与 忘 <ly_xy@outlook.com>
2019-03-14 11:02:17 +00:00
Harald Oehlmann
d96079a327 Comment spelling corrected 2019-02-08 17:38:49 +01:00
Harald Oehlmann
cbd4610d0c Ticket [125]: set type of text_height and text_offset to float as they are only used as such and one is multiplied by 0.8. In addition, silence all compiler warnings about possible data loss due to int->float and double->float conversions 2019-02-02 19:42:02 +01:00
Harald Oehlmann
dc2e0b35a6 2018-01-07 HaO Make compile with MS-VC2017 [Ticket 135] 2019-01-07 11:03:37 +01:00
Harald Oehlmann
eda3f4b114 Chnaged formatting and set "git config core.autocrlf false" to avoid warning that it will be transformed to crlf. No idea what it does. 2018-12-12 10:09:17 +01:00
Harald Oehlmann
934d2d8bc8 Ticket 132: add targets to mingw makefile. git wants to transform lf line endings in crlf, don't know why... 2018-12-12 09:56:12 +01:00
Harald Oehlmann
9684bdb556 Ticket 134: do some CMake corrections told to be ok by the ticket author. No test by me. 2018-12-12 09:37:56 +01:00
Harald Oehlmann
cdc7778880 Ticket #109: rename datastream in fullstream, as this is the name of the more global variable 2018-11-02 10:33:18 +01:00
Harald Oehlmann
5c00c7893e Make it compile with MS-VC6++ 2018-11-02 09:09:38 +01:00
Robin Stuart
58398bc754 Enforce length of GSRN
Fixes #115 reported by Daniel Gredler
2018-07-05 21:45:11 +01:00
Robin Stuart
c83bea4ae0 Enforce maximum length of document type identifier
Fixes #113 reported by Daniel Gredler
2018-07-05 21:27:26 +01:00
Robin Stuart
951209331a Set max coupon code length to 70
Fixes #112 reported by Daniel Gredler
2018-07-05 21:22:27 +01:00
Robin Stuart
2642a418b9 Ensure maxium error correction capacity in QR Code
Fixes #107 reported by Daniel Gredler
2018-06-21 00:03:55 +01:00
Robin Stuart
628078021b Fix typo in estimating lenth of binary data in QR Code
Fixes #106 reported by Daniel Gredler
2018-06-20 23:48:32 +01:00
Robin Stuart
23a990c37c Ensure ECI encoding doesn't corrupt binary data in Data Matrix
Fixes #105 reported by Daniel Gredler
2018-06-20 23:47:06 +01:00
Robin Stuart
8fcde380f8 Increase character count for percentages in alphanumeric mode 2018-06-20 23:07:48 +01:00
Robin Stuart
04b08eb39c Allocate more memory for percentages in Alphanumeric mode in QR Code
Fixes #104 reported by Daniel Gredler <sdanig@users.sourceforge.net>
2018-06-20 03:38:50 +01:00
Robin Stuart
91d933adb7 Select symbol with unforced corners if none meets threshold 2018-06-20 00:40:36 +01:00
Robin Stuart
053c83d036 Implement new mask grading with forced corners in Dot Code 2018-06-20 00:10:30 +01:00
Robin Stuart
7409399438 Correct reader init bug in Code 128 2018-06-19 21:14:02 +01:00
Robin Stuart
3ed1b5692f Adjust vector border to place bottom border above text 2018-06-19 03:56:44 +01:00
Robin Stuart
656c8132a8 Use internal vector format in Qt backend 2018-06-18 02:36:40 +01:00
Robin Stuart
30fcd7986c Plot vector graphics using linked list structure
Simplifies the implementation of individual vector graphic file formats
2018-06-10 09:16:18 +01:00
Robin Stuart
dddf2934fc Allow escape character processing
Fixes #101 reported by Martin Zizka
Converts \xNN characters > 0x7c to UTF-8 if appropriate
Removes some redundant legacy code
2018-04-22 14:25:39 +01:00
Robin Stuart
909e307636 Prevent latch to incorrect mode when GTIN starts with 9
Fixes #97 reported by Karl Karlsson
2018-04-18 20:24:21 +01:00
Robin Stuart
e749872e7d Resolve Visual Studio compatability bugs
Includes bugfix for Item ID calculation in Mailmark as reported by Milton Neal
2018-04-09 21:46:20 +01:00
Harald Oehlmann
3853897d88 Do not apply rect/dmre options if concrete size is given. E.g. "zint -b72 --vers 31" will ignore eventual option "--square or --dmre". 2018-04-08 20:20:56 +02:00
Robin Stuart
68fdae09c3 Prevent possible buffer overrun
Spotted by Milton Neal
2018-04-06 10:50:19 +01:00
Robin Stuart
75803e8aa2 Enhanced data length checks for GS1 data
Brought up to date with revision 18 of the GS1 General Specifications
Enhancement suggested by Roman Schnider <r.schnider@cab.de>
2018-03-30 18:46:33 +01:00
Robin Stuart
e6618f1a1b Allow escape character processing in batch mode
Suggested by Martin Zizka, Fixes #96
2018-03-30 11:40:44 +01:00
Robin Stuart
9a5e5f3a9a Rename variable to avoid keyword in VS 2018-03-30 09:46:54 +01:00
Robin Stuart
57075248ff Remove error correction bug for Australia Post symbols
Bug found by Milton Neal <miltonneal@bigpond.com>
2018-03-15 19:17:34 +00:00
Robin Stuart
749eb55321 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code
Thanks to work being done at SF!
2018-02-15 10:47:59 +00:00
Robin Stuart
ffd1ed2d6b Update version number to 2.6.3 2018-02-15 10:46:02 +00:00
Robin Stuart
8bd26f5e83 Open EMF files in binary mode 2018-02-13 18:32:26 +00:00
Harald Oehlmann
ee763cb135 Do not free _alloca data 2018-02-13 16:53:12 +01:00
Robin Stuart
fa3c150610 Force TIFF to always use more than one strip 2018-02-11 13:01:43 +00:00
Robin Stuart
78d85bd72e Add font size option for SVG and EPS 2018-02-11 09:55:28 +00:00
Robin Stuart
8bb4d2ce86 Improved binary multiplication for large numbers 2018-02-11 08:00:32 +00:00
Robin Stuart
f655eabc12 Add trailing spaces to Mailmark if not present in input data 2018-02-10 07:26:33 +00:00
Robin Stuart
389bcce10f Add Royal Mail Mailmark to front end 2018-02-09 20:55:17 +00:00
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