Debian Codegraph @

texmf-dist/fonts/source/public/xypic/xyd2.mf

raw
1 % $Id: xyd2.mf,v 3.10 2010/06/10 18:45:50 krisrose Exp $
2 %
3 % XYD2: generate characters of `Xy-pic SemiDirectional' font.
4 % Copyright (c) 1992 Kristoffer H. Rose <[email protected]>
5 %
6 % This file is part of the Xy-pic macro package.
7 %
8 % The Xy-pic macro package is free software; you can redistribute it and/or
9 % modify it under the terms of the GNU General Public License as published by
10 % the Free Software Foundation; either version 2 of the License, or (at your
11 % option) any later version.
12 %
13 % The Xy-pic macro package is distributed in the hope that it will be
14 % useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16 % Public License for more details.
17 %
18 % You should have received a copy of the GNU General Public License along
19 % with this macro package; if not, see http://www.gnu.org/licenses/.
20 %
21 % As a special exception, you may use this file and all files derived
22 % from it without restriction. This special exception was added with
23 % version 3.7 of Xy-pic.
24 % _________________________________________________________________________
25 %
26 % CONTENTS: Generate `semidirectional' characters from 0..127 by calling
27 % `chartowards(Code, Dx, Dy)' with
28 %
29 % Code: 0 30 31 63 95 127
30 % Dx,Dy: 31/32,1 1/32,1 0,-1 1,-1 1,0 1,1
31 % / | /
32 % Direction: o o o o o- o
33 % | \
34 %
35 % where the intervening codes are got by interpolating either Dx or Dy as
36 % appropriate.
37 % _________________________________________________________________________
38 %
39 % Parameters:
40 %
41 font_coding_scheme:="xyd2.enc";
42 %
43 font_x_height segx#;
44 font_quad segl#;
45 fontdimen 8: segw#; % default_rule_thickness
46 %
47 % Characters:
48 %
49 for cc = 0 step 1 until 30: chartowards(cc,(31-cc)/32, 1); endfor;
50 for cc = 31 step 1 until 63: chartowards(cc,(cc-31)/32, -1); endfor;
51 for cc = 64 step 1 until 127: chartowards(cc, 1,(cc-95)/32); endfor;
52 %
53 % $Log: xyd2.mf,v $
54 % Revision 3.10 2010/06/10 18:45:50 krisrose
55 % Reference to GPL by URL.
56 %
57 % Revision 3.9 2010/05/17 23:29:21 krisrose
58 % Experiment: generate all the Type1 fonts with METAPOST.
59 %
60 % Revision 3.8 2010/04/16 06:06:52 krisrose
61 % Preparing for a new release...
62 %
63 % Revision 3.7 1999/02/16 15:12:50 krisrose
64 % Interim release (Y&Y fonts now free).
65 %
66 % Revision 3.3 1996/12/19 03:31:56 krisrose
67 % Maintenance release
68 %
69 % Revision 3.0 1995/07/07 20:14:21 kris
70 % Major release w/new User's Guide!
71 %
72 % Revision 2.13 1995/07/04 15:11:17 kris
73 % Ready to release v3?
74 %
75 % Revision 2.12 1994/10/25 11:34:25 kris
76 % Interim release just before v3 [works with AMS-LaTeX 1.2]...
77 %
78 % Revision 2.7 1992/12/14 01:41:26 kris
79 % Generate all Xy-pic `semidirectionsl' characters.
80 %
81 % Extracted from xyline10.mf [Revision 2.1 1992/01/02 14:54:07 kris]