fstobdf.h revision 21c2f794
121c2f794Smrg/* $XFree86: xc/programs/fstobdf/fstobdf.h,v 1.2 2001/08/27 17:41:01 dawes Exp $ */
221c2f794Smrg/*
321c2f794Smrg * Copyright (C) 1998 The XFree86 Project, Inc.  All Rights Reserved.
421c2f794Smrg *
521c2f794Smrg * Permission is hereby granted, free of charge, to any person obtaining a copy
621c2f794Smrg * of this software and associated documentation files (the "Software"), to
721c2f794Smrg * deal in the Software without restriction, including without limitation the
821c2f794Smrg * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
921c2f794Smrg * sell copies of the Software, and to permit persons to whom the Software is
1021c2f794Smrg * furnished to do so, subject to the following conditions:
1121c2f794Smrg *
1221c2f794Smrg * The above copyright notice and this permission notice shall be included in
1321c2f794Smrg * all copies or substantial portions of the Software.
1421c2f794Smrg *
1521c2f794Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1621c2f794Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1721c2f794Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
1821c2f794Smrg * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1921c2f794Smrg * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2021c2f794Smrg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121c2f794Smrg *
2221c2f794Smrg * Except as contained in this notice, the name of the XFree86 Project shall
2321c2f794Smrg * not be used in advertising or otherwise to promote the sale, use or other
2421c2f794Smrg * dealings in this Software without prior written authorization from the
2521c2f794Smrg * XFree86 Project.
2621c2f794Smrg */
2721c2f794Smrg
2821c2f794Smrg#include	<X11/fonts/FSlib.h>
2921c2f794Smrg
3021c2f794Smrgextern Bool EmitHeader ( FILE *outFile, FSXFontInfoHeader *fontHeader,
3121c2f794Smrg			 FSPropInfo *propInfo, FSPropOffset *propOffsets,
3221c2f794Smrg			 unsigned char *propData );
3321c2f794Smrgextern Bool EmitProperties ( FILE *outFile, FSXFontInfoHeader *fontHeader,
3421c2f794Smrg			     FSPropInfo *propInfo, FSPropOffset *propOffsets,
3521c2f794Smrg			     unsigned char *propData );
3621c2f794Smrgextern Bool EmitCharacters ( FILE *outFile, FSServer *fontServer,
3721c2f794Smrg			     FSXFontInfoHeader *fontHeader, Font fontID );
3821c2f794Smrg
3921c2f794Smrgextern unsigned long yResolution; /* intended vertical resoultion for font */
4021c2f794Smrgextern unsigned long pointSize;   /* font height in points */
41