mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
- AZTEC/CHANNEL/CODABLOCKF/CODE16K/CODE49/CODEONE/DATAMATRIX/
DOTCODE/GRIDMATRIX/HANXIN/MICROPDF417/MICROQR/PDF417/QRCODE/
RMQR/ULTRA: set `option_1/2/3` to values used in encodation
("Feedback options"), and add new access methods
`encodedOption1()` etc. to Qt Backend, and use in GUI to provide
better feedback on "Automatic" selections
- AZTEC: give more precise warnings in low ECC situations, and
indicate via `option_1` by setting to -1 (min 3 words), 0
(<5% + 3 words) (`ecc_ratio`)
- set_height: fix non-compliance false positives by using epsilon
in checks (prompted by CODABLOCKF non-compliant warning for
zint-generated compliant height - floating point `rows` mult !=
`zero_count` div; one test regression for CODE93);
better warning messages on non-compliant heights (min/max)
- manual/man page: fix DATAMATRIX Sizes tables "28 12x26" ->
"27 12x26"
- GUI: AZTEC/CODEONE: add Zint versions to comboboxes
- DOTCODE: improve error messages re size too small/large
- ULTRA: better ZINT_TEST codeword dump (ZINT_DEBUG_TEST)
- general: various tabs -> spaces; prettify main .rc files;
trailing spaces; small amount of code fiddling (CODE16K)
This commit is contained in:
@@ -538,7 +538,7 @@ static const char help_message[] = "zint tcl(stub,obj) dll\n"
|
||||
/* cli option --data is standard parameter */
|
||||
" -dmiso144 bool: Use ISO format for 144x144 Data Matrix symbols\n"
|
||||
" -dmre bool: Allow Data Matrix Rectangular Extended\n"
|
||||
" -dotsize number: radius ratio of dots from 0.01 to 1.0\n"
|
||||
" -dotsize number: radius ratio of dots from 0.01 to 1.0\n"
|
||||
" -dotty bool: use dots instead of boxes for matrix codes\n"
|
||||
/* cli option --dump not supported */
|
||||
/* cli option --ecinos not supported */
|
||||
@@ -597,7 +597,7 @@ static const char help_message[] = "zint tcl(stub,obj) dll\n"
|
||||
"zint help\n"
|
||||
"zint version\n"
|
||||
;
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Exported symbols */
|
||||
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
|
||||
@@ -680,7 +680,7 @@ DLLEXPORT int Zint_Init (Tcl_Interp *interp)
|
||||
/*------------------------------------------------------------------------*/
|
||||
/* This procedure is called once per thread and any thread local data */
|
||||
/* should be allocated and initialized here (and not in static variables) */
|
||||
|
||||
|
||||
/* Create a flag if Tk is loaded */
|
||||
tkFlagPtr = (int *)ckalloc(sizeof(int));
|
||||
*tkFlagPtr = 0;
|
||||
@@ -1640,7 +1640,7 @@ static int Encode(Tcl_Interp *interp, int objc,
|
||||
if( 0 != ErrorNumber )
|
||||
{
|
||||
Tcl_SetObjResult(interp, Tcl_NewStringObj(my_symbol->errtxt, -1));
|
||||
}
|
||||
}
|
||||
if( ZINT_ERROR <= ErrorNumber )
|
||||
{
|
||||
/* >> Encode error */
|
||||
|
||||
Reference in New Issue
Block a user