| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* t1parse.h */ | 3 /* t1parse.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Type 1 parser (specification). */ | 5 /* Type 1 parser (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2001, 2002, 2003, 2008 by */ | 7 /* Copyright 1996-2015 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
| 11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
| 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
| 14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
| 15 /* */ | 15 /* */ |
| 16 /***************************************************************************/ | 16 /***************************************************************************/ |
| 17 | 17 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 FT_ULong private_len; | 70 FT_ULong private_len; |
| 71 | 71 |
| 72 FT_Bool in_pfb; | 72 FT_Bool in_pfb; |
| 73 FT_Bool in_memory; | 73 FT_Bool in_memory; |
| 74 FT_Bool single_block; | 74 FT_Bool single_block; |
| 75 | 75 |
| 76 } T1_ParserRec, *T1_Parser; | 76 } T1_ParserRec, *T1_Parser; |
| 77 | 77 |
| 78 | 78 |
| 79 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l ) | 79 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l ) |
| 80 #define T1_Done_Table( p ) \ | |
| 81 do \ | |
| 82 { \ | |
| 83 if ( (p)->funcs.done ) \ | |
| 84 (p)->funcs.done( p ); \ | |
| 85 } while ( 0 ) | |
| 86 #define T1_Release_Table( p ) \ | 80 #define T1_Release_Table( p ) \ |
| 87 do \ | 81 do \ |
| 88 { \ | 82 { \ |
| 89 if ( (p)->funcs.release ) \ | 83 if ( (p)->funcs.release ) \ |
| 90 (p)->funcs.release( p ); \ | 84 (p)->funcs.release( p ); \ |
| 91 } while ( 0 ) | 85 } while ( 0 ) |
| 92 | 86 |
| 93 | 87 |
| 94 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) | 88 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) |
| 95 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) | 89 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 126 FT_LOCAL( void ) | 120 FT_LOCAL( void ) |
| 127 T1_Finalize_Parser( T1_Parser parser ); | 121 T1_Finalize_Parser( T1_Parser parser ); |
| 128 | 122 |
| 129 | 123 |
| 130 FT_END_HEADER | 124 FT_END_HEADER |
| 131 | 125 |
| 132 #endif /* __T1PARSE_H__ */ | 126 #endif /* __T1PARSE_H__ */ |
| 133 | 127 |
| 134 | 128 |
| 135 /* END */ | 129 /* END */ |
| OLD | NEW |