1 /* Copyright (C) 1997, 1998 artofcode LLC.  All rights reserved.
2 
3   This program is free software; you can redistribute it and/or modify it
4   under the terms of the GNU General Public License as published by the
5   Free Software Foundation; either version 2 of the License, or (at your
6   option) any later version.
7 
8   This program is distributed in the hope that it will be useful, but
9   WITHOUT ANY WARRANTY; without even the implied warranty of
10   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11   General Public License for more details.
12 
13   You should have received a copy of the GNU General Public License along
14   with this program; if not, write to the Free Software Foundation, Inc.,
15   59 Temple Place, Suite 330, Boston, MA, 02111-1307.
16 
17 */
18 
19 /*$Id: gxftype.h,v 1.2.6.1.2.1 2003/01/17 00:49:03 giles Exp $ */
20 /* Definition of font type and bitmap font behavior */
21 
22 #ifndef gxftype_INCLUDED
23 #  define gxftype_INCLUDED
24 
25 /* Define the known font types. */
26 /* These numbers must be the same as the values of FontType */
27 /* in font dictionaries. */
28 typedef enum {
29     ft_composite = 0,
30     ft_encrypted = 1,
31     ft_encrypted2 = 2,
32     ft_user_defined = 3,
33     ft_disk_based = 4,
34     ft_CID_encrypted = 9,	/* CIDFontType 0 */
35     ft_CID_user_defined = 10,	/* CIDFontType 1 */
36     ft_CID_TrueType = 11,	/* CIDFontType 2 */
37     ft_Chameleon = 14,
38     ft_CID_bitmap = 32,		/* CIDFontType 4 */
39     ft_TrueType = 42
40 } font_type;
41 
42 /* Define the bitmap font behaviors. */
43 /* These numbers must be the same as the values of the ExactSize, */
44 /* InBetweenSize, and TransformedChar entries in font dictionaries. */
45 typedef enum {
46     fbit_use_outlines = 0,
47     fbit_use_bitmaps = 1,
48     fbit_transform_bitmaps = 2
49 } fbit_type;
50 
51 #endif /* gxftype_INCLUDED */
52