1
0
Fork 0
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:
gitlost 2025-03-09 02:08:41 +00:00
parent 0d1f878661
commit 64fd01c73f
11 changed files with 371 additions and 322 deletions
backend

View file

@ -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,