Go to the documentation of this file. 38 #include <vtkfreetype/include/ft2build.h> 39 #include FT_CONFIG_OPTIONS_H 40 #include FT_CONFIG_STANDARD_LIBRARY_H 58 #define HAVE_UNISTD_H 1 59 #define HAVE_FCNTL_H 1 70 #define FT_CHAR_BIT CHAR_BIT 74 #undef FT_USE_AUTOCONF_SIZEOF_TYPES 76 #include "vtk_kwiml.h" 77 #define FT_SIZEOF_INT KWIML_ABI_SIZEOF_INT 78 #define FT_SIZEOF_LONG KWIML_ABI_SIZEOF_LONG 80 #elif defined(FT_USE_AUTOCONF_SIZEOF_TYPES) 84 #define FT_SIZEOF_INT SIZEOF_INT 85 #define FT_SIZEOF_LONG SIZEOF_LONG 96 #if FT_UINT_MAX == 0xFFFFUL 97 #define FT_SIZEOF_INT ( 16 / FT_CHAR_BIT ) 98 #elif FT_UINT_MAX == 0xFFFFFFFFUL 99 #define FT_SIZEOF_INT ( 32 / FT_CHAR_BIT ) 100 #elif FT_UINT_MAX > 0xFFFFFFFFUL && FT_UINT_MAX == 0xFFFFFFFFFFFFFFFFUL 101 #define FT_SIZEOF_INT ( 64 / FT_CHAR_BIT ) 103 #error "Unsupported size of `int' type!" 108 #if FT_ULONG_MAX == 0xFFFFFFFFUL 109 #define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT ) 110 #elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFUL 111 #define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT ) 112 #elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFFFFFFFUL 113 #define FT_SIZEOF_LONG ( 64 / FT_CHAR_BIT ) 115 #error "Unsupported size of `long' type!" 123 #define FT_UNUSED( arg ) ( (arg) = (arg) ) 145 #if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) ) 148 #include "TargetConditionals.h" 151 # if !(TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) 158 #include "AvailabilityMacros.h" 160 #if defined( __LP64__ ) && \ 161 ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 ) 162 #define FT_MACINTOSH 1 165 #elif defined( __SC__ ) || defined( __MRC__ ) 167 #include "ConditionalMacros.h" 169 #define FT_MACINTOSH 1 177 #if defined( __sgi ) && !defined( __GNUC__ ) 178 #if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 ) 179 #pragma set woff 3505 228 typedef signed XXX FT_Int32;
239 typedef unsigned XXX FT_UInt32;
251 typedef signed XXX FT_Int64;
263 typedef unsigned XXX FT_UInt64;
269 #if FT_SIZEOF_INT == 4 271 typedef signed int FT_Int32;
272 typedef unsigned int FT_UInt32;
274 #elif FT_SIZEOF_LONG == 4 276 typedef signed long FT_Int32;
277 typedef unsigned long FT_UInt32;
280 #error "no 32bit type found -- please check your configuration files" 285 #if FT_SIZEOF_INT >= 4 288 typedef unsigned int FT_UFast;
290 #elif FT_SIZEOF_LONG >= 4 292 typedef long FT_Fast;
293 typedef unsigned long FT_UFast;
300 #if FT_SIZEOF_LONG == 8 304 #define FT_INT64 long 305 #define FT_UINT64 unsigned long 309 #elif ( FT_SIZEOF_LONG == 4 ) && \ 310 defined( HAVE_LONG_LONG_INT ) && \ 312 #pragma GCC diagnostic ignored "-Wlong-long" 314 #define FT_INT64 long long int 315 #define FT_UINT64 unsigned long long int 324 #elif !defined( __STDC__ ) || defined( FT_CONFIG_OPTION_FORCE_INT64 ) 326 #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L 329 #define FT_INT64 long long int 330 #define FT_UINT64 unsigned long long int 332 #elif defined( _MSC_VER ) && _MSC_VER >= 900 336 #define FT_INT64 __int64 337 #define FT_UINT64 unsigned __int64 339 #elif defined( __BORLANDC__ ) 346 #define FT_INT64 __int64 347 #define FT_UINT64 unsigned __int64 349 #elif defined( __WATCOMC__ ) 353 #elif defined( __MWERKS__ ) 356 #define FT_INT64 long long int 357 #define FT_UINT64 unsigned long long int 359 #elif defined( __GNUC__ ) 363 #define FT_INT64 long long int 364 #define FT_UINT64 unsigned long long int 371 typedef FT_INT64 FT_Int64;
372 typedef FT_UINT64 FT_UInt64;
379 #define FT_UINT_TO_POINTER( x ) (void*)(unsigned __int64)(x) 381 #define FT_UINT_TO_POINTER( x ) (void*)(unsigned long)(x) 392 #define FT_BEGIN_STMNT do { 393 #define FT_END_STMNT } while ( 0 ) 394 #define FT_DUMMY_STMNT FT_BEGIN_STMNT FT_END_STMNT 398 #if ( ( defined( __GNUC__ ) && __GNUC__ >= 2 ) || \ 399 ( defined( __IBMC__ ) && __IBMC__ >= 1210 && \ 400 defined( __IBM__TYPEOF__ ) ) || \ 401 ( defined( __SUNPRO_C ) && __SUNPRO_C >= 0x5110 && !__STDC__ ) ) 402 #define FT_TYPEOF( type ) ( __typeof__ ( type ) ) 404 #define FT_TYPEOF( type ) 416 #ifdef FT_MAKE_OPTION_SINGLE_OBJECT 418 #define FT_LOCAL( x ) static x 419 #define FT_LOCAL_DEF( x ) static x 424 #define FT_LOCAL( x ) extern "C" x 425 #define FT_LOCAL_DEF( x ) extern "C" x 427 #define FT_LOCAL( x ) extern x 428 #define FT_LOCAL_DEF( x ) x 433 #define FT_LOCAL_ARRAY( x ) extern const x 434 #define FT_LOCAL_ARRAY_DEF( x ) const x 446 #define FT_BASE( x ) extern "C" x 448 #define FT_BASE( x ) extern x 457 #define FT_BASE_DEF( x ) x 459 #define FT_BASE_DEF( x ) x 501 #ifdef FT2_BUILD_LIBRARY 503 #if defined( _WIN32 ) && defined( DLL_EXPORT ) 504 #define FT_EXPORT( x ) __declspec( dllexport ) x 505 #elif defined( __GNUC__ ) && __GNUC__ >= 4 506 #define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x 507 #elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550 508 #define FT_EXPORT( x ) __global x 509 #elif defined( __cplusplus ) 510 #define FT_EXPORT( x ) extern "C" x 512 #define FT_EXPORT( x ) extern x 517 #if defined( _WIN32 ) && defined( DLL_IMPORT ) 518 #define FT_EXPORT( x ) __declspec( dllimport ) x 519 #elif defined( __cplusplus ) 520 #define FT_EXPORT( x ) extern "C" x 522 #define FT_EXPORT( x ) extern x 530 #ifndef FT_EXPORT_DEF 533 #define FT_EXPORT_DEF( x ) extern "C" x 535 #define FT_EXPORT_DEF( x ) extern x 541 #ifndef FT_EXPORT_VAR 544 #define FT_EXPORT_VAR( x ) extern "C" x 546 #define FT_EXPORT_VAR( x ) extern x 581 #ifndef FT_CALLBACK_DEF 583 #define FT_CALLBACK_DEF( x ) extern "C" x 585 #define FT_CALLBACK_DEF( x ) static x 589 #ifndef FT_BASE_CALLBACK 591 #define FT_BASE_CALLBACK( x ) extern "C" x 592 #define FT_BASE_CALLBACK_DEF( x ) extern "C" x 594 #define FT_BASE_CALLBACK( x ) extern x 595 #define FT_BASE_CALLBACK_DEF( x ) x 599 #ifndef FT_CALLBACK_TABLE 601 #define FT_CALLBACK_TABLE extern "C" 602 #define FT_CALLBACK_TABLE_DEF extern "C" 604 #define FT_CALLBACK_TABLE extern 605 #define FT_CALLBACK_TABLE_DEF