diff options
author | Norbert Preining <preining@logic.at> | 2007-11-15 13:44:03 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-15 13:44:03 +0000 |
commit | aeb985d233fd72659294d6c217b205f641a7f3b4 (patch) | |
tree | 91f6178acde7aace897994c52fd75391c6c43082 /Master/texmf-dist/fonts/source/public/skak | |
parent | 9344b2c4650e32dbce0f1e30a22150c8428ddf2a (diff) |
update skak from CTAN
git-svn-id: svn://tug.org/texlive/trunk@5426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/fonts/source/public/skak')
-rw-r--r-- | Master/texmf-dist/fonts/source/public/skak/skakf10.mf | 6 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/source/public/skak/skakf10b.mf | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/fonts/source/public/skak/skakf10.mf b/Master/texmf-dist/fonts/source/public/skak/skakf10.mf index d3adce449bb..e88a291e654 100644 --- a/Master/texmf-dist/fonts/source/public/skak/skakf10.mf +++ b/Master/texmf-dist/fonts/source/public/skak/skakf10.mf @@ -14,7 +14,7 @@ u#:=10pt#; input skakbase; def figurine(expr code) = - beginchar(code, d#, 0.9d#, .1d#); + beginchar(code, 1.0d#, 0.9d#, .1d#); pickup pencircle scaled hairline; %gg hairline_pen:=savepen; %gg pickup pencircle scaled thin; @@ -24,6 +24,7 @@ def figurine(expr code) = define_whole_pixels(d); figshift:=0; scantokens code(d, 0, -.2); + currentpicture:=currentpicture shifted (0,liftfig#); endchar; enddef; @@ -38,6 +39,7 @@ def narrow_figurine(expr code) = define_whole_pixels(d); figshift:=-0.1; scantokens code(d, 0, -.2); + currentpicture:=currentpicture shifted (0,liftfig#); endchar; enddef; @@ -52,6 +54,8 @@ define_blacker_pixels(hairline, thin, middle, thick); %gg added hairline??? light=0; dark=1; white=0; black=1; background:=light; color:=white; +liftfig#:=0d#; + narrow_figurine("K"); narrow_figurine("R"); narrow_figurine("B"); diff --git a/Master/texmf-dist/fonts/source/public/skak/skakf10b.mf b/Master/texmf-dist/fonts/source/public/skak/skakf10b.mf index 6caa09e9a1d..b21bcb32ffa 100644 --- a/Master/texmf-dist/fonts/source/public/skak/skakf10b.mf +++ b/Master/texmf-dist/fonts/source/public/skak/skakf10b.mf @@ -14,7 +14,7 @@ u#:=10pt#; input skakbase; def figurine(expr code) = - beginchar(code, d#, .8d#, .2d#); + beginchar(code, 1.0d#, .8d#, .2d#); pickup pencircle scaled fine; hairline_pen:=savepen; pickup pencircle scaled thin; @@ -24,6 +24,7 @@ def figurine(expr code) = define_whole_pixels(d); figshift:=0; scantokens code(d, 0, -.2); + currentpicture:=currentpicture shifted (0,liftfig#); endchar; enddef; @@ -38,6 +39,7 @@ def narrow_figurine(expr code) = define_whole_pixels(d); figshift:=-0.1; scantokens code(d, 0, -.2); + currentpicture:=currentpicture shifted (0,liftfig#); endchar; enddef; @@ -52,6 +54,8 @@ define_blacker_pixels(fine, thin, middle, thick); light=0; dark=1; white=0; black=1; background:=light; color:=white; +liftfig#:=0d#; + narrow_figurine("K"); narrow_figurine("R"); narrow_figurine("B"); |