EAN/UPC: add quiet zone indicators option (API output_options
`EANUPC_GUARD_WHITESPACE`, CLI `--guardwhitespace`) (ticket #287) EAN-2/EAN-5: HRT now at top instead of at bottom for standalones, following BWIPP CLI: batch mode: don't close input if stdin EAN/UPC: fix excess 1X to right of add-ons Composites: fix excess whitespace; fix quiet zone calcs to allow for linear shifting CLI: use own (Wine) version of `CommandLineToArgvW()` to avoid loading "shell32.dll" Move "font.h" -> "raster_font.h" EPS/SVG: use new `out_putsf()` func to output floats, avoiding trailing zeroes & locale dependency EPS: simplify "TR" formula SVG: change font from "Helvetica, sans serif" to "OCR-B, monospace"; use single "<path>" instead of multiple "<rect>"s to draw boxes (reduces file size) Add `EMBED_VECTOR_FONT` to `output_options` (CLI `--embedfont`) to enable embedding of font in vector output - currently only for SVG output of EAN/UPC GUI: use "OCR-B" font for EAN/UPC and "Arimo" for all others (was "Helvetica" for both); paint background of screen preview light grey so as contrasts with whitespace and quiet zones EMF: prefix funcs with `emf_`; simplify string `halign` handling large: rename `large_int` -> `large_uint` CODE128/common: move `c128_hrt_cpy_iso8859_1()` to `hrt_cpy_iso8859_1()` and add `ZINT_WARN_HRT_TRUNCATED` warning (for future use) Various symbologies: replace `printf()` with `fputs()` (symbol->debug) QRCODE: better assert(), removing a NOLINT (2 left) CLI: add some more barcode synonyms for DBAR common: various fiddlings CMake: don't include png.c unless ZINT_USE_PNG (avoids clang warning)
BIN
backend/tests/data/png/ean13_2addon_ggs_5.2.2.5.1-2_gws.png
Normal file
After Width: | Height: | Size: 448 B |
BIN
backend/tests/data/png/ean13_5addon_ggs_5.2.2.5.2-2_gws.png
Normal file
After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 535 B |
BIN
backend/tests/data/png/ean13_cc_2addon_cca_4x4_gws.png
Normal file
After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 574 B |
BIN
backend/tests/data/png/ean13_cc_5addon_ccb_3x4_gws.png
Normal file
After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 235 B |
BIN
backend/tests/data/png/ean13_cc_cca_5x4.png
Normal file
After Width: | Height: | Size: 487 B |
BIN
backend/tests/data/png/ean13_cc_cca_5x4_gws.png
Normal file
After Width: | Height: | Size: 511 B |
BIN
backend/tests/data/png/ean13_ggs_5.2.2.1-1.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
backend/tests/data/png/ean13_ggs_5.2.2.1-1_gws.png
Normal file
After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 154 B |
BIN
backend/tests/data/png/ean2_gws.png
Normal file
After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 217 B |
BIN
backend/tests/data/png/ean5_gws.png
Normal file
After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
BIN
backend/tests/data/png/ean8_2addon_gws.png
Normal file
After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
BIN
backend/tests/data/png/ean8_5addon_gws.png
Normal file
After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 414 B |
BIN
backend/tests/data/png/ean8_cc_2addon_cca_4x3_gws.png
Normal file
After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 473 B |
BIN
backend/tests/data/png/ean8_cc_5addon_ccb_8x3_gws.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
backend/tests/data/png/ean8_gss_5.2.2.2-1.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
backend/tests/data/png/ean8_gss_5.2.2.2-1_gws.png
Normal file
After Width: | Height: | Size: 317 B |
BIN
backend/tests/data/png/upca_2addon_ggs_5.2.6.6-5_gws.png
Normal file
After Width: | Height: | Size: 464 B |
BIN
backend/tests/data/png/upca_5addon_gws.png
Normal file
After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 526 B |
BIN
backend/tests/data/png/upca_cc_2addon_cca_3x4_gws.png
Normal file
After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 581 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 243 B |
BIN
backend/tests/data/png/upce_2addon_gws.png
Normal file
After Width: | Height: | Size: 355 B |
BIN
backend/tests/data/png/upce_5addon_small_gws.png
Normal file
After Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 410 B |
BIN
backend/tests/data/png/upce_cc_2addon_cca_5x2_gws.png
Normal file
After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
BIN
backend/tests/data/png/upce_cc_5addon_ccb_8x2_gws.png
Normal file
After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 231 B |