mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-22 19:25:10 -04: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:
parent
0d1f878661
commit
64fd01c73f
11 changed files with 371 additions and 322 deletions
backend
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue