Back to index

tetex-bin  3.0
fontxlfd.h
Go to the documentation of this file.
00001 /*
00002  * $XConsortium: fontxlfd.h,v 1.1 91/05/11 09:12:07 rws Exp $
00003  *
00004  * Copyright 1990 Massachusetts Institute of Technology
00005  *
00006  * Permission to use, copy, modify, distribute, and sell this software and its
00007  * documentation for any purpose is hereby granted without fee, provided that
00008  * the above copyright notice appear in all copies and that both that
00009  * copyright notice and this permission notice appear in supporting
00010  * documentation, and that the name of M.I.T. not be used in advertising or
00011  * publicity pertaining to distribution of the software without specific,
00012  * written prior permission.  M.I.T. makes no representations about the
00013  * suitability of this software for any purpose.  It is provided "as is"
00014  * without express or implied warranty.
00015  *
00016  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
00018  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00019  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
00020  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00021  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00022  *
00023  * Author:  Keith Packard, MIT X Consortium
00024  */
00025 
00026 #ifndef _FONTXLFD_H_
00027 #define _FONTXLFD_H_
00028 
00029 
00030 typedef struct _FontScalable {
00031     int         pixel,
00032                 point,
00033                 x,
00034                 y,
00035                 width;
00036 }           FontScalableRec, *FontScalablePtr;
00037 
00038 extern Bool FontParseXLFDName();
00039 
00040 #define FONT_XLFD_REPLACE_NONE     0
00041 #define FONT_XLFD_REPLACE_STAR     1
00042 #define FONT_XLFD_REPLACE_ZERO     2
00043 #define FONT_XLFD_REPLACE_VALUE    3
00044 
00045 #endif                      /* _FONTXLFD_H_ */