summaryrefslogtreecommitdiff
path: root/fonts/bartel-chess-fonts/pkelch14.mf
blob: c34df55c63f31f8bca02dba30864aadffb033b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
% This is
%               pkelch14.mf
%
% Copyright (C) 1989-92  by Elmar Bartel.
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 1, or (at your option)
% any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%

% mag=1.2;

mode_def agfa =
	proofing:=              0;
	fontmaking:=            1;
	tracingtitles:=         1;
	pixels_per_inch:=       400;
	blacker:=               .2;
	fillin:=                .1;
	o_correction:=          1;
enddef;

%mode=agfa;
%mode=epsonfx;
%mode=hplaser;
mode_setup;

qs#:= 14pt#;

thin#=0.03qs#;
inner_thin# = .66thin#;
frame_thin# = 4thin#;

SideSpace#   = .11qs#;
BottomWidth# = qs# - 2SideSpace#;
BottomSpace# = .11qs#;
TopSpace#    = .11qs#;

%-----------------------------------------------------------------------
% Now define our pixels
define_whole_pixels(qs,thin,inner_thin,frame_thin);
define_pixels(SideSpace,BottomWidth,BottomSpace,TopSpace);

%-----------------------------------------------------------------------
% defining our pens
pen chess_pen; chess_pen = pencircle scaled thin;
pen inner_pen; inner_pen = pencircle scaled inner_thin;
pen frame_pen; frame_pen = pencircle scaled frame_thin;
pickup chess_pen;

%-----------------------------------------------------------------------
% get our base
input pkbase.mf;

%-----------------------------------------------------------------------
% now generate the figures
pickup chess_pen; input pkblackfield.mf;
pickup chess_pen; input pkpawn.mf;
pickup chess_pen; input pkknight.mf;
pickup chess_pen; input pkqueen.mf;
pickup chess_pen; input pkking.mf;
pickup chess_pen; input pkbishop.mf;
pickup chess_pen; input pkrook.mf;
pickup chess_pen; input pkgeo.mf;

%----------------------------------------------------------------------
% Now the fontdimension parameters
font_normal_space qs#;
font_normal_stretch 0;
font_normal_shrink 0;
font_x_height qs#;
font_quad qs#;
font_extra_space 0;

end;