1 /* Copyright (C) 1997, 1998 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: gxftype.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */ 18 /* Definition of font type and bitmap font behavior */ 19 20 #ifndef gxftype_INCLUDED 21 # define gxftype_INCLUDED 22 23 /* Define the known font types. */ 24 /* These numbers must be the same as the values of FontType */ 25 /* in font dictionaries. */ 26 typedef enum { 27 ft_composite = 0, 28 ft_encrypted = 1, 29 ft_encrypted2 = 2, 30 ft_user_defined = 3, 31 ft_disk_based = 4, 32 ft_CID_encrypted = 9, /* CIDFontType 0 */ 33 ft_CID_user_defined = 10, /* CIDFontType 1 */ 34 ft_CID_TrueType = 11, /* CIDFontType 2 */ 35 ft_Chameleon = 14, 36 ft_CID_bitmap = 32, /* CIDFontType 4 */ 37 ft_TrueType = 42 38 } font_type; 39 40 /* Define the bitmap font behaviors. */ 41 /* These numbers must be the same as the values of the ExactSize, */ 42 /* InBetweenSize, and TransformedChar entries in font dictionaries. */ 43 typedef enum { 44 fbit_use_outlines = 0, 45 fbit_use_bitmaps = 1, 46 fbit_transform_bitmaps = 2 47 } fbit_type; 48 49 #endif /* gxftype_INCLUDED */ 50