home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
r
/
riscript
/
!RiScript
/
Fonts
/
Chess
< prev
next >
Wrap
Text File
|
1993-10-30
|
31KB
|
687 lines
%!PS-Adobe-1.0
%% This is my font for chess and similar pieces. It is supplied "as is".
%% It works for me, I have no idea whether it will work for you; you gets
%% what you pays for. Before using it, you should read the Copyright
%% notice below and the "README" file which should accompany this file.
%% -- ANW, March 1991.
/Cfont 9 dict dup begin
/FontMatrix [ 0.001 0 0 0.001 0 0 ] readonly def
/FontType 3 def
/FontBBox [ 0 0 0 0 ] readonly def
/Encoding 256 array def
/FontInfo 3 dict dup begin
/Notice (
Copyright (c) 1991 A. N. Walker. All rights reserved.
This notice must be preserved in all versions of this file, and
any alterations which you make must be clearly marked as such.
For further information, see the "README" file which should
accompany this, or contact me at Dept of Mathematics, Nottingham
Univ., UK, anw@maths.nott.ac.uk.
) readonly def
/FullName (ChessFont) readonly def
/version (2.0) readonly def
end def
/UniqueID 472474 def
Encoding
0 1 255 { 2 copy /.notdef put pop } for
dup 8#040 /Wsquare put % ' '
dup 8#042 /flap put % '"'
dup 8#043 /board put % '#'
dup 8#047 /flip put % ''''
dup 8#052 /Bsquare put % '*'
dup 8#055 /edge put % '-'
dup 8#056 /blobfig put % '.'
dup 8#057 /corner put % '/'
dup 8#060 /m0 put % '0'
dup 8#061 /Wsquare put % '1'
dup 8#062 /m2 put % '2'
dup 8#063 /m3 put % '3'
dup 8#064 /m4 put % '4'
dup 8#065 /m5 put % '5'
dup 8#066 /m6 put % '6'
dup 8#067 /m7 put % '7'
dup 8#070 /m8 put % '8'
dup 8#071 /m9 put % '9'
dup 8#073 /nextline put % ';'
dup 8#074 /m-1 put % '<'
dup 8#076 /Wsquare put % '>'
dup 8#100 /wblock put % '@'
dup 8#102 /WB put % 'B'
dup 8#103 /WC put % 'C'
dup 8#104 /WD put % 'D'
dup 8#105 /WE put % 'E'
dup 8#106 /WF put % 'F'
dup 8#107 /WG put % 'G'
dup 8#111 /blob put % 'I'
dup 8#113 /WK put % 'K'
dup 8#114 /WL put % 'L'
dup 8#115 /WM put % 'M'
dup 8#116 /WN put % 'N'
dup 8#117 /BO put % 'O'
dup 8#120 /WP put % 'P'
dup 8#121 /WQ put % 'Q'
dup 8#122 /WR put % 'R'
dup 8#123 /WS put % 'S'
dup 8#124 /WT put % 'T'
dup 8#125 /WU put % 'U'
dup 8#126 /WV put % 'V'
dup 8#130 /WX put % 'X'
dup 8#132 /WZ put % 'Z'
dup 8#133 /posstart put % '['
dup 8#135 /posfinish put % ']'
dup 8#137 /underbar put % '_'
dup 8#142 /BB put % 'b'
dup 8#143 /BC put % 'c'
dup 8#144 /BD put % 'd'
dup 8#145 /BE put % 'e'
dup 8#146 /BF put % 'f'
dup 8#147 /BG put % 'g'
dup 8#151 /blob put % 'i'
dup 8#153 /BK put % 'k'
dup 8#154 /BL put % 'l'
dup 8#155 /BM put % 'm'
dup 8#156 /BN put % 'n'
dup 8#157 /BO put % 'o'
dup 8#160 /BP put % 'p'
dup 8#161 /BQ put % 'q'
dup 8#162 /BR put % 'r'
dup 8#163 /BS put % 's'
dup 8#164 /BT put % 't'
dup 8#165 /BU put % 'u'
dup 8#166 /BV put % 'v'
dup 8#170 /BX put % 'x'
dup 8#172 /BZ put % 'z'
dup 8#174 /sidebar put % '|'
dup 8#240 /Wsquare put % ' '+
dup 8#241 /without put % '!'+
dup 8#242 /flap put % '"'+
dup 8#243 /board put % '#'+
dup 8#245 /infinityequals put % '%'+
dup 8#247 /flip put % ''''+
dup 8#252 /circledot put % '*'+
dup 8#253 /plus put % '+'+
dup 8#255 /minus put % '-'+
dup 8#272 /doubled put % ':'+
dup 8#273 /nextline put % ';'+
dup 8#274 /equalsplus put % '<'+
dup 8#275 /equal put % '='+
dup 8#276 /plusequals put % '>'+
dup 8#277 /infinity put % '?'+
dup 8#300 /circarrow put % '@'+
dup 8#302 /Bfig put % 'B'+
dup 8#303 /Cfig put % 'C'+
dup 8#304 /Dfig put % 'D'+
dup 8#305 /Efig put % 'E'+
dup 8#306 /Ffig put % 'F'+
dup 8#307 /Gfig put % 'G'+
dup 8#311 /blobfig put % 'I'+
dup 8#313 /Kfig put % 'K'+
dup 8#314 /Lfig put % 'L'+
dup 8#315 /Mfig put % 'M'+
dup 8#316 /Nfig put % 'N'+
dup 8#317 /Ofig put % 'O'+
dup 8#320 /Pfig put % 'P'+
dup 8#321 /Qfig put % 'Q'+
dup 8#322 /Rfig put % 'R'+
dup 8#323 /Sfig put % 'S'+
dup 8#324 /Tfig put % 'T'+
dup 8#325 /Ufig put % 'U'+
dup 8#326 /Vfig put % 'V'+
dup 8#330 /Xfig put % 'X'+
dup 8#332 /Zfig put % 'Z'+
dup 8#333 /minusorplus put % '['+
dup 8#335 /plusorminus put % ']'+
dup 8#336 /uparrow put % '^'+
dup 8#341 /rightarrow put % 'a'+
dup 8#342 /semicircle put % 'b'+
dup 8#343 /centre put % 'c'+
dup 8#344 /diags put % 'd'+
dup 8#345 /etc put % 'e'+
dup 8#346 /Phalo put % 'f'+
dup 8#347 /samebs put % 'g'+
dup 8#350 /edgefig put % 'h'+
dup 8#351 /triangle put % 'i'+
dup 8#352 /Bsquarefig put % 'j'+
dup 8#353 /kside put % 'k'+
dup 8#354 /line put % 'l'+
dup 8#355 /hash put % 'm'+
dup 8#356 /cornerfig put % 'n'+
dup 8#357 /square put % 'o'+
dup 8#360 /ending put % 'p'+
dup 8#361 /qside put % 'q'+
dup 8#362 /Pfill put % 'r'+
dup 8#363 /separated put % 's'+
dup 8#364 /tempo put % 't'+
dup 8#365 /united put % 'u'+
dup 8#366 /oppbs put % 'v'+
dup 8#367 /with put % 'w'+
dup 8#370 /weakpt put % 'x'+
dup 8#371 /bpair put % 'y'+
dup 8#372 /circlebolddot put % 'z'+
8#374 /botharrow put % '|'+
/CharProcs 200 dict dup begin
% Miscellaneous:
/.notdef { } bind def
/Arcto { arcto 4 { pop } repeat } bind def
/Ddn3c { dup dup neg 3 copy } bind def
/Round { dtransform round exch round exch idtransform } bind def
/Rlineto { Round rlineto } bind def
/Rmoveto { Round rmoveto } bind def
/diamond { moveto dup neg 0 rmoveto dup dup neg rlineto
dup dup rlineto dup neg exch rlineto closepath } bind def
/dohalo { gsave 100 setlinewidth setW stroke grestore } bind def
/dofill { gsave fill grestore } bind def
/motion { 1000 mul exch 1000 mul exch setcharwidth } bind def
/setW { 1 setgray } bind def
/setB { 0 setgray } bind def
/drawingB { 0 currentgray eq } bind def
/setfig { 1000 0 0 -200 1000 800 setcachedevice 500 300 translate
} bind def
/setpce { 1000 0 setcharwidth 500 dup translate 0.95 dup scale
} bind def
/MiscStr (a) def
/tofig { 0 get 8#200 add MiscStr exch 0 exch put MiscStr } bind def
/Tofig { 1 0.95 div dup scale tofig } bind def
/intext true def
/flip { 0 0 setcharwidth /intext intext not def } bind def
/flap { 0 0 setcharwidth /intext true def } bind def
/Setfont { /ChessFont findfont 1000 scalefont setfont } bind def
/Show { rotate -500 dup moveto Setfont show } bind def
/Showfig { rotate -500 -300 moveto Setfont show } bind def
/LocStr (a) def
/SetChar {
dup 8#047 eq { pop flip stop } if
dup 8#200 lt { intext {
8#200 add LocStr exch 0 exch put
Setfont LocStr dup stringwidth setcharwidth
0 0 moveto show stop } if } if } bind def
/DoChar { Encoding exch get cvx exec } bind def
% Kings
/W