mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
- composite/MAXICODE: set option_1/2 to values used in encodation
("Feedback options"), and for composites use in GUI to give
feedback on CC type automatically selected
- composite: warn if CC type upped from requested
- set_height: give up on giving minimal height in warning for now
as too messy to calc and just report too small
This commit is contained in:
@@ -668,6 +668,9 @@ INTERNAL int maxicode(struct zint_symbol *symbol, struct zint_seg segs[], const
|
||||
printf("Mode: %d\n", mode);
|
||||
}
|
||||
|
||||
/* Feedback options */
|
||||
symbol->option_1 = mode;
|
||||
|
||||
if (symbol->structapp.count) {
|
||||
if (symbol->structapp.count < 2 || symbol->structapp.count > 8) {
|
||||
return errtxtf(ZINT_ERROR_INVALID_OPTION, symbol, 558,
|
||||
|
||||
Reference in New Issue
Block a user