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