mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-22 19:36:05 +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,57 +1,12 @@
|
||||
<?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="836" height="382" 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="836" height="382" fill="#FFFFFF" />
|
||||
<rect x="96.00" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="110.40" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="124.80" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="148.80" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="163.20" y="48.00" width="14.40" height="240.00" />
|
||||
<rect x="192.00" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="201.60" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="216.00" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="244.80" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="254.40" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="278.40" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="292.80" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="307.20" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="316.80" y="48.00" width="19.20" height="240.00" />
|
||||
<rect x="345.60" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="360.00" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="374.40" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="393.60" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="412.80" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="427.20" y="48.00" width="14.40" height="240.00" />
|
||||
<rect x="456.00" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="465.60" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="475.20" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="494.40" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="518.40" y="48.00" width="19.20" height="240.00" />
|
||||
<rect x="547.20" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="561.60" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="571.20" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="585.60" y="48.00" width="19.20" height="240.00" />
|
||||
<rect x="609.60" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="624.00" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="638.40" y="48.00" width="14.40" height="240.00" />
|
||||
<rect x="657.60" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="676.80" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="700.80" y="48.00" width="14.40" height="240.00" />
|
||||
<rect x="720.00" y="48.00" width="4.80" height="240.00" />
|
||||
<rect x="729.60" y="48.00" width="9.60" height="240.00" />
|
||||
<rect x="0.00" y="0.00" width="835.20" height="48.00" />
|
||||
<rect x="0.00" y="288.00" width="835.20" height="48.00" />
|
||||
<rect x="0.00" y="48.00" width="48.00" height="240.00" />
|
||||
<rect x="787.20" y="48.00" width="48.00" height="240.00" />
|
||||
<text x="417.60" y="369.60" text-anchor="middle"
|
||||
font-family="Helvetica, sans-serif" font-size="33.6" >
|
||||
This Text
|
||||
</text>
|
||||
</g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="836" height="382" 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="836" height="382" fill="#FFFFFF"/>
|
||||
<path d="M96 48h9.6v240h-9.6ZM110.4 48h4.8v240h-4.8ZM124.8 48h4.8v240h-4.8ZM148.8 48h9.6v240h-9.6ZM163.2 48h14.4v240h-14.4ZM192 48h4.8v240h-4.8ZM201.6 48h4.8v240h-4.8ZM216 48h9.6v240h-9.6ZM244.8 48h4.8v240h-4.8ZM254.4 48h4.8v240h-4.8ZM278.4 48h9.6v240h-9.6ZM292.8 48h4.8v240h-4.8ZM307.2 48h4.8v240h-4.8ZM316.8 48h19.2v240h-19.2ZM345.6 48h4.8v240h-4.8ZM360 48h9.6v240h-9.6ZM374.4 48h9.6v240h-9.6ZM393.6 48h9.6v240h-9.6ZM412.8 48h9.6v240h-9.6ZM427.2 48h14.4v240h-14.4ZM456 48h4.8v240h-4.8ZM465.6 48h4.8v240h-4.8ZM475.2 48h9.6v240h-9.6ZM494.4 48h4.8v240h-4.8ZM518.4 48h19.2v240h-19.2ZM547.2 48h4.8v240h-4.8ZM561.6 48h4.8v240h-4.8ZM571.2 48h4.8v240h-4.8ZM585.6 48h19.2v240h-19.2ZM609.6 48h4.8v240h-4.8ZM624 48h4.8v240h-4.8ZM638.4 48h14.4v240h-14.4ZM657.6 48h9.6v240h-9.6ZM676.8 48h9.6v240h-9.6ZM700.8 48h14.4v240h-14.4ZM720 48h4.8v240h-4.8ZM729.6 48h9.6v240h-9.6ZM0 0h835.2v48h-835.2ZM0 288h835.2v48h-835.2ZM0 48h48v240h-48ZM787.2 48h48v240h-48Z"/>
|
||||
<text x="417.6" y="369.6" text-anchor="middle" font-family="Helvetica, sans-serif" font-size="33.6">
|
||||
This Text
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user