xref: /csrg-svn/old/vpr/vfont.h (revision 37620)
121316Sdist /*
2*37620Sbostic  * Copyright (c) 1989 The Regents of the University of California.
3*37620Sbostic  * All rights reserved.
421316Sdist  *
5*37620Sbostic  * Redistribution and use in source and binary forms are permitted
6*37620Sbostic  * provided that the above copyright notice and this paragraph are
7*37620Sbostic  * duplicated in all such forms and that any documentation,
8*37620Sbostic  * advertising materials, and other materials related to such
9*37620Sbostic  * distribution and use acknowledge that the software was developed
10*37620Sbostic  * by the University of California, Berkeley.  The name of the
11*37620Sbostic  * University may not be used to endorse or promote products derived
12*37620Sbostic  * from this software without specific prior written permission.
13*37620Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*37620Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*37620Sbostic  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*37620Sbostic  *
17*37620Sbostic  *	@(#)vfont.h	5.2 (Berkeley) 05/02/89
1821316Sdist  */
1912199Ssam 
2012199Ssam /*
2112199Ssam  * The structures header and dispatch define the format of a font file.
2212199Ssam  *
2312199Ssam  * See vfont(5) for more details.
2412199Ssam  */
2512199Ssam struct header {
2612199Ssam 	short magic;
2712199Ssam 	unsigned short size;
2812199Ssam 	short maxx;
2912199Ssam 	short maxy;
3012199Ssam 	short xtend;
3112199Ssam };
3212199Ssam 
3312199Ssam struct dispatch {
3412199Ssam 	unsigned short addr;
3512199Ssam 	short nbytes;
3612199Ssam 	char up,down,left,right;
3712199Ssam 	short width;
3812199Ssam };
39