/***************************************************************************/ /* */ /* cfftables.h */ /* */ /* cff format table definitions */ /* */ /* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2008, 2009 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ /* modified, and distributed under the terms of the FreeType project */ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ /* this file you indicate that you have read the license and */ /* understand and accept it fully. */ /* */ /***************************************************************************/ #ifndef __CFFTABLES_H__ #define __CFFTABLES_H__ #include #include FT_FREETYPE_H #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" #error "Please fix the directory search order for header files" #error "so that freetype.h of FreeType 2 is found first." #endif FT_BEGIN_HEADER /*************************************************************************/ /* */ /*
*/ /* cff_tables */ /* */ /* */ /* CFF Tables */ /* */ /* <Abstract> */ /* Compact Font Format specific font tables. */ /* */ /* <Description> */ /* This section contains the definition of CFF specific tables. */ /* */ /*************************************************************************/ typedef enum cff_predefined_table_ { cff_predefined_table_standard_encoding, cff_predefined_table_expert_encoding, cff_predefined_table_isoadobe_charset, cff_predefined_table_expert_charset, cff_predefined_table_expertsubset_charset } cff_predefined_table; /* for encodings this returns the mapping from character code to (predefined) string ID */ /* for charsets this returns the mapping from glyph index to (predefined) string ID */ FT_EXPORT( const FT_UShort* ) cff_get_predefined_table( cff_predefined_table table ); /* returns the amount of entries present in the corresponding mapping */ FT_EXPORT( FT_UShort ) cff_get_predefined_table_length( cff_predefined_table table ); FT_END_HEADER #endif /* __CFFTABLES_H__ */ /* END */