Commit Graph

207 Commits

Author SHA1 Message Date
15ae99ee11 Allow explicit ECI 3
Setting ECI to 3 now causes Zint to include ECI 3 in symbol, and allows entry of data formatted in ISO 8859_1
Fixes #127 requested by Harald Oehlmann
2019-10-06 17:39:54 +01:00
ff2ceea361 Allow selection of GS1 mode on GS1 symbols
Because some symbols require GS1 data, selecting GS1 mode for them would result in GS1 parsing being done twice, corrupting the data.
Fixes #165 reported by Gregory Van Vooren
2019-10-06 11:30:21 +01:00
faeb20dcd7 Don't stretch PDF unless expressly requested by user
Now default height is 50 only for linear symbols and those with linear component (such as GS1 composite)
Restores default behaviour changed by commit [f2262f]
2019-09-04 21:57:54 +01:00
d76cdd615b Fixes for eci, binary div, upce, other 2019-09-01 20:23:15 +01:00
ca24105ca0 Add placeholder for Ultracode 2019-03-21 09:14:24 +00:00
1debb132af Revert last change
This functionality already exists - note to self: read code thoroughly before committing
2019-03-18 19:36:03 +00:00
b531abf9b4 Try to protect from malformed colours 2019-03-18 17:36:36 +00:00
656c8132a8 Use internal vector format in Qt backend 2018-06-18 02:36:40 +01:00
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
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
e6618f1a1b Allow escape character processing in batch mode
Suggested by Martin Zizka, Fixes #96
2018-03-30 11:40:44 +01:00
78d85bd72e Add font size option for SVG and EPS 2018-02-11 09:55:28 +00:00
59116f689d Add new symbology: Royal Mail Mailmark 2018-02-06 20:57:01 +00:00
e737f992b5 Add verification for North America VIN (Vehicle Identification Number) 2018-02-03 18:44:01 +00:00
0d4af7a462 Resolve further error message and warning idiosyncrasies 2018-01-21 18:10:42 +00:00
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
7cb5eec35a Fix -esc crash for windows 2018-01-14 17:47:02 +01:00
782a3a6f39 Include terminator in esc processed string
Attempts to fix #89 reported by Matt Johnson
2018-01-13 15:45:26 +00:00
670000b7ea Improve wording of error 227
Fixes #87 reported by Ken Yap
2017-12-24 14:51:12 +00:00
58537edf0a Remove debug message 2017-11-05 14:32:42 +00:00
ddce98a1bb Correct processing of escape char mode 2017-11-05 14:27:01 +00:00
31cc0ae78a Remove spaces before EOL 2017-10-25 17:23:57 +01:00
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
0314ca65a8 Move escape character processing into library
And expand to include all 8-bit values.
2017-10-21 12:45:50 +01:00
3bbc188217 Fixed bug introduced in bfb183e5df with utf8 input be trucated at length - 3 2017-10-18 11:40:20 +02:00
c7d6256a6e Free symbol->rendered structures on ZBarcode_Clear and repeated calls of ZBarcode_Render 2017-10-18 11:40:19 +02:00
bfb183e5df Strip BOM from Unicode input data
Fixes #76, reported by Shmupsik
2017-10-09 19:59:02 +01:00
4963a772db Refactor 2017-09-11 19:21:33 +01:00
608b4b9134 Audit of error codes 2017-07-27 16:01:53 +01:00
e81a90bb58 Avoid SIGSEGV on Code 128 input too long 2017-07-26 11:44:47 +01:00
d8330f5d96 back-merged 2017-07-24 13:44:27 +01:00
8ca1329fcf Allow ECI 26 in Unicode mode 2017-07-23 18:04:58 +01:00
451f0150d8 Expand ECI support and enforce binary mode when ECI is set 2017-07-23 17:59:51 +01:00
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
6306228fed Remove unnecessary debug code 2017-06-18 13:03:25 +01:00
a085bca168 Revion of ECI number encoding 2017-06-18 13:00:22 +01:00
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
b426877a4f Add new symbology UPNQR 2017-05-20 23:37:50 +01:00
19ba8a34c4 Update to version 2.6.0 and update copyright to 2017 2017-05-11 21:14:38 +01:00
6f4610aa98 Add verbose mode to output debug info without recompiling 2017-04-11 10:05:38 +01:00
ec8cfcbb76 Add TIFF output option 2016-12-30 20:25:58 +00:00
d1e406b7d2 Add enhanced metafile format (EMF) support 2016-12-23 16:48:03 +00:00
8851884ea1 Clear symbol->text without a constant. 2016-10-30 17:41:56 +00:00
02c0df93e6 sym->row_height is 200 now clear it more reliable. 2016-10-30 17:41:50 +00:00
bfb4d3284b nRead is not used on error 2016-10-30 17:10:30 +00:00
7ca22f24a4 Remove superfluous code 2016-10-30 17:10:24 +00:00
4561a66067 Add identifiers to error messages
To ease the debug process
2016-10-28 22:40:40 +01:00
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
7ea03123c8 Set minimum row heights 2016-10-27 09:32:12 +01:00
a57ef2adc8 2016-10-26 HaO Extended HIBC string length to 112 (HIBC 2.6) 2016-10-26 19:34:21 +02:00