font.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
/*
* Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
* All Rights Reserved.
*/
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
# include "e.h"
/* use number '1', '2', '3' for roman, italic, bold */
else
#ifndef NEQN
#else NEQN
#endif NEQN
}
/* old font in p1, new in ft */
printf(".ds %d \\f%c\\*(%d\\f%c\n",
}
fatbox(p) int p; {
int sh;
yyval = p;
printf(".ds %d \\*(%d\\h'-\\n(%du+0.05m'\\*(%d\n", p, p, p, p);
}
globfont() {
char temp[20];
switch (gfont) {
case 'r': case 'R':
gfont = '1';
break;
case 'i': case 'I':
gfont = '2';
break;
case 'b': case 'B':
gfont = '3';
break;
}
}