gitlost
4284f3c578
Add output_options BARCODE_QUIET_ZONES and BARCODE_NO_QUIET_ZONES
2021-09-24 13:21:24 +01:00
gitlost
4009c86c5f
UPC/EAN: Add guard_bar descent (guard_descent)
...
zint.h: Adjust field order to improve alignments; encoded_data 143 -> 144
2021-09-22 00:04:15 +01:00
gitlost
9bae0b86f9
- raster.c: Need ceilf(symbol->height * si) to avoid heap-buffer-overflow;
...
also avoid distributive multiplication with floats to lessen chances of
platform variation (#204 ARM-Cortex crash)
- raster.c: Don't allow for text if scale < 1.0
- raster.c: Cast some indexes to (size_t) to allow for large scale
- vector.c: Check malloc()s and return ZINT_ERROR_MEMORY on fail
- raster/vector.c: various var name changes & other code fiddling
- library.c: Check that scale/height/whitespace/border are reasonable values:
scale (0.01-100), height (0-500), whitespace_width/height (0-100),
border_width (0-100)
- CLI: allow both e.g. '-height' and '--height' (getopt_long_only())
- gif.c: fix GIF_ZLW_PAGE_SIZE -> GIF_LZW_PAGE_SIZE
- GUI: allow whitespace/scale to 100
2021-09-20 14:56:27 +01:00
gitlost
2e84fd5157
Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE
2021-07-13 17:39:03 +01:00
gitlost
3c1869b032
library: compat symbology 39 fix; ISBN: "X" check
...
WARN_FAIL_ALL: always return error: ZINT_ERROR_USES_ECI/NON_COMPLIANT
Fuller error messages; more comments zint.h
mainwindow.cpp: replace metaobject ENUM with array
(suppresses virtual in constructor warning)
2021-07-06 19:53:31 +01:00
gitlost
368633bda4
malloc/calloc: check for NULL always (11.1.0 gcc -fanalyzer -c backend/*.c)
...
ZBarcode_Encode: don't reinit symbol->outfile, props Alonso Schaich
frontend/test_args: skip long filename tests on Windows, props Alonso Schaich
2021-06-29 15:43:42 +01:00
gitlost
52c00e59ba
C25/DBAR: use new func gs1_check_digit() for common GS1 check digit calc
...
CODE11/CODE39/EXCODE39/CODE93/PZN/CHANNEL/VIN/DBAR/UPCEAN: fuller error messages
DATAMATRIX: look_ahead_test debug counts
DBAR: consolidate option_2 cols_per_row
CMakeLists.txt: restore -fno-var-tracking-assignments for gcc no DEBUG
overall: suppress various warnings on various configs
testcommon.c: clean-up
2021-06-27 11:47:55 +01:00
gitlost
70801d8932
tests: VC6 compatible; plot_raster_dotty: avoid float rounding difference
2021-06-23 15:00:49 +01:00
gitlost
c693482aa1
Change height and row_height array to floats; DAFT tracker ratio
2021-06-19 13:11:23 +01:00
gitlost
8ff15d805a
CODABAR: fix [69c1b4] errtxt; CLI: _WIN32, fuller error messages; win32/README: Administrat-or
2021-06-12 16:01:16 +01:00
gitlost
4a8cac2a5a
CODEONE/DATAMATRIX/MAILMARK/PLESSEY: fix some 32-bit/portability bugs
...
PLESSEY: add options NCR weighted mod-10, hide check digit(s) in HRT
test suite: now runnable under MSVC 2019, 2017, 2015, MinGW/MSYS
win32/README: update with MSVC 2019 and CMake instructions
2021-06-10 11:15:39 +01:00
gitlost
9b63e2ae22
DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages
2021-05-28 15:05:06 +01:00
gitlost
00e8cb0904
Add whitespace_height to zint_symbol (vertical whitespace)
2021-05-25 20:42:26 +01:00
gitlost
79d3c1dc7a
Add GS1PARENS_MODE (input_mode) to allow inputting GS1 AIs in parentheses
2021-05-15 12:23:46 +01:00
gitlost
f6bed3acb2
DOTCODE: Fix best_mask -> high_score prime test; manual mask
2021-01-22 18:07:59 +00:00
gitlost
484bd6e19a
CLI: Handle UTF-8 args on Windows; -b <barcode name>
2021-01-20 21:15:03 +00:00
gitlost
0b80592f87
escape_char_process: "\xNN" simple convert (reverts [dddf29]), "\uNNNN" BMP check
2021-01-15 14:22:32 +00:00
gitlost
bee5f08f50
#209 rss.c, composite.c; DBAR_EXP encodation methods; symbol NO_PNG out.gif
2020-12-21 19:30:07 +00:00
gitlost
f09826b9a4
ZBarcode_Encode_File: suppress gcc -fanalyzer warning, props Andre Maute; ZINT_MAX_FILE_LEN
2020-12-18 02:36:48 +00:00
gitlost
cd214addba
HANXIN: 0xFFE terminator; reedsol/AZTEC: stack-based; AZTEC/HANXIN/QR/GRIDMATRIX speedups; #209
2020-11-27 12:54:44 +00:00
gitlost
e37a82a8f1
Tabs/typo in zint.h; PostNet -> POSTNET; ui: shortcuts, tooltips; tests inkscape -> libreoffice
2020-10-03 22:51:08 +01:00
gitlost
6579efd271
raster: #197 optimize scaling for half-int vals, scale >= 0.5 only
2020-08-10 19:40:10 +01:00
gitlost
04593ebc85
frontend tests: retab test_args.c
2020-08-04 22:44:20 +01:00
gitlost
736bc76f66
command line: allow data/input args anywhere on line; frontend tests
2020-08-04 22:22:26 +01:00