| 1 |
%====================================================================== |
| 2 |
% This is |
| 3 |
% fselch.mf |
| 4 |
% |
| 5 |
% Copyright (C) 1989-93,95 by Elmar Bartel. |
| 6 |
% |
| 7 |
% This program is free software; you can redistribute it and/or modify |
| 8 |
% it under the terms of the GNU General Public License as published by |
| 9 |
% the Free Software Foundation; either version 1, or (at your option) |
| 10 |
% any later version. |
| 11 |
% |
| 12 |
% This program is distributed in the hope that it will be useful, |
| 13 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
% GNU General Public License for more details. |
| 16 |
% |
| 17 |
% You should have received a copy of the GNU General Public License |
| 18 |
% along with this program; if not, write to the Free Software |
| 19 |
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 |
%====================================================================== |
| 21 |
% |
| 22 |
|
| 23 |
thin#=0.03qs#; |
| 24 |
inner_thin# = .66thin#; |
| 25 |
frame_thin# = 4thin#; |
| 26 |
|
| 27 |
SideSpace# = .11qs#; |
| 28 |
BottomWidth# = qs# - 2SideSpace#; |
| 29 |
BottomSpace# = .12qs#; |
| 30 |
TopSpace# = .12qs#; |
| 31 |
|
| 32 |
%----------------------------------------------------------------------- |
| 33 |
% Now define our pixels |
| 34 |
define_whole_pixels(qs,thin,inner_thin,frame_thin); |
| 35 |
define_pixels(SideSpace,BottomWidth,BottomSpace,TopSpace); |
| 36 |
|
| 37 |
%----------------------------------------------------------------------- |
| 38 |
% defining our pens |
| 39 |
pen chess_pen; chess_pen = pencircle scaled thin; |
| 40 |
pen inner_pen; inner_pen = pencircle scaled inner_thin; |
| 41 |
pen frame_pen; frame_pen = pencircle scaled frame_thin; |
| 42 |
pickup chess_pen; |
| 43 |
|
| 44 |
%----------------------------------------------------------------------- |
| 45 |
% get our base |
| 46 |
input elch-chbase.mf; |
| 47 |
|
| 48 |
%----------------------------------------------------------------------- |
| 49 |
% now generate the figures |
| 50 |
pickup chess_pen; input elch-blackfield.mf; |
| 51 |
pickup chess_pen; input elch-pawn.mf; |
| 52 |
pickup chess_pen; input elch-knight.mf; |
| 53 |
pickup chess_pen; input elch-queen.mf; |
| 54 |
pickup chess_pen; input elch-king.mf; |
| 55 |
pickup chess_pen; input elch-bishop.mf; |
| 56 |
pickup chess_pen; input elch-rook.mf; |
| 57 |
pickup chess_pen; input elch-geo.mf; |
| 58 |
pickup chess_pen; input elch-equi.mf; |
| 59 |
|
| 60 |
%---------------------------------------------------------------------- |
| 61 |
% Now the fontdimension parameters |
| 62 |
font_normal_space qs#; |
| 63 |
font_normal_stretch 0; |
| 64 |
font_normal_shrink 0; |
| 65 |
font_x_height qs#; |
| 66 |
font_quad qs#; |
| 67 |
font_extra_space 0; |