| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* cidparse.h */ | 3 /* cidparse.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* CID-keyed Type1 parser (specification). */ | 5 /* CID-keyed Type1 parser (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2001, 2002, 2003, 2004 by */ | 7 /* Copyright 1996-2004, 2014 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 |
| 18 | 18 |
| 19 #ifndef __CIDPARSE_H__ | 19 #ifndef __CIDPARSE_H__ |
| 20 #define __CIDPARSE_H__ | 20 #define __CIDPARSE_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 #include "../../include/ft2build.h" | 23 #include <ft2build.h> |
| 24 #include "../../include/freetype/internal/t1types.h" | 24 #include FT_INTERNAL_TYPE1_TYPES_H |
| 25 #include "../../include/freetype/internal/ftstream.h" | 25 #include FT_INTERNAL_STREAM_H |
| 26 #include "../../include/freetype/internal/psaux.h" | 26 #include FT_INTERNAL_POSTSCRIPT_AUX_H |
| 27 | 27 |
| 28 | 28 |
| 29 FT_BEGIN_HEADER | 29 FT_BEGIN_HEADER |
| 30 | 30 |
| 31 | 31 |
| 32 /*************************************************************************/ | 32 /*************************************************************************/ |
| 33 /* */ | 33 /* */ |
| 34 /* <Struct> */ | 34 /* <Struct> */ |
| 35 /* CID_Parser */ | 35 /* CID_Parser */ |
| 36 /* */ | 36 /* */ |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 FT_LOCAL( void ) | 85 FT_LOCAL( void ) |
| 86 cid_parser_done( CID_Parser* parser ); | 86 cid_parser_done( CID_Parser* parser ); |
| 87 | 87 |
| 88 | 88 |
| 89 /*************************************************************************/ | 89 /*************************************************************************/ |
| 90 /* */ | 90 /* */ |
| 91 /* PARSING ROUTINES */ | 91 /* PARSING ROUTINES */ |
| 92 /* */ | 92 /* */ |
| 93 /*************************************************************************/ | 93 /*************************************************************************/ |
| 94 | 94 |
| 95 #define cid_parser_skip_spaces( p ) \ | 95 #define cid_parser_skip_spaces( p ) \ |
| 96 (p)->root.funcs.skip_spaces( &(p)->root ) | 96 (p)->root.funcs.skip_spaces( &(p)->root ) |
| 97 #define cid_parser_skip_PS_token( p ) \ | 97 #define cid_parser_skip_PS_token( p ) \ |
| 98 (p)->root.funcs.skip_PS_token( &(p)->root ) | 98 (p)->root.funcs.skip_PS_token( &(p)->root ) |
| 99 | 99 |
| 100 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root ) | 100 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root ) |
| 101 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) | 101 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) |
| 102 | 102 |
| 103 #define cid_parser_to_coord_array( p, m, c ) \ | 103 #define cid_parser_to_coord_array( p, m, c ) \ |
| 104 (p)->root.funcs.to_coord_array( &(p)->root, m, c ) | 104 (p)->root.funcs.to_coord_array( &(p)->root, m, c ) |
| 105 #define cid_parser_to_fixed_array( p, m, f, t ) \ | 105 #define cid_parser_to_fixed_array( p, m, f, t ) \ |
| 106 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) | 106 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) |
| 107 #define cid_parser_to_token( p, t ) \ | 107 #define cid_parser_to_token( p, t ) \ |
| 108 (p)->root.funcs.to_token( &(p)->root, t ) | 108 (p)->root.funcs.to_token( &(p)->root, t ) |
| 109 #define cid_parser_to_token_array( p, t, m, c ) \ | 109 #define cid_parser_to_token_array( p, t, m, c ) \ |
| 110 (p)->root.funcs.to_token_array( &(p)->root, t, m, c ) | 110 (p)->root.funcs.to_token_array( &(p)->root, t, m, c ) |
| 111 | 111 |
| 112 #define cid_parser_load_field( p, f, o ) \ | 112 #define cid_parser_load_field( p, f, o ) \ |
| 113 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 ) | 113 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 ) |
| 114 #define cid_parser_load_field_table( p, f, o ) \ | 114 #define cid_parser_load_field_table( p, f, o ) \ |
| 115 (p)->root.funcs.load_field_table( &(p)->root, f, o, 0, 0 ) | 115 (p)->root.funcs.load_field_table( &(p)->root, f, o, 0, 0 ) |
| 116 | 116 |
| 117 | 117 |
| 118 FT_END_HEADER | 118 FT_END_HEADER |
| 119 | 119 |
| 120 #endif /* __CIDPARSE_H__ */ | 120 #endif /* __CIDPARSE_H__ */ |
| 121 | 121 |
| 122 | 122 |
| 123 /* END */ | 123 /* END */ |
| OLD | NEW |