- 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="660" height="310" version="1.1"
<svg width="660" height="311" 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="660" height="310" fill="#FFFFFF" />
<rect x="0" y="0" width="660" height="311" fill="#FFFFFF" />
<rect x="36.00" y="0.00" width="4.00" height="296.97" />
<rect x="44.00" y="0.00" width="4.00" height="296.97" />
<rect x="52.00" y="0.00" width="12.00" height="296.97" />
@ -38,35 +38,35 @@
<rect x="396.00" y="0.00" width="4.00" height="296.97" />
<rect x="404.00" y="0.00" width="4.00" height="296.97" />
<rect x="412.00" y="0.00" width="4.00" height="296.97" />
<rect x="452.00" y="38.00" width="4.00" height="238.97" />
<rect x="460.00" y="38.00" width="8.00" height="238.97" />
<rect x="472.00" y="38.00" width="8.00" height="238.97" />
<rect x="488.00" y="38.00" width="8.00" height="238.97" />
<rect x="500.00" y="38.00" width="4.00" height="238.97" />
<rect x="512.00" y="38.00" width="4.00" height="238.97" />
<rect x="524.00" y="38.00" width="8.00" height="238.97" />
<rect x="536.00" y="38.00" width="4.00" height="238.97" />
<rect x="544.00" y="38.00" width="4.00" height="238.97" />
<rect x="564.00" y="38.00" width="4.00" height="238.97" />
<rect x="572.00" y="38.00" width="4.00" height="238.97" />
<rect x="580.00" y="38.00" width="4.00" height="238.97" />
<rect x="596.00" y="38.00" width="8.00" height="238.97" />
<rect x="608.00" y="38.00" width="4.00" height="238.97" />
<rect x="616.00" y="38.00" width="8.00" height="238.97" />
<rect x="636.00" y="38.00" width="4.00" height="238.97" />
<text x="16.00" y="308.97" text-anchor="end"
<rect x="452.00" y="33.80" width="4.00" height="243.17" />
<rect x="460.00" y="33.80" width="8.00" height="243.17" />
<rect x="472.00" y="33.80" width="8.00" height="243.17" />
<rect x="488.00" y="33.80" width="8.00" height="243.17" />
<rect x="500.00" y="33.80" width="4.00" height="243.17" />
<rect x="512.00" y="33.80" width="4.00" height="243.17" />
<rect x="524.00" y="33.80" width="8.00" height="243.17" />
<rect x="536.00" y="33.80" width="4.00" height="243.17" />
<rect x="544.00" y="33.80" width="4.00" height="243.17" />
<rect x="564.00" y="33.80" width="4.00" height="243.17" />
<rect x="572.00" y="33.80" width="4.00" height="243.17" />
<rect x="580.00" y="33.80" width="4.00" height="243.17" />
<rect x="596.00" y="33.80" width="8.00" height="243.17" />
<rect x="608.00" y="33.80" width="4.00" height="243.17" />
<rect x="616.00" y="33.80" width="8.00" height="243.17" />
<rect x="636.00" y="33.80" width="4.00" height="243.17" />
<text x="17.40" y="309.17" text-anchor="end"
font-family="Helvetica, sans-serif" font-size="28.0" >
7
</text>
<text x="144.00" y="308.97" text-anchor="middle"
<text x="148.00" y="309.17" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="40.0" >
25272
</text>
<text x="304.00" y="308.97" text-anchor="middle"
<text x="304.00" y="309.17" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="40.0" >
70270
</text>
<text x="436.00" y="308.97" text-anchor="start"
<text x="434.60" y="309.17" text-anchor="start"
font-family="Helvetica, sans-serif" font-size="28.0" >
3
</text>

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

Before After
Before After