Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/fonts/source/public/xypic/xyd.mf

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


% $Id: xyd.mf,v 3.3 1996/12/19 03:31:56 krisrose Exp $
%
% XYD: generate characters of `Xy-pic Directional' font.
% Copyright (c) 1992  Kristoffer H. Rose  <krisrose@brics.dk>
%
% This file is part of the Xy-pic macro package.
%
% The Xy-pic macro package is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or (at your
% option) any later version.
%
% The Xy-pic macro package is distributed in the hope that it will be
% useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
% Public License for more details.
%
% You should have received a copy of the GNU General Public License along
% with this macro package; if not, write to the Free Software Foundation,
% Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
% _________________________________________________________________________
%
% CONTENTS: Generate `directional' characters from 0..127 by calling
% `chartowards(Code, Dx, Dy)' with
%
% Code:         0     15    31    47    63    79    95   111   127
% Dx,Dy:  -15/16,-1  0,-1  1,-1  1,0   1,1   0,1  -1,1  -1,0  -1,-1
%                                        /    |    \
% Direction:    o     o     o     o-    o     o     o    -o     o
%              /      |      \                                 /
%
% where the intervening codes are got by interpolating either Dx or Dy as
% appropriate.
% _________________________________________________________________________
%
% Parameters:
%
font_coding_scheme:="Xy-pic directional";
%
font_x_height	segx#;
font_quad	segl#;
fontdimen 8:	segw#;			% default_rule_thickness
%
% Characters:
%
for cc =  0 step 1 until  31: chartowards(cc,(cc-15)/16,       -1); endfor;
for cc = 32 step 1 until  63: chartowards(cc,         1, (cc-47)/16); endfor;
for cc = 64 step 1 until  95: chartowards(cc,(79-cc)/16,        1); endfor;
for cc = 96 step 1 until 127: chartowards(cc,        -1,(111-cc)/16); endfor;
%
% $Log: xyd.mf,v $
% Revision 3.3  1996/12/19 03:31:56  krisrose
% Maintenance release
%
% Revision 3.0  1995/07/07 20:14:21  kris
% Major release w/new User's Guide!
%
% Revision 2.13  1995/07/04  15:11:17  kris
% Ready to release v3?
%
% Revision 2.7  1992/12/14  01:41:26  kris
% Generate all Xy-pic `directional' characters.
%
% Extracted from xyatip10.mf [Revision 2.1 1992/01/02 14:54:07 kris]

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.