1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-07-31 10:29:52 +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:
gitlost
2026-07-27 12:21:19 +01:00
parent d6a4bdfe90
commit a4f0fa0fd2
144 changed files with 8276 additions and 1567 deletions
@@ -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