1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-09 04:51:58 +00:00

vector: make sure BIND_TOP trumps BIND/BOX always (fixes extraneous

whjitespace at bottom of CODABLOCKF/CODE16K/CODE49 if BIND_TOP
  set); add left/right fudge to guard whitespace placements so
  appear closer to edge for SVG/qzint (undone by EMF/EPS)
This commit is contained in:
gitlost
2023-12-15 10:51:51 +00:00
parent ecbd582cae
commit 40a4bb9da0
48 changed files with 231 additions and 107 deletions

View File

@@ -5,7 +5,7 @@
<g id="barcode" fill="#000000">
<rect x="0" y="0" width="162" height="118" fill="#FFFFFF"/>
<path d="M14 0h2v110h-2ZM18 0h2v110h-2ZM26 0h2v100h-2ZM30 0h4v100h-4ZM36 0h4v100h-4ZM46 0h2v100h-2ZM54 0h4v100h-4ZM60 0h2v100h-2ZM66 0h4v100h-4ZM74 0h2v100h-2ZM78 0h2v110h-2ZM82 0h2v110h-2ZM86 0h4v100h-4ZM92 0h4v100h-4ZM100 0h2v100h-2ZM110 0h2v100h-2ZM114 0h2v100h-2ZM118 0h6v100h-6ZM128 0h2v100h-2ZM132 0h2v100h-2ZM142 0h2v110h-2ZM146 0h2v110h-2Z"/>
<text x="12.5" y="117.2" text-anchor="end" font-family="OCRB, monospace" font-size="20">
<text x="-1" y="117.2" text-anchor="start" font-family="OCRB, monospace" font-size="20">
&lt;
</text>
<text x="49" y="117.2" text-anchor="middle" font-family="OCRB, monospace" font-size="20">
@@ -14,7 +14,7 @@
<text x="113" y="117.2" text-anchor="middle" font-family="OCRB, monospace" font-size="20">
2346
</text>
<text x="149.6" y="117.2" text-anchor="start" font-family="OCRB, monospace" font-size="20">
<text x="163" y="117.2" text-anchor="end" font-family="OCRB, monospace" font-size="20">
&gt;
</text>
</g>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB