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
14d1140d09
CODABLOCKF: prevent cols > 62; fix pTestList buffer overflow
...
RMQR: update to new draft ISO/IEC JTC1/SC31N000 (Draft 2019-6-24);
allow for righthand vertical timing pattern in populate_grid()
ULTRA: update max size and min cols based on BWIPP 2021-07-14 update
backend_tcl/zint_tcl.dsp: use /MD instead of /MT for tcl lib compat;
change include/lib path to more standard one
manual.txt: highlight that rMQR is still in development
GUI: use cross-platform smaller font func instead of explicit values for notes
2021-08-10 12:04:25 +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
a312cd8e8e
raster/output: use new isfintf() to test floats integral (CodeQL)
2021-06-30 11:57:21 +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
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
00e8cb0904
Add whitespace_height to zint_symbol (vertical whitespace)
2021-05-25 20:42:26 +01:00
gitlost
29d761c795
MAXICODE: Rejig raster output to more closely match ISO 16023:2000
2021-05-16 16:34:42 +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
5187f2226d
MAXICODE: fix shifting from sets C/D/E to A/B (only latch available)
2021-03-28 21:31:45 +01:00
gitlost
badd9e59ad
Fix UPCEAN small font ignored/disabled (introduced [1adba1])
2021-03-19 00:12:13 +00:00
gitlost
484bd6e19a
CLI: Handle UTF-8 args on Windows; -b <barcode name>
2021-01-20 21:15:03 +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
44923349f3
PDF417/raster: performance large data; common.h inline, module_colour_is_set(); #209
2020-11-01 18:32:55 +00:00
gitlost
943ba79866
AZTEC: fix bit-stuffing; AZTECRUNE: fix >= 128; DATAMATRIX: eod shift -> 0 pad; Qt6
2020-10-26 12:21:43 +00:00
gitlost
36c19053d7
vector.c: string halign; POSTNET/PLANET: 1 module space; ZBarcode_Cap(); GUI settings
2020-09-30 12:19:12 +01:00
gitlost
5a272d17ce
raster: reduce UPCEAN letter_gap to 4 (too close to guards at 5)
2020-09-14 23:24:49 +01:00
gitlost
1adba12fce
raster: fix text not scaling for half_int_scaling; UPCEAN font
2020-09-13 13:37:15 +01:00
Git Lost
09e6d09e6b
Merge /u/gitlost/zint/ branch out_buffer_intermediate into master
...
https://sourceforge.net/p/zint/code/merge-requests/84/
2020-08-12 19:07:56 +00:00
Robin Stuart
20f767c4b6
Force white squares (not same as bgcolour) in Ultracode
2020-08-12 12:19:26 +01:00
gitlost
50ecc5bbe4
raster: #197 OUT_BUFFER_INTERMEDIATE fix memory leak (caught by clang-tidy)
2020-08-12 11:20:24 +01:00
gitlost
d063263432
raster: #197 OUT_BUFFER_INTERMEDIATE output option
2020-08-11 16:11:38 +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
121f89581b
raster/vector: revert to floats for performance, doubles ([2a19b8]) unnecessary
2020-08-09 20:20:16 +01:00
Robin Stuart
42e866c889
Make alpha channel available in direct plotting
2020-08-03 07:53:54 +01:00
Robin Stuart
47cac63e7f
Add alpha channel support and --nobackground option
...
Alpha channel for PNG and SVG and option to remove background from EMF
2020-08-02 22:26:39 +01:00
gitlost
18e3b41e0f
#201 raster/vector: bind/box check border_width > 0
2020-07-31 22:56:41 +01:00
gitlost
7c4ddcfc52
raster: fix scaling, broken by [2a19b8]
2020-07-20 12:06:14 +01:00
gitlost
52d08fd9b9
#191 clang-tidy reduce NOLINTs using asserts, remove DeadStores
2020-07-19 10:31:12 +01:00
gitlost
dd2bdb4335
CODE128: hrt always UTF-8; CODE128/EXCODE39/CODE93: blank same NUL/ctrl/DEL chars
2020-07-19 00:13:03 +01:00
gitlost
020a125de6
raster: fix UTF-8 hrt, restoring to_latin1(), broken by [2a19b8]
2020-07-18 09:15:54 +01:00
gitlost
2a19b883a5
UPC/EAN, ITF14: quiet zones, addongap; raster/vector: sync code, use double
2020-07-15 19:00:12 +01:00
gitlost
6242e02638
CODEONE/ULTRA overrun fixes; TELEPEN fixes; CODEONE/LOGMARS/VIN/CODABAR options; GUI updates; tests
2020-06-04 18:45:25 +01:00
gitlost
8131471573
Last commit 7be63a messed up raster/vector text offset with border_width set - fix
2020-05-23 00:31:22 +01:00
gitlost
7be63a00b6
CODE16K fixes; separator default 1; raster/vector.c quiet_zones, output.c; #191
2020-05-21 18:22:28 +01:00
gitlost
8dcd09406c
CODABLOCKF and CODE128 fixes; row separator height option_3; #191
2020-05-16 10:22:33 +01:00
gitlost
2189201e95
raster.c: #191 suppress clang-tidy warnings
2020-04-28 22:19:32 +01:00
Harald Oehlmann
f23e13b09d
Add error message when PNG is called but disabled on compile time.
2020-04-07 18:39:02 +02:00
Robin Stuart
0d26948baa
Merge branch Ultra
2020-04-06 17:05:22 +01:00
gitlost
2d0b966de6
CODABLOCKF inter-row bindings too short fix; -Wextra; tests
2020-04-03 19:40:59 +01:00
Robin Stuart
52214c5a1c
Change bitmap signedness to allow conversion to other data types
...
Buffered bitmap array should have been type unsigned char not type char
Includes change to manual
In response to (and hopefully fixing) #182 reported by Marcelo Antunes
2020-03-29 13:42:33 +01:00
Robin Stuart
5861ad3c3b
Ultra: Extend colour support to PNG PCX BMP and TIF
...
Implementation needs improvement, but colour output is now achieved in most formats
2020-01-06 20:01:48 +00:00
gitlost
fa9af12fc6
raster.c: check bounds on calculating block width for UPCA
2019-12-19 00:59:51 +00:00
gitlost
bca82ecc0d
libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST
2019-12-19 00:37:55 +00:00
gitlost
793a990c01
EANX/UPCA/UPCE_CHK handling + various raster/vector fixes; ISBNX add-ons
2019-11-11 21:38:21 +00: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
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
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