mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-09 04:51:58 +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,77 +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="258" height="16" 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="258" height="16" fill="#FFFFFF" />
|
||||
<rect x="0.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="4.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="12.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="20.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="24.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="28.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="32.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="36.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="68.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="76.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="88.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="92.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="96.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="104.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="116.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="124.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="128.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="144.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="148.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="156.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="172.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="180.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="188.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="192.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="196.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="204.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="212.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="216.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="220.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="224.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="232.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="236.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="240.00" y="0.00" width="2.00" height="15.50" />
|
||||
<rect x="244.00" y="0.00" width="2.00" height="9.69" />
|
||||
<rect x="8.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="16.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="40.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="44.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="48.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="52.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="56.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="60.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="64.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="72.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="80.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="84.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="100.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="108.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="112.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="120.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="132.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="136.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="140.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="152.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="160.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="164.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="168.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="176.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="184.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="200.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="208.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="228.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="248.00" y="5.81" width="2.00" height="3.88" />
|
||||
<rect x="252.00" y="5.81" width="2.00" height="9.69" />
|
||||
<rect x="256.00" y="5.81" width="2.00" height="9.69" />
|
||||
</g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="258" height="16" 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="258" height="16" fill="#FFFFFF"/>
|
||||
<path d="M0 0h2v9.69h-2ZM4 0h2v15.5h-2ZM12 0h2v9.69h-2ZM20 0h2v15.5h-2ZM24 0h2v9.69h-2ZM28 0h2v9.69h-2ZM32 0h2v9.69h-2ZM36 0h2v15.5h-2ZM68 0h2v9.69h-2ZM76 0h2v9.69h-2ZM88 0h2v15.5h-2ZM92 0h2v9.69h-2ZM96 0h2v9.69h-2ZM104 0h2v15.5h-2ZM116 0h2v15.5h-2ZM124 0h2v9.69h-2ZM128 0h2v15.5h-2ZM144 0h2v9.69h-2ZM148 0h2v15.5h-2ZM156 0h2v15.5h-2ZM172 0h2v9.69h-2ZM180 0h2v15.5h-2ZM188 0h2v15.5h-2ZM192 0h2v9.69h-2ZM196 0h2v15.5h-2ZM204 0h2v15.5h-2ZM212 0h2v15.5h-2ZM216 0h2v15.5h-2ZM220 0h2v15.5h-2ZM224 0h2v15.5h-2ZM232 0h2v15.5h-2ZM236 0h2v15.5h-2ZM240 0h2v15.5h-2ZM244 0h2v9.69h-2ZM8 5.81h2v9.69h-2ZM16 5.81h2v9.69h-2ZM40 5.81h2v3.88h-2ZM44 5.81h2v9.69h-2ZM48 5.81h2v9.69h-2ZM52 5.81h2v3.88h-2ZM56 5.81h2v9.69h-2ZM60 5.81h2v9.69h-2ZM64 5.81h2v3.88h-2ZM72 5.81h2v3.88h-2ZM80 5.81h2v9.69h-2ZM84 5.81h2v9.69h-2ZM100 5.81h2v9.69h-2ZM108 5.81h2v9.69h-2ZM112 5.81h2v9.69h-2ZM120 5.81h2v3.88h-2ZM132 5.81h2v3.88h-2ZM136 5.81h2v9.69h-2ZM140 5.81h2v3.88h-2ZM152 5.81h2v3.88h-2ZM160 5.81h2v3.88h-2ZM164 5.81h2v9.69h-2ZM168 5.81h2v3.88h-2ZM176 5.81h2v3.88h-2ZM184 5.81h2v3.88h-2ZM200 5.81h2v9.69h-2ZM208 5.81h2v9.69h-2ZM228 5.81h2v3.88h-2ZM248 5.81h2v3.88h-2ZM252 5.81h2v9.69h-2ZM256 5.81h2v9.69h-2Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user