| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ttobjs.h */ | 3 /* ttobjs.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Objects manager (specification). */ | 5 /* Objects manager (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2009, 2011-2013 by */ | 7 /* Copyright 1996-2009, 2011-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 __TTOBJS_H__ | 19 #ifndef __TTOBJS_H__ |
| 20 #define __TTOBJS_H__ | 20 #define __TTOBJS_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 #include "../../include/ft2build.h" | 23 #include <ft2build.h> |
| 24 #include "../../include/freetype/internal/ftobjs.h" | 24 #include FT_INTERNAL_OBJECTS_H |
| 25 #include "../../include/freetype/internal/tttypes.h" | 25 #include FT_INTERNAL_TRUETYPE_TYPES_H |
| 26 | 26 |
| 27 | 27 |
| 28 FT_BEGIN_HEADER | 28 FT_BEGIN_HEADER |
| 29 | 29 |
| 30 | 30 |
| 31 /*************************************************************************/ | 31 /*************************************************************************/ |
| 32 /* */ | 32 /* */ |
| 33 /* <Type> */ | 33 /* <Type> */ |
| 34 /* TT_Driver */ | 34 /* TT_Driver */ |
| 35 /* */ | 35 /* */ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 FT_Long loop; | 90 FT_Long loop; |
| 91 FT_F26Dot6 minimum_distance; | 91 FT_F26Dot6 minimum_distance; |
| 92 FT_Int round_state; | 92 FT_Int round_state; |
| 93 | 93 |
| 94 FT_Bool auto_flip; | 94 FT_Bool auto_flip; |
| 95 FT_F26Dot6 control_value_cutin; | 95 FT_F26Dot6 control_value_cutin; |
| 96 FT_F26Dot6 single_width_cutin; | 96 FT_F26Dot6 single_width_cutin; |
| 97 FT_F26Dot6 single_width_value; | 97 FT_F26Dot6 single_width_value; |
| 98 FT_Short delta_base; | 98 FT_UShort delta_base; |
| 99 FT_Short delta_shift; | 99 FT_UShort delta_shift; |
| 100 | 100 |
| 101 FT_Byte instruct_control; | 101 FT_Byte instruct_control; |
| 102 /* According to Greg Hitchcock from Microsoft, the `scan_control' */ | 102 /* According to Greg Hitchcock from Microsoft, the `scan_control' */ |
| 103 /* variable as documented in the TrueType specification is a 32-bit */ | 103 /* variable as documented in the TrueType specification is a 32-bit */ |
| 104 /* integer; the high-word part holds the SCANTYPE value, the low-word */ | 104 /* integer; the high-word part holds the SCANTYPE value, the low-word */ |
| 105 /* part the SCANCTRL value. We separate it into two fields. */ | 105 /* part the SCANCTRL value. We separate it into two fields. */ |
| 106 FT_Bool scan_control; | 106 FT_Bool scan_control; |
| 107 FT_Int scan_type; | 107 FT_Int scan_type; |
| 108 | 108 |
| 109 FT_UShort gep0; | 109 FT_UShort gep0; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 | 326 |
| 327 /* debugging variables */ | 327 /* debugging variables */ |
| 328 | 328 |
| 329 /* When using the debugger, we must keep the */ | 329 /* When using the debugger, we must keep the */ |
| 330 /* execution context tied to the instance */ | 330 /* execution context tied to the instance */ |
| 331 /* object rather than asking it on demand. */ | 331 /* object rather than asking it on demand. */ |
| 332 | 332 |
| 333 FT_Bool debug; | 333 FT_Bool debug; |
| 334 TT_ExecContext context; | 334 TT_ExecContext context; |
| 335 | 335 |
| 336 FT_Bool bytecode_ready; | 336 /* if negative, `fpgm' (resp. `prep'), wasn't executed yet; */ |
| 337 FT_Bool cvt_ready; | 337 /* otherwise it is the returned error code */ |
| 338 FT_Error bytecode_ready; |
| 339 FT_Error cvt_ready; |
| 338 | 340 |
| 339 #endif /* TT_USE_BYTECODE_INTERPRETER */ | 341 #endif /* TT_USE_BYTECODE_INTERPRETER */ |
| 340 | 342 |
| 341 } TT_SizeRec; | 343 } TT_SizeRec; |
| 342 | 344 |
| 343 | 345 |
| 344 /*************************************************************************/ | 346 /*************************************************************************/ |
| 345 /* */ | 347 /* */ |
| 346 /* TrueType driver class. */ | 348 /* TrueType driver class. */ |
| 347 /* */ | 349 /* */ |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 /* auxiliary */ | 435 /* auxiliary */ |
| 434 #define IS_HINTED( flags ) ( ( flags & FT_LOAD_NO_HINTING ) == 0 ) | 436 #define IS_HINTED( flags ) ( ( flags & FT_LOAD_NO_HINTING ) == 0 ) |
| 435 | 437 |
| 436 | 438 |
| 437 FT_END_HEADER | 439 FT_END_HEADER |
| 438 | 440 |
| 439 #endif /* __TTOBJS_H__ */ | 441 #endif /* __TTOBJS_H__ */ |
| 440 | 442 |
| 441 | 443 |
| 442 /* END */ | 444 /* END */ |
| OLD | NEW |