David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 1 | /***************************************************************************/ |
| 2 | /* */ |
| 3 | /* ttpost.h */ |
| 4 | /* */ |
| 5 | /* Postcript name table processing for TrueType and OpenType fonts */ |
| 6 | /* (specification). */ |
| 7 | /* */ |
Werner Lemberg | 920d41e | 2000-06-05 14:32:32 +0000 | [diff] [blame^] | 8 | /* Copyright 1996-2000 by */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 9 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 10 | /* */ |
Werner Lemberg | 920d41e | 2000-06-05 14:32:32 +0000 | [diff] [blame^] | 11 | /* This file is part of the FreeType project, and may only be used, */ |
| 12 | /* modified, and distributed under the terms of the FreeType project */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 13 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 14 | /* this file you indicate that you have read the license and */ |
| 15 | /* understand and accept it fully. */ |
| 16 | /* */ |
| 17 | /***************************************************************************/ |
| 18 | |
| 19 | |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 20 | #ifndef TTPOST_H |
| 21 | #define TTPOST_H |
| 22 | |
David Turner | efce08d | 2000-05-11 18:23:52 +0000 | [diff] [blame] | 23 | #include <freetype/config/ftconfig.h> |
| 24 | #include <freetype/internal/tttypes.h> |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 25 | |
| 26 | #ifdef __cplusplus |
| 27 | extern "C" { |
| 28 | #endif |
| 29 | |
| 30 | |
| 31 | #define TT_Err_Invalid_Post_Table_Format 0x0B00 |
| 32 | #define TT_Err_Invalid_Post_Table 0x0B01 |
| 33 | |
| 34 | #if 0 |
| 35 | /* the 258 standard Mac glyph names, used for format 1.0 and 2.5 */ |
| 36 | LOCAL_DEF |
| 37 | const TT_String* TT_Mac_Postscript_Names[]; |
| 38 | #endif |
| 39 | |
| 40 | |
David Turner | bfe2f98 | 2000-05-12 12:17:15 +0000 | [diff] [blame] | 41 | LOCAL_DEF |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 42 | TT_Error TT_Get_PS_Name( TT_Face face, |
| 43 | TT_UInt index, |
| 44 | TT_String** PSname ); |
| 45 | |
| 46 | |
| 47 | LOCAL_DEF |
| 48 | void TT_Free_Post_Names( TT_Face face ); |
| 49 | |
| 50 | |
| 51 | #ifdef __cplusplus |
| 52 | } |
| 53 | #endif |
| 54 | |
| 55 | |
| 56 | #endif /* TTPOST_H */ |
| 57 | |
| 58 | |
| 59 | /* END */ |