| 1 |
%!PS-Adobe-2.0 |
| 2 |
%%Title: Dot Font for PSTricks |
| 3 |
%%Creator: Timothy Van Zandt <[email protected]> |
| 4 |
%%Creation Date: May 7, 1993 |
| 5 |
%% Version 97 patch 1, 99/12/16 |
| 6 |
%% Modified by Etienne Riga <[email protected]> - Dec. 16, 1999 |
| 7 |
%% to add /Diamond, /SolidDiamond and /BoldDiamond |
| 8 |
10 dict dup begin |
| 9 |
/FontType 3 def |
| 10 |
/FontMatrix [ .001 0 0 .001 0 0 ] def |
| 11 |
/FontBBox [ 0 0 0 0 ] def |
| 12 |
/Encoding 256 array def |
| 13 |
0 1 255 { Encoding exch /.notdef put } for |
| 14 |
Encoding |
| 15 |
dup (b) 0 get /Bullet put |
| 16 |
dup (c) 0 get /Circle put |
| 17 |
dup (C) 0 get /BoldCircle put |
| 18 |
dup (u) 0 get /SolidTriangle put |
| 19 |
dup (t) 0 get /Triangle put |
| 20 |
dup (T) 0 get /BoldTriangle put |
| 21 |
dup (r) 0 get /SolidSquare put |
| 22 |
dup (s) 0 get /Square put |
| 23 |
dup (S) 0 get /BoldSquare put |
| 24 |
dup (q) 0 get /SolidPentagon put |
| 25 |
dup (p) 0 get /Pentagon put |
| 26 |
dup (P) 0 get /BoldPentagon put |
| 27 |
% DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga |
| 28 |
dup (l) 0 get /SolidDiamond put |
| 29 |
dup (d) 0 get /Diamond put |
| 30 |
(D) 0 get /BoldDiamond put |
| 31 |
% DG/SR modification end |
| 32 |
/Metrics 13 dict def |
| 33 |
Metrics begin |
| 34 |
/Bullet 1000 def |
| 35 |
/Circle 1000 def |
| 36 |
/BoldCircle 1000 def |
| 37 |
/SolidTriangle 1344 def |
| 38 |
/Triangle 1344 def |
| 39 |
/BoldTriangle 1344 def |
| 40 |
/SolidSquare 886 def |
| 41 |
/Square 886 def |
| 42 |
/BoldSquare 886 def |
| 43 |
/SolidPentagon 1093.2 def |
| 44 |
/Pentagon 1093.2 def |
| 45 |
/BoldPentagon 1093.2 def |
| 46 |
% DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga |
| 47 |
/SolidDiamond 1008 def |
| 48 |
/Diamond 1008 def |
| 49 |
/BoldDiamond 1008 def |
| 50 |
% DG/SR modification end |
| 51 |
/.notdef 0 def |
| 52 |
end |
| 53 |
/BBoxes 13 dict def |
| 54 |
BBoxes begin |
| 55 |
/Circle { -550 -550 550 550 } def |
| 56 |
/BoldCircle /Circle load def |
| 57 |
/Bullet /Circle load def |
| 58 |
/Triangle { -571.5 -330 571.5 660 } def |
| 59 |
/BoldTriangle /Triangle load def |
| 60 |
/SolidTriangle /Triangle load def |
| 61 |
/Square { -450 -450 450 450 } def |
| 62 |
/BoldSquare /Square load def |
| 63 |
/SolidSquare /Square load def |
| 64 |
/Pentagon { -546.6 -465 546.6 574.7 } def |
| 65 |
/BoldPentagon /Pentagon load def |
| 66 |
/SolidPentagon /Pentagon load def |
| 67 |
% DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga |
| 68 |
/Diamond { -428.5 -742.5 428.5 742.5 } def |
| 69 |
/BoldDiamond /Diamond load def |
| 70 |
/SolidDiamond /Diamond load def |
| 71 |
% DG/SR modification end |
| 72 |
/.notdef { 0 0 0 0 } def |
| 73 |
end |
| 74 |
/CharProcs 20 dict def |
| 75 |
CharProcs begin |
| 76 |
/Adjust { |
| 77 |
2 copy dtransform floor .5 add exch floor .5 add exch idtransform |
| 78 |
3 -1 roll div 3 1 roll exch div exch scale |
| 79 |
} def |
| 80 |
/CirclePath { 0 0 500 0 360 arc closepath } def |
| 81 |
/Bullet { 500 500 Adjust CirclePath fill } def |
| 82 |
/Circle { 500 500 Adjust CirclePath .9 .9 scale CirclePath |
| 83 |
eofill } def |
| 84 |
/BoldCircle { 500 500 Adjust CirclePath .8 .8 scale CirclePath |
| 85 |
eofill } def |
| 86 |
/BoldCircle { CirclePath .8 .8 scale CirclePath eofill } def |
| 87 |
/TrianglePath { 0 660 moveto -571.5 -330 lineto 571.5 -330 lineto |
| 88 |
closepath } def |
| 89 |
/SolidTriangle { TrianglePath fill } def |
| 90 |
/Triangle { TrianglePath .85 .85 scale TrianglePath eofill } def |
| 91 |
/BoldTriangle { TrianglePath .7 .7 scale TrianglePath eofill } def |
| 92 |
/SquarePath { -450 450 moveto 450 450 lineto 450 -450 lineto |
| 93 |
-450 -450 lineto closepath } def |
| 94 |
/SolidSquare { SquarePath fill } def |
| 95 |
/Square { SquarePath .89 .89 scale SquarePath eofill } def |
| 96 |
/BoldSquare { SquarePath .78 .78 scale SquarePath eofill } def |
| 97 |
/PentagonPath { |
| 98 |
-337.8 -465 moveto |
| 99 |
337.8 -465 lineto |
| 100 |
546.6 177.6 lineto |
| 101 |
0 574.7 lineto |
| 102 |
-546.6 177.6 lineto |
| 103 |
closepath |
| 104 |
} def |
| 105 |
/SolidPentagon { PentagonPath fill } def |
| 106 |
/Pentagon { PentagonPath .89 .89 scale PentagonPath eofill } def |
| 107 |
/BoldPentagon { PentagonPath .78 .78 scale PentagonPath eofill } def |
| 108 |
% DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga |
| 109 |
/DiamondPath { 0 742.5 moveto -428.5 0 lineto 0 -742.5 lineto |
| 110 |
428.5 0 lineto closepath } def |
| 111 |
/SolidDiamond { DiamondPath fill } def |
| 112 |
/Diamond { DiamondPath .85 .85 scale DiamondPath eofill } def |
| 113 |
/BoldDiamond { DiamondPath .7 .7 scale DiamondPath eofill } def |
| 114 |
% DG/SR modification end |
| 115 |
/.notdef { } def |
| 116 |
end |
| 117 |
/BuildGlyph { |
| 118 |
exch |
| 119 |
begin |
| 120 |
Metrics 1 index get exec 0 |
| 121 |
BBoxes 3 index get exec |
| 122 |
setcachedevice |
| 123 |
CharProcs begin load exec end |
| 124 |
end |
| 125 |
} def |
| 126 |
/BuildChar { |
| 127 |
1 index /Encoding get exch get |
| 128 |
1 index /BuildGlyph get exec |
| 129 |
} bind def |
| 130 |
end |
| 131 |
/PSTricksDotFont exch definefont pop |
| 132 |
%END pst-dots.pro |