mirror of
https://git.code.sf.net/p/zint/code
synced 2026-07-31 02:19:50 +00:00
font_wip branch: new WIP font stuff using "stb_truetype.h",
not implemented for EAN/UPC, not fully tested
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 224 117
|
||||
%%BoundingBox: 0 0 224 118
|
||||
%%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
|
||||
116.28 0 0 224 R
|
||||
117.92 0 0 224 R
|
||||
0 0 0 setrgbcolor
|
||||
100 16.28 I 0 4 R
|
||||
100 17.92 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 2.94 moveto
|
||||
112 4.58 moveto
|
||||
(Égjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
(Égjpqy) show
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 224 117
|
||||
%%BoundingBox: 0 0 224 118
|
||||
%%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
|
||||
116.28 0 0 224 R
|
||||
117.92 0 0 224 R
|
||||
0 0 0 setrgbcolor
|
||||
100 0 I 220 4 R
|
||||
I 216 2 R
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 117 224
|
||||
%%BoundingBox: 0 0 118 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 116.28 R
|
||||
224 0 0 117.92 R
|
||||
0 0 0 setrgbcolor
|
||||
4 0 0 100 R
|
||||
2 6 0 100 R
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 117 224
|
||||
%%BoundingBox: 0 0 118 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 116.28 R
|
||||
224 0 0 117.92 R
|
||||
0 0 0 setrgbcolor
|
||||
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
|
||||
4 220 17.92 100 R
|
||||
2 216 17.92 100 R
|
||||
2 210 17.92 100 R
|
||||
2 200 17.92 100 R
|
||||
8 190 17.92 100 R
|
||||
6 182 17.92 100 R
|
||||
4 176 17.92 100 R
|
||||
2 168 17.92 100 R
|
||||
2 160 17.92 100 R
|
||||
2 156 17.92 100 R
|
||||
4 148 17.92 100 R
|
||||
2 144 17.92 100 R
|
||||
2 134 17.92 100 R
|
||||
4 122 17.92 100 R
|
||||
2 116 17.92 100 R
|
||||
2 112 17.92 100 R
|
||||
2 108 17.92 100 R
|
||||
8 96 17.92 100 R
|
||||
2 90 17.92 100 R
|
||||
2 84 17.92 100 R
|
||||
8 74 17.92 100 R
|
||||
4 66 17.92 100 R
|
||||
4 60 17.92 100 R
|
||||
8 50 17.92 100 R
|
||||
2 46 17.92 100 R
|
||||
4 36 17.92 100 R
|
||||
2 28 17.92 100 R
|
||||
4 22 17.92 100 R
|
||||
6 10 17.92 100 R
|
||||
2 6 17.92 100 R
|
||||
4 0 17.92 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
|
||||
2.94 112 moveto
|
||||
4.58 112 moveto
|
||||
gsave
|
||||
270 rotate
|
||||
(Égjpqy) stringwidth pop -2 div 0 rmoveto
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 246 117
|
||||
%%BoundingBox: 0 0 246 118
|
||||
%%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
|
||||
116.28 0 0 246 R
|
||||
117.92 0 0 246 R
|
||||
0 0 0 setrgbcolor
|
||||
100 16.28 I 0 4 R
|
||||
100 17.92 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 2.94 moveto
|
||||
123 4.58 moveto
|
||||
(A\\B\)ç\(D) stringwidth pop -2 div 0 rmoveto
|
||||
(A\\B\)ç\(D) show
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%BoundingBox: 0 0 128 118
|
||||
%%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
|
||||
116.28 0 0 128 R
|
||||
117.92 0 0 128 R
|
||||
0.08 0.48 0.82 setrgbcolor
|
||||
100 16.28 I 0 2 R
|
||||
100 17.92 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 2.94 moveto
|
||||
64 4.58 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%BoundingBox: 0 0 128 118
|
||||
%%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
|
||||
116.28 0 0 128 R
|
||||
117.92 0 0 128 R
|
||||
0.9 0.41 0 0.18 setcmykcolor
|
||||
100 16.28 I 0 2 R
|
||||
100 17.92 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 2.94 moveto
|
||||
64 4.58 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 117
|
||||
%%BoundingBox: 0 0 128 118
|
||||
%%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 16.28 I 0 2 R
|
||||
100 17.92 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 2.94 moveto
|
||||
64 4.58 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 113
|
||||
%%BoundingBox: 0 0 128 114
|
||||
%%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
|
||||
113.37 0 0 128 R
|
||||
0 0 0 setrgbcolor
|
||||
100 12.2 I 0 2 R
|
||||
100 13.37 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 10 scalefont setfont
|
||||
64 2.1 moveto
|
||||
64 3.27 moveto
|
||||
(*123*) stringwidth pop -2 div 0 rmoveto
|
||||
(*123*) show
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 158 117
|
||||
%%BoundingBox: 0 0 158 118
|
||||
%%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
|
||||
116.28 0 0 158 R
|
||||
117.92 0 0 158 R
|
||||
0 0 0 setrgbcolor
|
||||
100 16.28 I 2 2 R
|
||||
100 17.92 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 2.94 moveto
|
||||
79 4.58 moveto
|
||||
(\(01\)15012345678907) stringwidth pop -2 div 0 rmoveto
|
||||
(\(01\)15012345678907) show
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.16.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 100 212
|
||||
%%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
|
||||
211.88 0 0 100 R
|
||||
0 0 0 setrgbcolor
|
||||
66 145.88 I 2 2 R
|
||||
I 14 2 R
|
||||
I 18 2 R
|
||||
I 30 2 R
|
||||
I 34 2 R
|
||||
I 42 16 R
|
||||
I 62 2 R
|
||||
I 66 8 R
|
||||
I 76 4 R
|
||||
I 82 2 R
|
||||
I 86 6 R
|
||||
96 2 R
|
||||
2 143.88 I 8 6 R
|
||||
I 16 2 R
|
||||
I 20 10 R
|
||||
I 32 2 R
|
||||
I 36 2 R
|
||||
40 2 R
|
||||
6 139.88 58 2 R
|
||||
2 143.88 64 2 R
|
||||
6 139.88 74 2 R
|
||||
2 143.88 I 80 2 R
|
||||
84 2 R
|
||||
2 141.88 I 10 2 R
|
||||
I 14 2 R
|
||||
18 2 R
|
||||
4 139.88 22 2 R
|
||||
2 141.88 I 26 2 R
|
||||
I 30 2 R
|
||||
I 34 2 R
|
||||
I 38 2 R
|
||||
I 42 2 R
|
||||
46 2 R
|
||||
4 139.88 I 50 2 R
|
||||
54 2 R
|
||||
2 141.88 I 62 2 R
|
||||
I 66 2 R
|
||||
I 70 2 R
|
||||
I 78 2 R
|
||||
I 82 2 R
|
||||
I 86 2 R
|
||||
90 2 R
|
||||
2 139.88 I 8 4 R
|
||||
I 16 2 R
|
||||
I 28 6 R
|
||||
I 36 2 R
|
||||
I 64 4 R
|
||||
I 80 2 R
|
||||
88 4 R
|
||||
66 73.88 I 0 2 R
|
||||
I 4 2 R
|
||||
I 12 4 R
|
||||
I 18 4 R
|
||||
I 24 4 R
|
||||
I 34 2 R
|
||||
I 38 12 R
|
||||
I 60 4 R
|
||||
I 68 6 R
|
||||
I 76 4 R
|
||||
I 82 6 R
|
||||
I 92 4 R
|
||||
98 2 R
|
||||
/Helvetica findfont 21 scalefont setfont
|
||||
50 54.86 moveto
|
||||
(\(01\)09501) stringwidth pop -2 div 0 rmoveto
|
||||
(\(01\)09501) show
|
||||
50 30.86 moveto
|
||||
(10153000) stringwidth pop -2 div 0 rmoveto
|
||||
(10153000) show
|
||||
50 6.86 moveto
|
||||
(3) stringwidth pop -2 div 0 rmoveto
|
||||
(3) show
|
||||
Reference in New Issue
Block a user