File:  [CSRG BSD Unix] / 43BSDTahoe / new / X / libibm / libsrc / font.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

/* $Header: /var/lib/cvsd/repos/CSRG/43BSDTahoe/new/X/libibm/libsrc/font.h,v 1.1.1.1 2018/04/24 16:12:58 root Exp $ */
/* Copyright 1985 Massachusetts Institute of Technology */

/* font.h - Definitions required to access X fonts
 * 		
 *
 *		Copyright (c) 1986 Brown University
 *
 * Permission to use, copy, modify and distribute this software and its
 * documentation for any purpose and without fee is hereby granted, provided
 * that the above copyright notice appear in all copies, and that both
 * that copyright notice and this permission notice appear in supporting
 * documentation, and that the name of Brown University not be used in
 * advertising or publicity pertaining to distribution of the software
 * without specific, written prior permission. Brown University makes no
 * representations about the suitability of this software for any purpose.
 * It is provided "as-is" without express or implied warranty.
 */

#define CHARPERFONT 256

typedef short a_BitmapEntryPtr[2];

typedef struct _Bitmap {
        a_BitmapEntryPtr bm_address;
        short bm_width;
        short bm_height;
        short bm_bitsPerPixel;
} BitMap;

typedef short a_Bitmap[5];

typedef short a_FontWidthEntryPtr[2];

typedef struct _FontData {
        a_Bitmap f_characters;
        short f_firstChar;
        short f_lastChar;
        a_FontWidthEntryPtr f_leftArray;
        short f_baseline;
        short f_spaceIndex;
        short f_fixedWidth;
} FontData;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.