xref: /plan9/sys/src/cmd/gs/src/gsxfont.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
2 
3   This software is provided AS-IS with no warranty, either express or
4   implied.
5 
6   This software is distributed under license and may not be copied,
7   modified or distributed except as expressly authorized under the terms
8   of the license contained in the file LICENSE in this distribution.
9 
10   For more information about licensing, please refer to
11   http://www.ghostscript.com/licensing/. For information on
12   commercial licensing, go to http://www.artifex.com/licensing/ or
13   contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14   San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15 */
16 
17 /* $Id: gsxfont.h,v 1.4 2002/02/21 22:24:52 giles Exp $ */
18 /* External font client definitions for Ghostscript library */
19 
20 #ifndef gsxfont_INCLUDED
21 #  define gsxfont_INCLUDED
22 
23 /* Define a character glyph identifier.  This is opaque, probably an index */
24 /* into the font.  Glyph identifiers are font-specific. */
25 typedef ulong gx_xglyph;
26 
27 #define gx_no_xglyph ((gx_xglyph)~0L)
28 
29 /* Structure for xfont procedures. */
30 struct gx_xfont_procs_s;
31 typedef struct gx_xfont_procs_s gx_xfont_procs;
32 
33 /* A generic xfont. */
34 struct gx_xfont_s;
35 typedef struct gx_xfont_s gx_xfont;
36 
37 #endif /* gsxfont_INCLUDED */
38