- 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="238" height="112" version="1.1"
<svg width="238" 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="238" height="112" fill="#FFFFFF" />
<rect x="0" y="0" width="238" 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="28.00" y="0.00" width="2.00" height="100.00" />
@ -25,31 +25,31 @@
<rect x="110.00" y="0.00" width="2.00" height="110.00" />
<rect x="114.00" y="0.00" width="2.00" height="110.00" />
<rect x="118.00" y="0.00" width="2.00" height="110.00" />
<rect x="134.00" y="13.00" width="2.00" height="87.00" />
<rect x="138.00" y="13.00" width="4.00" height="87.00" />
<rect x="144.00" y="13.00" width="4.00" height="87.00" />
<rect x="152.00" y="13.00" width="4.00" height="87.00" />
<rect x="158.00" y="13.00" width="2.00" height="87.00" />
<rect x="164.00" y="13.00" width="2.00" height="87.00" />
<rect x="170.00" y="13.00" width="4.00" height="87.00" />
<rect x="176.00" y="13.00" width="2.00" height="87.00" />
<rect x="180.00" y="13.00" width="2.00" height="87.00" />
<rect x="190.00" y="13.00" width="2.00" height="87.00" />
<rect x="194.00" y="13.00" width="2.00" height="87.00" />
<rect x="198.00" y="13.00" width="2.00" height="87.00" />
<rect x="206.00" y="13.00" width="4.00" height="87.00" />
<rect x="212.00" y="13.00" width="2.00" height="87.00" />
<rect x="216.00" y="13.00" width="4.00" height="87.00" />
<rect x="226.00" y="13.00" width="2.00" height="87.00" />
<text x="8.00" y="111.50" text-anchor="end"
<rect x="134.00" y="12.28" width="2.00" height="87.72" />
<rect x="138.00" y="12.28" width="4.00" height="87.72" />
<rect x="144.00" y="12.28" width="4.00" height="87.72" />
<rect x="152.00" y="12.28" width="4.00" height="87.72" />
<rect x="158.00" y="12.28" width="2.00" height="87.72" />
<rect x="164.00" y="12.28" width="2.00" height="87.72" />
<rect x="170.00" y="12.28" width="4.00" height="87.72" />
<rect x="176.00" y="12.28" width="2.00" height="87.72" />
<rect x="180.00" y="12.28" width="2.00" height="87.72" />
<rect x="190.00" y="12.28" width="2.00" height="87.72" />
<rect x="194.00" y="12.28" width="2.00" height="87.72" />
<rect x="198.00" y="12.28" width="2.00" height="87.72" />
<rect x="206.00" y="12.28" width="4.00" height="87.72" />
<rect x="212.00" y="12.28" width="2.00" height="87.72" />
<rect x="216.00" y="12.28" width="4.00" height="87.72" />
<rect x="226.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" >
1
</text>
<text x="66.00" y="111.50" text-anchor="middle"
<text x="67.00" y="111.72" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="14.0" >
234567
</text>
<text x="126.00" y="111.50" text-anchor="start"
<text x="125.30" y="111.72" text-anchor="start"
font-family="Helvetica, sans-serif" font-size="12.0" >
0
</text>

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After