1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-03 10:17:11 +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

@@ -59,5 +59,6 @@ I 256 2 R
246 102.4 moveto
(12) stringwidth pop -2 div 0 rmoveto
(12) show
264 102.4 moveto
276 102.4 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -49,5 +49,6 @@ I 192 6 R
163 0.8 moveto
(531000) stringwidth pop -2 div 0 rmoveto
(531000) show
214 0.8 moveto
226 0.8 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -29,5 +29,6 @@ I 82 6 R
47 102.4 moveto
(98765) stringwidth pop -2 div 0 rmoveto
(98765) show
91.5 102.4 moveto
104 102.4 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -32,8 +32,7 @@ I 128 2 R
110 8 I 142 2 R
146 2 R
/Helvetica findfont 21.4 scalefont setfont
12.5 0.8 moveto
(<) stringwidth pop neg 0 rmoveto
0 0.8 moveto
(<) show
49 0.8 moveto
(9501) stringwidth pop -2 div 0 rmoveto
@@ -41,5 +40,6 @@ I 128 2 R
113 0.8 moveto
(2346) stringwidth pop -2 div 0 rmoveto
(2346) show
149.6 0.8 moveto
162 0.8 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -64,5 +64,6 @@ I 254 2 R
246 102.4 moveto
(24) stringwidth pop -2 div 0 rmoveto
(24) show
263.6 102.4 moveto
276 102.4 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -79,8 +79,9 @@ I 20 2 R
(24) stringwidth pop -2 div 0 rmoveto
(24) show
grestore
12.4 15.6 moveto
276 15.6 moveto
gsave
180 rotate
(>) stringwidth pop neg 0 rmoveto
(>) show
grestore

View File

@@ -57,5 +57,6 @@ I 216 4 R
182 102.4 moveto
(12345) stringwidth pop -2 div 0 rmoveto
(12345) show
225.6 102.4 moveto
238 102.4 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show

View File

@@ -57,5 +57,6 @@ I 216 4 R
182 102.28 moveto
(12345) stringwidth pop -2 div 0 rmoveto
(12345) show
225.6 102.28 moveto
238 102.28 moveto
(>) stringwidth pop neg 0 rmoveto
(>) show