mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
vector: reduce SMALL_TEXT font height 6 -> 5 to be more like raster;
reduce antialiasing allowance for `textoffset`; adjust text to baseline using values for Arimo rather than percentage GUI: fix not enabling font combo "Small Bold (vector only)" by default raster/vector: rename `text_height` -> `font_height`
This commit is contained in:
@ -2,14 +2,14 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 224 119
|
||||
%%BoundingBox: 0 0 224 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
118.9 0 0 224 R
|
||||
116.28 0 0 224 R
|
||||
0 0 0 setrgbcolor
|
||||
100 18.9 I 0 4 R
|
||||
100 16.28 I 0 4 R
|
||||
I 6 2 R
|
||||
I 12 2 R
|
||||
I 22 2 R
|
||||
@ -48,6 +48,6 @@ currentdict
|
||||
end
|
||||
/Helvetica-ISOLatin1 exch definefont pop
|
||||
/Helvetica-ISOLatin1 findfont 14 scalefont setfont
|
||||
112 4.9 moveto
|
||||
112 2.94 moveto
|
||||
(<EFBFBD>gjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
(<EFBFBD>gjpqy) show
|
||||
|
@ -2,12 +2,12 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 224 119
|
||||
%%BoundingBox: 0 0 224 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
118.9 0 0 224 R
|
||||
116.28 0 0 224 R
|
||||
0 0 0 setrgbcolor
|
||||
100 0 I 220 4 R
|
||||
I 216 2 R
|
||||
@ -48,7 +48,7 @@ currentdict
|
||||
end
|
||||
/Helvetica-ISOLatin1 exch definefont pop
|
||||
/Helvetica-ISOLatin1 findfont 14 scalefont setfont
|
||||
112 114 moveto
|
||||
112 113.34 moveto
|
||||
gsave
|
||||
180 rotate
|
||||
(<EFBFBD>gjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
|
@ -2,12 +2,12 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 119 224
|
||||
%%BoundingBox: 0 0 117 224
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
224 0 0 118.9 R
|
||||
224 0 0 116.28 R
|
||||
0 0 0 setrgbcolor
|
||||
4 0 0 100 R
|
||||
2 6 0 100 R
|
||||
@ -48,7 +48,7 @@ currentdict
|
||||
end
|
||||
/Helvetica-ISOLatin1 exch definefont pop
|
||||
/Helvetica-ISOLatin1 findfont 14 scalefont setfont
|
||||
114 112 moveto
|
||||
113.34 112 moveto
|
||||
gsave
|
||||
90 rotate
|
||||
(<EFBFBD>gjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
|
@ -2,44 +2,44 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 119 224
|
||||
%%BoundingBox: 0 0 117 224
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
224 0 0 118.9 R
|
||||
224 0 0 116.28 R
|
||||
0 0 0 setrgbcolor
|
||||
4 220 18.9 100 R
|
||||
2 216 18.9 100 R
|
||||
2 210 18.9 100 R
|
||||
2 200 18.9 100 R
|
||||
8 190 18.9 100 R
|
||||
6 182 18.9 100 R
|
||||
4 176 18.9 100 R
|
||||
2 168 18.9 100 R
|
||||
2 160 18.9 100 R
|
||||
2 156 18.9 100 R
|
||||
4 148 18.9 100 R
|
||||
2 144 18.9 100 R
|
||||
2 134 18.9 100 R
|
||||
4 122 18.9 100 R
|
||||
2 116 18.9 100 R
|
||||
2 112 18.9 100 R
|
||||
2 108 18.9 100 R
|
||||
8 96 18.9 100 R
|
||||
2 90 18.9 100 R
|
||||
2 84 18.9 100 R
|
||||
8 74 18.9 100 R
|
||||
4 66 18.9 100 R
|
||||
4 60 18.9 100 R
|
||||
8 50 18.9 100 R
|
||||
2 46 18.9 100 R
|
||||
4 36 18.9 100 R
|
||||
2 28 18.9 100 R
|
||||
4 22 18.9 100 R
|
||||
6 10 18.9 100 R
|
||||
2 6 18.9 100 R
|
||||
4 0 18.9 100 R
|
||||
4 220 16.28 100 R
|
||||
2 216 16.28 100 R
|
||||
2 210 16.28 100 R
|
||||
2 200 16.28 100 R
|
||||
8 190 16.28 100 R
|
||||
6 182 16.28 100 R
|
||||
4 176 16.28 100 R
|
||||
2 168 16.28 100 R
|
||||
2 160 16.28 100 R
|
||||
2 156 16.28 100 R
|
||||
4 148 16.28 100 R
|
||||
2 144 16.28 100 R
|
||||
2 134 16.28 100 R
|
||||
4 122 16.28 100 R
|
||||
2 116 16.28 100 R
|
||||
2 112 16.28 100 R
|
||||
2 108 16.28 100 R
|
||||
8 96 16.28 100 R
|
||||
2 90 16.28 100 R
|
||||
2 84 16.28 100 R
|
||||
8 74 16.28 100 R
|
||||
4 66 16.28 100 R
|
||||
4 60 16.28 100 R
|
||||
8 50 16.28 100 R
|
||||
2 46 16.28 100 R
|
||||
4 36 16.28 100 R
|
||||
2 28 16.28 100 R
|
||||
4 22 16.28 100 R
|
||||
6 10 16.28 100 R
|
||||
2 6 16.28 100 R
|
||||
4 0 16.28 100 R
|
||||
/Helvetica-Bold findfont
|
||||
dup length dict begin
|
||||
{1 index /FID ne {def} {pop pop} ifelse} forall
|
||||
@ -48,7 +48,7 @@ currentdict
|
||||
end
|
||||
/Helvetica-ISOLatin1 exch definefont pop
|
||||
/Helvetica-ISOLatin1 findfont 14 scalefont setfont
|
||||
4.9 112 moveto
|
||||
2.94 112 moveto
|
||||
gsave
|
||||
270 rotate
|
||||
(<EFBFBD>gjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
|
@ -2,14 +2,14 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 246 119
|
||||
%%BoundingBox: 0 0 246 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
118.9 0 0 246 R
|
||||
116.28 0 0 246 R
|
||||
0 0 0 setrgbcolor
|
||||
100 18.9 I 0 4 R
|
||||
100 16.28 I 0 4 R
|
||||
I 6 2 R
|
||||
I 12 2 R
|
||||
I 22 2 R
|
||||
@ -51,6 +51,6 @@ currentdict
|
||||
end
|
||||
/Helvetica-ISOLatin1 exch definefont pop
|
||||
/Helvetica-ISOLatin1 findfont 14 scalefont setfont
|
||||
123 4.9 moveto
|
||||
123 2.94 moveto
|
||||
(A\\B\)<EFBFBD>\(D) stringwidth pop -2 div 0 rmoveto
|
||||
(A\\B\)<EFBFBD>\(D) show
|
||||
|
@ -2,14 +2,14 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
0.99 0.59 0.19 setrgbcolor
|
||||
118.9 0 0 128 R
|
||||
116.28 0 0 128 R
|
||||
0.08 0.48 0.82 setrgbcolor
|
||||
100 18.9 I 0 2 R
|
||||
100 16.28 I 0 2 R
|
||||
I 6 2 R
|
||||
I 10 4 R
|
||||
I 16 4 R
|
||||
@ -35,6 +35,6 @@ I 114 4 R
|
||||
I 120 4 R
|
||||
126 2 R
|
||||
/Helvetica findfont 14 scalefont setfont
|
||||
64 4.9 moveto
|
||||
64 2.94 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
@ -2,14 +2,14 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
0 0.4 0.81 0.01 setcmykcolor
|
||||
118.9 0 0 128 R
|
||||
116.28 0 0 128 R
|
||||
0.9 0.41 0 0.18 setcmykcolor
|
||||
100 18.9 I 0 2 R
|
||||
100 16.28 I 0 2 R
|
||||
I 6 2 R
|
||||
I 10 4 R
|
||||
I 16 4 R
|
||||
@ -35,6 +35,6 @@ I 114 4 R
|
||||
I 120 4 R
|
||||
126 2 R
|
||||
/Helvetica findfont 14 scalefont setfont
|
||||
64 4.9 moveto
|
||||
64 2.94 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
@ -2,12 +2,12 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
0.9 0.4 0 0.09 setcmykcolor
|
||||
100 18.9 I 0 2 R
|
||||
100 16.28 I 0 2 R
|
||||
I 6 2 R
|
||||
I 10 4 R
|
||||
I 16 4 R
|
||||
@ -33,6 +33,6 @@ I 114 4 R
|
||||
I 120 4 R
|
||||
126 2 R
|
||||
/Helvetica findfont 14 scalefont setfont
|
||||
64 4.9 moveto
|
||||
64 2.94 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
40
backend/tests/data/eps/code39_small.eps
Normal file
40
backend/tests/data/eps/code39_small.eps
Normal file
@ -0,0 +1,40 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 113
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
112.2 0 0 128 R
|
||||
0 0 0 setrgbcolor
|
||||
100 12.2 I 0 2 R
|
||||
I 6 2 R
|
||||
I 10 4 R
|
||||
I 16 4 R
|
||||
I 22 2 R
|
||||
I 26 4 R
|
||||
I 32 2 R
|
||||
I 38 2 R
|
||||
I 42 2 R
|
||||
I 46 4 R
|
||||
I 52 2 R
|
||||
I 56 4 R
|
||||
I 64 2 R
|
||||
I 68 2 R
|
||||
I 72 4 R
|
||||
I 78 4 R
|
||||
I 84 4 R
|
||||
I 92 2 R
|
||||
I 96 2 R
|
||||
I 100 2 R
|
||||
I 104 2 R
|
||||
I 110 2 R
|
||||
I 114 4 R
|
||||
I 120 4 R
|
||||
126 2 R
|
||||
/Helvetica findfont 10 scalefont setfont
|
||||
64 2.1 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
@ -2,14 +2,14 @@
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 158 119
|
||||
%%BoundingBox: 0 0 158 117
|
||||
%%EndComments
|
||||
/R { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/I { 2 copy } bind def
|
||||
1 1 1 setrgbcolor
|
||||
118.9 0 0 158 R
|
||||
116.28 0 0 158 R
|
||||
0 0 0 setrgbcolor
|
||||
100 18.9 I 2 2 R
|
||||
100 16.28 I 2 2 R
|
||||
I 10 4 R
|
||||
I 18 4 R
|
||||
I 28 4 R
|
||||
@ -33,6 +33,6 @@ I 132 4 R
|
||||
I 140 4 R
|
||||
146 2 R
|
||||
/Helvetica-Bold findfont 14 scalefont setfont
|
||||
79 4.9 moveto
|
||||
79 2.94 moveto
|
||||
(\(01\)15012345678907) stringwidth pop -2 div 0 rmoveto
|
||||
(\(01\)15012345678907) show
|
||||
|
Reference in New Issue
Block a user