1
/* This file is part of the FreeType project */
3
/* ft_conf.h for VMS using MMS or MMK */
6
/* we need the following because there are some typedefs in this file */
11
/* Define to empty if the keyword does not work. */
14
/* Define if you have a working `mmap' system call. */
15
/* #undef HAVE_MMAP */
17
/* Define if you have the <stdlib.h> header file. */
18
#define HAVE_STDLIB_H 1
20
/* Define if the X Window System is missing or not being used. */
21
/* #undef X_DISPLAY_MISSING */
23
/* The number of bytes in a int. */
26
/* The number of bytes in a long. */
29
/* Define if you have the getpagesize function. */
30
#define HAVE_GETPAGESIZE 1
32
/* Define if you have the memcpy function. */
35
/* Define if you have the memmove function. */
36
#define HAVE_MEMMOVE 1
38
/* Define if you have the <fcntl.h> header file. */
39
#define HAVE_FCNTL_H 1
41
/* Define if you have the <unistd.h> header file. */
42
#define HAVE_UNISTD_H 1
44
/* Define if you have the <locale.h> header file. */
45
#define HAVE_LOCALE_H 1
47
/* Define if you have the <libintl.h> header file. */
48
/* #undef HAVE_LIBINTL_H */
50
/* Define if you have the libintl library. */
51
/* #undef HAVE_LIBINTL */
53
/**********************************************************************/
55
/* The following configuration macros can be tweaked manually by */
56
/* a developer to turn on or off certain features or options in the */
57
/* TrueType engine. This may be useful to tune it for specific */
60
/**********************************************************************/
62
/*************************************************************************/
63
/* Define this if the underlying operating system uses a different */
64
/* character width than 8bit for file names. You must then also supply */
65
/* a typedef declaration for defining 'TT_Text'. Default is off. */
67
/* #undef HAVE_TT_TEXT */
70
/*************************************************************************/
71
/* Define this if you want to generate code to support engine extensions */
72
/* Default is on, but if you're satisfied by the basic services provided */
73
/* by the engine and need no extensions, undefine this configuration */
74
/* macro to save a few more bytes. */
76
#define TT_CONFIG_OPTION_EXTEND_ENGINE
79
/*************************************************************************/
80
/* Define this if you want to generate code to support gray-scaling, */
81
/* a.k.a. font-smoothing or anti-aliasing. Default is on, but you can */
82
/* disable it if you don't need it. */
84
#define TT_CONFIG_OPTION_GRAY_SCALING
87
/*************************************************************************/
88
/* Define this if you want to completely disable the use of the bytecode */
89
/* interpreter. Doing so will produce a much smaller library, but the */
90
/* quality of the rendered glyphs will enormously suffer from this. */
92
/* This switch was introduced due to the Apple patents issue which */
93
/* emerged recently on the FreeType lists. We still do not have Apple's */
94
/* opinion on the subject and will change this as soon as we have. */
96
#undef TT_CONFIG_OPTION_NO_INTERPRETER
99
/*************************************************************************/
100
/* Define this if you want to use a big 'switch' statement within the */
101
/* bytecode interpreter. Because some non-optimizing compilers are not */
102
/* able to produce jump tables from such statements, undefining this */
103
/* configuration macro will generate the appropriate C jump table in */
104
/* ttinterp.c. If you use an optimizing compiler, you should leave it */
105
/* defined for better performance and code compactness.. */
107
#define TT_CONFIG_OPTION_INTERPRETER_SWITCH
110
/*************************************************************************/
111
/* Define this if you want to build a 'static' version of the TrueType */
112
/* bytecode interpreter. This will produce much bigger code, which */
113
/* _may_ be faster on some architectures.. */
115
/* Do NOT DEFINE THIS is you build a thread-safe version of the engine */
117
#undef TT_CONFIG_OPTION_STATIC_INTERPRETER
120
/*************************************************************************/
121
/* Define this if you want to build a 'static' version of the scan-line */
122
/* converter (the component which in charge of converting outlines into */
123
/* bitmaps). This will produce a bigger object file for "ttraster.c", */
124
/* which _may_ be faster on some architectures.. */
126
/* Do NOT DEFINE THIS is you build a thread-safe version of the engine */
128
#undef TT_CONFIG_OPTION_STATIC_RASTER
132
/*************************************************************************/
133
/* Define TT_CONFIG_THREAD_SAFE if you want to build a thread-safe */
134
/* version of the library. */
136
/* #undef TT_CONFIG_OPTION_THREAD_SAFE */
139
/**********************************************************************/
141
/* The following macros are used to define the debug level, as well */
142
/* as individual tracing levels for each component. There are */
143
/* currently three modes of operation : */
145
/* - trace mode (define DEBUG_LEVEL_TRACE) */
147
/* The engine prints all error messages, as well as tracing */
148
/* ones, filtered by each component's level */
150
/* - debug mode (define DEBUG_LEVEL_ERROR) */
152
/* Disable tracing, but keeps error output and assertion */
155
/* - release mode (don't define anything) */
157
/* Don't include error-checking or tracing code in the */
158
/* engine's code. Ideal for releases. */
162
/* Each component's tracing level is defined in its own source. */
164
/**********************************************************************/
166
/* Define if you want to use the tracing debug mode */
167
/* #undef DEBUG_LEVEL_TRACE */
169
/* Define if you want to use the error debug mode - ignored if */
170
/* DEBUG_LEVEL_TRACE is defined */
171
/* #undef DEBUG_LEVEL_ERROR */
174
/**************************************************************************/
175
/* Definition of various integer sizes. These types are used by ttcalc */
176
/* and ttinterp (for the 64-bit integers) only.. */
180
typedef signed int TT_Int32;
181
typedef unsigned int TT_Word32;
183
#elif SIZEOF_LONG == 4
185
typedef signed long TT_Int32;
186
typedef unsigned long TT_Word32;
189
#error "no 32bit type found"
194
/* LONG64 must be defined when a 64-bit type is available */
195
/* INT64 must then be defined to this type.. */
201
/* GCC provides the non-ANSI 'long long' 64-bit type. You can activate */
202
/* by defining the TT_USE_LONG_LONG macro in 'ft_conf.h'. Note that this */
203
/* will produce many -ansi warnings during library compilation. */
204
#ifdef TT_USE_LONG_LONG
207
#define INT64 long long
209
#endif /* TT_USE_LONG_LONG */
212
#endif /* FT_CONF_H */