- 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="468" height="358" version="1.1"
<svg width="468" height="359" 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="468" height="358" fill="#FFFFFF" />
<rect x="0" y="0" width="468" height="359" fill="#FFFFFF" />
<rect x="44.00" y="0.00" width="8.00" height="24.00" />
<rect x="56.00" y="0.00" width="8.00" height="24.00" />
<rect x="68.00" y="0.00" width="12.00" height="8.00" />
@ -103,15 +103,15 @@
<rect x="396.00" y="48.00" width="4.00" height="276.97" />
<rect x="416.00" y="48.00" width="4.00" height="276.97" />
<rect x="424.00" y="48.00" width="4.00" height="296.97" />
<text x="36.00" y="356.97" text-anchor="end"
<text x="36.40" y="357.17" text-anchor="end"
font-family="Helvetica, sans-serif" font-size="40.0" >
3
</text>
<text x="152.00" y="356.97" text-anchor="middle"
<text x="154.00" y="357.17" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="40.0" >
312345
</text>
<text x="340.00" y="356.97" text-anchor="middle"
<text x="338.00" y="357.17" text-anchor="middle"
font-family="Helvetica, sans-serif" font-size="40.0" >
678903
</text>

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After