mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-08 20:41:59 +00:00
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)
This commit is contained in:
@@ -1,120 +1,9 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="264" height="84" version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<desc>Zint Generated Symbol
|
||||
</desc>
|
||||
|
||||
<g id="barcode" fill="#000000">
|
||||
<rect x="0" y="0" width="264" height="84" fill="#FFFFFF" opacity="0.400" />
|
||||
<rect x="20.00" y="2.00" width="4.00" height="80.00" opacity="0.200" />
|
||||
<rect x="26.00" y="2.00" width="2.00" height="80.00" opacity="0.200" />
|
||||
<rect x="36.00" y="2.00" width="2.00" height="80.00" opacity="0.200" />
|
||||
<rect x="42.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="46.00" y="2.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="54.00" y="2.00" width="8.00" height="18.00" opacity="0.200" />
|
||||
<rect x="64.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="72.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="80.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="86.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="90.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="98.00" y="2.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="108.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="116.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="120.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="130.00" y="2.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="142.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="146.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="152.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="164.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="168.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="174.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="180.00" y="2.00" width="8.00" height="18.00" opacity="0.200" />
|
||||
<rect x="190.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="196.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="204.00" y="2.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="210.00" y="2.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="218.00" y="2.00" width="4.00" height="80.00" opacity="0.200" />
|
||||
<rect x="228.00" y="2.00" width="6.00" height="80.00" opacity="0.200" />
|
||||
<rect x="236.00" y="2.00" width="2.00" height="80.00" opacity="0.200" />
|
||||
<rect x="240.00" y="2.00" width="4.00" height="80.00" opacity="0.200" />
|
||||
<rect x="42.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="46.00" y="24.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="54.00" y="24.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="64.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="68.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="78.00" y="24.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="86.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="90.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="98.00" y="24.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="108.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="116.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="120.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="130.00" y="24.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="142.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="146.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="152.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="164.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="168.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="174.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="180.00" y="24.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="190.00" y="24.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="196.00" y="24.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="208.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="212.00" y="24.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="42.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="46.00" y="44.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="54.00" y="44.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="64.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="72.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="78.00" y="44.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="86.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="90.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="98.00" y="44.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="108.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="116.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="120.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="130.00" y="44.00" width="6.00" height="16.00" opacity="0.200" />
|
||||
<rect x="142.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="146.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="152.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="164.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="168.00" y="44.00" width="2.00" height="16.00" opacity="0.200" />
|
||||
<rect x="174.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="180.00" y="44.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="190.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="196.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="202.00" y="44.00" width="4.00" height="16.00" opacity="0.200" />
|
||||
<rect x="208.00" y="44.00" width="8.00" height="16.00" opacity="0.200" />
|
||||
<rect x="42.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="46.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="54.00" y="64.00" width="8.00" height="18.00" opacity="0.200" />
|
||||
<rect x="64.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="68.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="76.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="86.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="90.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="98.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="108.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="116.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="120.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="130.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="134.00" y="64.00" width="8.00" height="18.00" opacity="0.200" />
|
||||
<rect x="144.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="152.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="160.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="168.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="174.00" y="64.00" width="6.00" height="18.00" opacity="0.200" />
|
||||
<rect x="186.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="190.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="196.00" y="64.00" width="4.00" height="18.00" opacity="0.200" />
|
||||
<rect x="204.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="208.00" y="64.00" width="2.00" height="18.00" opacity="0.200" />
|
||||
<rect x="42.00" y="20.00" width="176.00" height="4.00" opacity="0.200" />
|
||||
<rect x="42.00" y="40.00" width="176.00" height="4.00" opacity="0.200" />
|
||||
<rect x="42.00" y="60.00" width="176.00" height="4.00" opacity="0.200" />
|
||||
<rect x="20.00" y="0.00" width="224.00" height="2.00" opacity="0.200" />
|
||||
<rect x="20.00" y="82.00" width="224.00" height="2.00" opacity="0.200" />
|
||||
</g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="264" height="84" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<desc>Zint Generated Symbol</desc>
|
||||
<g id="barcode" fill="#000000">
|
||||
<rect x="0" y="0" width="264" height="84" fill="#FFFFFF" opacity="0.4"/>
|
||||
<path d="M20 2h4v80h-4ZM26 2h2v80h-2ZM36 2h2v80h-2ZM42 2h2v18h-2ZM46 2h6v18h-6ZM54 2h8v18h-8ZM64 2h4v18h-4ZM72 2h4v18h-4ZM80 2h4v18h-4ZM86 2h2v18h-2ZM90 2h4v18h-4ZM98 2h6v18h-6ZM108 2h2v18h-2ZM116 2h2v18h-2ZM120 2h4v18h-4ZM130 2h6v18h-6ZM142 2h2v18h-2ZM146 2h4v18h-4ZM152 2h4v18h-4ZM164 2h2v18h-2ZM168 2h2v18h-2ZM174 2h4v18h-4ZM180 2h8v18h-8ZM190 2h4v18h-4ZM196 2h2v18h-2ZM204 2h2v18h-2ZM210 2h4v18h-4ZM218 2h4v80h-4ZM228 2h6v80h-6ZM236 2h2v80h-2ZM240 2h4v80h-4ZM42 24h2v16h-2ZM46 24h6v16h-6ZM54 24h8v16h-8ZM64 24h2v16h-2ZM68 24h4v16h-4ZM78 24h6v16h-6ZM86 24h2v16h-2ZM90 24h4v16h-4ZM98 24h6v16h-6ZM108 24h2v16h-2ZM116 24h2v16h-2ZM120 24h4v16h-4ZM130 24h6v16h-6ZM142 24h2v16h-2ZM146 24h4v16h-4ZM152 24h4v16h-4ZM164 24h2v16h-2ZM168 24h2v16h-2ZM174 24h4v16h-4ZM180 24h8v16h-8ZM190 24h4v16h-4ZM196 24h8v16h-8ZM208 24h2v16h-2ZM212 24h2v16h-2ZM42 44h2v16h-2ZM46 44h6v16h-6ZM54 44h8v16h-8ZM64 44h2v16h-2ZM72 44h4v16h-4ZM78 44h6v16h-6ZM86 44h2v16h-2ZM90 44h4v16h-4ZM98 44h6v16h-6ZM108 44h2v16h-2ZM116 44h2v16h-2ZM120 44h4v16h-4ZM130 44h6v16h-6ZM142 44h2v16h-2ZM146 44h4v16h-4ZM152 44h4v16h-4ZM164 44h2v16h-2ZM168 44h2v16h-2ZM174 44h4v16h-4ZM180 44h8v16h-8ZM190 44h4v16h-4ZM196 44h4v16h-4ZM202 44h4v16h-4ZM208 44h8v16h-8ZM42 64h2v18h-2ZM46 64h6v18h-6ZM54 64h8v18h-8ZM64 64h2v18h-2ZM68 64h6v18h-6ZM76 64h4v18h-4ZM86 64h2v18h-2ZM90 64h4v18h-4ZM98 64h6v18h-6ZM108 64h2v18h-2ZM116 64h2v18h-2ZM120 64h4v18h-4ZM130 64h2v18h-2ZM134 64h8v18h-8ZM144 64h6v18h-6ZM152 64h6v18h-6ZM160 64h4v18h-4ZM168 64h2v18h-2ZM174 64h6v18h-6ZM186 64h2v18h-2ZM190 64h4v18h-4ZM196 64h4v18h-4ZM204 64h2v18h-2ZM208 64h2v18h-2ZM42 20h176v4h-176ZM42 40h176v4h-176ZM42 60h176v4h-176ZM20 0h224v2h-224ZM20 82h224v2h-224Z" opacity="0.2"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 2.0 KiB |
Reference in New Issue
Block a user