summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/public/chess/chess20.mf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/fonts/source/public/chess/chess20.mf')
-rw-r--r--Master/texmf-dist/fonts/source/public/chess/chess20.mf21
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/source/public/chess/chess20.mf b/Master/texmf-dist/fonts/source/public/chess/chess20.mf
new file mode 100644
index 00000000000..8e5894a6709
--- /dev/null
+++ b/Master/texmf-dist/fonts/source/public/chess/chess20.mf
@@ -0,0 +1,21 @@
+% This is `chess20.mf' version 1.0 as of 8/90
+% METAfounded by Piet Tutelaers (internet: rcpt@urc.tue.nl)
+
+% Parameters needed for a 20 points chess font.
+% A complete chess diagram is 160 X 160 points.
+
+mode_setup;
+input chessbase;
+
+M=1; % number of squares
+d#:=20pt#/M; % size per square
+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 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 chesspieces;
+end;