GUI: settings: fix embed_vector_font default 1 -> 0

manual: expand size/alpha details in Section "5.4 Buffering Symbols
  in Memory (raster)" (cf ticket #291);
  add BSD info (TODO: NetBSD);
  variable -> member (struct zint_symbol)
frontend: fix missing static on `validate_structapp()`
test suite: update to latest BWIPP (PDF417 needed adjusting)
Changelog: trim some more uninteresting changes
This commit is contained in:
gitlost 2023-07-12 19:00:17 +01:00
parent bbad6d3d83
commit d05373e7fc
10 changed files with 217 additions and 74 deletions

View file

@ -43,7 +43,7 @@
# elif defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wformat" /* Unfortunately doesn't seem to be way to only avoid non-ISO warnings */
# endif
#elif defined(_MSC_VER) || defined(__APPLE__) || __WORDSIZE == 32
#elif defined(_MSC_VER) || defined(__APPLE__) || defined(__OpenBSD__) || __WORDSIZE == 32
# define LX_FMT "ll"
#else
# define LX_FMT "l"

View file

@ -2778,7 +2778,8 @@ int testUtilBwipp(int index, const struct zint_symbol *symbol, int option_1, int
}
} else if (symbology == BARCODE_PDF417 || symbology == BARCODE_PDF417COMP || symbology == BARCODE_HIBC_PDF
|| symbology == BARCODE_MICROPDF417 || symbology == BARCODE_HIBC_MICPDF) {
for (r = 0; r < symbol->rows; r++) bwipp_row_height[r] = 1; /* Change from 3 */
const int row_height = symbology == BARCODE_MICROPDF417 || symbology == BARCODE_HIBC_MICPDF ? 2 : 3;
for (r = 0; r < symbol->rows; r++) bwipp_row_height[r] = row_height;
if (option_1 >= 0) {
sprintf(bwipp_opts_buf + strlen(bwipp_opts_buf), "%seclevel=%d",
strlen(bwipp_opts_buf) ? " " : "", option_1);