1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-07 20:17:06 +00:00

- Add text_gap option to allow adjustment of vertical gap between

barcode and text
- EMF/EPS/SVG/GUI: ignore BOLD_TEXT for EAN/UPC
- DAFT: up max to 250 chars
- EMF/EPS/SVG: fix addon bars placement/length when text hidden
- Qt backend: use `QFontMetrics::horizontalAdvance()` rather than
  `boundingRect()` to calc text width (seems to be more accurate)
- library: make printf/sprintf() format arg always literal string
- output: fix errtxt nos clash;
  use array for `out_upcean_split_text()` text parts
- raster/vector: smallify addon text printing logic
- frontend: warn if output file and direct options both given;
  add TODO note about `CommandLineToArgvW()` loading shell32.dll
- manual: put HRT options in own section
This commit is contained in:
gitlost
2023-02-10 14:44:10 +00:00
parent ab2abccdb6
commit 90293ebcda
167 changed files with 2706 additions and 1734 deletions

View File

@@ -1,13 +1,13 @@
<?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="330" height="112" version="1.1"
<svg width="330" height="113" 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="330" height="112" fill="#FFFFFF" />
<rect x="0" y="0" width="330" height="113" fill="#FFFFFF" />
<rect x="18.00" y="0.00" width="2.00" height="110.00" />
<rect x="22.00" y="0.00" width="2.00" height="110.00" />
<rect x="26.00" y="0.00" width="2.00" height="110.00" />
@@ -38,40 +38,40 @@
<rect x="196.00" y="0.00" width="2.00" height="110.00" />
<rect x="202.00" y="0.00" width="2.00" height="110.00" />
<rect x="206.00" y="0.00" width="2.00" height="110.00" />
<rect x="226.00" y="13.00" width="2.00" height="87.00" />
<rect x="230.00" y="13.00" width="4.00" height="87.00" />
<rect x="236.00" y="13.00" width="4.00" height="87.00" />
<rect x="244.00" y="13.00" width="4.00" height="87.00" />
<rect x="250.00" y="13.00" width="2.00" height="87.00" />
<rect x="256.00" y="13.00" width="2.00" height="87.00" />
<rect x="262.00" y="13.00" width="4.00" height="87.00" />
<rect x="268.00" y="13.00" width="2.00" height="87.00" />
<rect x="272.00" y="13.00" width="2.00" height="87.00" />
<rect x="282.00" y="13.00" width="2.00" height="87.00" />
<rect x="286.00" y="13.00" width="2.00" height="87.00" />
<rect x="290.00" y="13.00" width="2.00" height="87.00" />
<rect x="298.00" y="13.00" width="4.00" height="87.00" />
<rect x="304.00" y="13.00" width="2.00" height="87.00" />
<rect x="308.00" y="13.00" width="4.00" height="87.00" />
<rect x="318.00" y="13.00" width="2.00" height="87.00" />
<text x="8.00" y="111.50" text-anchor="end"
font-family="Helvetica, sans-serif" font-size="12.0" font-weight="bold" >
<rect x="226.00" y="12.28" width="2.00" height="87.72" />
<rect x="230.00" y="12.28" width="4.00" height="87.72" />
<rect x="236.00" y="12.28" width="4.00" height="87.72" />
<rect x="244.00" y="12.28" width="4.00" height="87.72" />
<rect x="250.00" y="12.28" width="2.00" height="87.72" />
<rect x="256.00" y="12.28" width="2.00" height="87.72" />
<rect x="262.00" y="12.28" width="4.00" height="87.72" />
<rect x="268.00" y="12.28" width="2.00" height="87.72" />
<rect x="272.00" y="12.28" width="2.00" height="87.72" />
<rect x="282.00" y="12.28" width="2.00" height="87.72" />
<rect x="286.00" y="12.28" width="2.00" height="87.72" />
<rect x="290.00" y="12.28" width="2.00" height="87.72" />
<rect x="298.00" y="12.28" width="4.00" height="87.72" />
<rect x="304.00" y="12.28" width="2.00" height="87.72" />
<rect x="308.00" y="12.28" width="4.00" height="87.72" />
<rect x="318.00" y="12.28" width="2.00" height="87.72" />
<text x="8.70" y="111.72" text-anchor="end"
font-family="Helvetica, sans-serif" font-size="12.0" >
6
</text>
<text x="72.00" y="111.50" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" font-weight="bold" >
<text x="74.00" y="111.72" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" >
14141
</text>
<text x="152.00" y="111.50" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" font-weight="bold" >
<text x="152.00" y="111.72" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" >
23441
</text>
<text x="218.00" y="111.50" text-anchor="start"
font-family="Helvetica, sans-serif" font-size="12.0" font-weight="bold" >
<text x="217.30" y="111.72" text-anchor="start"
font-family="Helvetica, sans-serif" font-size="12.0" >
7
</text>
<text x="274.00" y="10.50" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" font-weight="bold" >
font-family="Helvetica, sans-serif" font-size="14.0" >
12345
</text>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB