Add whitespace_height - remove DEBUG from tcl; manual.txt input_mode

This commit is contained in:
gitlost 2021-05-26 13:10:34 +01:00
parent 00e8cb0904
commit ba273b40dd
2 changed files with 7 additions and 6 deletions

View File

@ -688,7 +688,6 @@ static int Encode(Tcl_Interp *interp, int objc,
/*------------------------------------------------------------------------*/
/* >>> Prepare zint object */
my_symbol = ZBarcode_Create();
my_symbol->debug = ZINT_DEBUG_PRINT;
my_symbol->input_mode = UNICODE_MODE;
my_symbol->option_3 = 0;
/*------------------------------------------------------------------------*/

View File

@ -776,8 +776,9 @@ normal squares by using the --dotty option. This option is only available for
matrix symbologies, and is automatically selected for DotCode. The size of
the dots can be adjusted using the --dotsize= option followed by the radius
of the dot, where that radius is given as a multiple of the X-dimension. The
minimum dot size is 0.01, the maximum is 20. The default and minimum scale for
raster output in dotty mode is 1.
minimum dot size is 0.01, the maximum is 20.
The default and minimum scale for raster output in dotty mode is 1.
4.15 Help options
-----------------
@ -862,7 +863,6 @@ int main(int argc, char **argv)
{
struct zint_symbol *my_symbol;
my_symbol = ZBarcode_Create();
my_symbol->input_mode = UNICODE_MODE;
ZBarcode_Encode(my_symbol, argv[1], 0);
ZBarcode_Print(my_symbol, 0);
ZBarcode_Delete(my_symbol);
@ -877,13 +877,13 @@ int main(int argc, char **argv)
{
struct zint_symbol *my_symbol;
my_symbol = ZBarcode_Create();
my_symbol->input_mode = UNICODE_MODE;
ZBarcode_Encode_and_Print(my_symbol, argv[1], 0, 0);
ZBarcode_Delete(my_symbol);
return 0;
}
Input data should be Unicode (UTF-8) formatted.
Note that when using the API, the input data is assumed to be Latin-1 or binary
unless the input_mode field is set - see section 5.9 for details.
5.3 Encoding and Printing Functions in Depth
--------------------------------------------
@ -1338,6 +1338,8 @@ GS1PARENS_MODE | Parentheses (rounded brackets) used in input data instead of
| (parentheses must not otherwise occur in the data).
------------------------------------------------------------------------------
The default mode is DATA_MODE.
DATA_MODE, UNICODE_MODE and GS1_MODE are mutually exclusive, whereas ESCAPE_MODE
and GS1PARENS_MODE are optional. So, for example, you can set