diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/chess/skak/mf/skak30.mf |
Initial commit
Diffstat (limited to 'fonts/chess/skak/mf/skak30.mf')
-rw-r--r-- | fonts/chess/skak/mf/skak30.mf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fonts/chess/skak/mf/skak30.mf b/fonts/chess/skak/mf/skak30.mf new file mode 100644 index 0000000000..26c3445447 --- /dev/null +++ b/fonts/chess/skak/mf/skak30.mf @@ -0,0 +1,28 @@ +% This is `skak30.mf' version 1.0 as of 7/99 +% based on original work by Piet Tutelaers +% Modified by Torben Hoffmann: smaller pieces and nicer looking knight + +% Parameters needed for a 30 points chess font. +% A complete chess diagram is 240 X 240 points. + +mode_setup; +input skakbase; + +font_size 30pt#; + +M=1; % number of squares +d#:=30pt#/M; % size per square +lift=0; +figshift:=0; +u#:=d#; +fine#:=1/100*d#; thin#:=1/90*d#; thick#:=1/36*d#; border#:=1/20*d#; +define_blacker_pixels(fine, thin, thick, border); +pickup pencircle scaled thin; hairline_pen:=savepen ; %for drawing king's cross +pickup pencircle scaled fine; fine_pen:=savepen ; % for drawing dark squares +pickup pencircle scaled border; border_pen:=savepen ; % for border ofboard +pickup pencircle scaled thin; thin_pen:=savepen ; % for drawing pieces +pickup pencircle scaled thick; thick_pen:=savepen; % for drawing inside pieces +light=0; dark=1; white=0; black=1; + +input skakbrikker; +end; |