|
|
1.1 ! root 1: /* $Header: font.h,v 10.1 86/11/19 10:45:35 jg Exp $ */ ! 2: /* Copyright 1985 Massachusetts Institute of Technology */ ! 3: ! 4: /* font.h - Definitions required to access X fonts ! 5: * ! 6: * ! 7: * Copyright (c) 1986 Brown University ! 8: * ! 9: * Permission to use, copy, modify and distribute this software and its ! 10: * documentation for any purpose and without fee is hereby granted, provided ! 11: * that the above copyright notice appear in all copies, and that both ! 12: * that copyright notice and this permission notice appear in supporting ! 13: * documentation, and that the name of Brown University not be used in ! 14: * advertising or publicity pertaining to distribution of the software ! 15: * without specific, written prior permission. Brown University makes no ! 16: * representations about the suitability of this software for any purpose. ! 17: * It is provided "as-is" without express or implied warranty. ! 18: */ ! 19: ! 20: #define CHARPERFONT 256 ! 21: ! 22: typedef short a_BitmapEntryPtr[2]; ! 23: ! 24: typedef struct _Bitmap { ! 25: a_BitmapEntryPtr bm_address; ! 26: short bm_width; ! 27: short bm_height; ! 28: short bm_bitsPerPixel; ! 29: } BitMap; ! 30: ! 31: typedef short a_Bitmap[5]; ! 32: ! 33: typedef short a_FontWidthEntryPtr[2]; ! 34: ! 35: typedef struct _FontData { ! 36: a_Bitmap f_characters; ! 37: short f_firstChar; ! 38: short f_lastChar; ! 39: a_FontWidthEntryPtr f_leftArray; ! 40: short f_baseline; ! 41: short f_spaceIndex; ! 42: short f_fixedWidth; ! 43: } FontData;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.