Make macros for header file names optional.
We no longer have to take care of the 8.3 file name limit; this allows us (a) to introduce longer, meaningful file names, and (b) to avoid macro names in `#include' lines altogether since some compilers (most notably Visual C++) doesn't support this properly. */*: Replace #include FOO_H with #include <freetype/foo.h> or something similar. Also update the documentation.
This commit is contained in:
parent
9e6e903cc4
commit
e13391333f
19
ChangeLog
19
ChangeLog
|
@ -1,3 +1,22 @@
|
|||
2020-06-08 David Turner <david@freetype.org>
|
||||
|
||||
Make macros for header file names optional.
|
||||
|
||||
We no longer have to take care of the 8.3 file name limit; this
|
||||
allows us (a) to introduce longer, meaningful file names, and (b) to
|
||||
avoid macro names in `#include' lines altogether since some
|
||||
compilers (most notably Visual C++) doesn't support this properly.
|
||||
|
||||
*/*: Replace
|
||||
|
||||
#include FOO_H
|
||||
|
||||
with
|
||||
|
||||
#include <freetype/foo.h>
|
||||
|
||||
or something similar. Also update the documentation.
|
||||
|
||||
2020-06-02 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps.
|
||||
|
|
|
@ -68,8 +68,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||
|
@ -152,7 +152,7 @@
|
|||
|
||||
static const char* ft_trace_toggles[trace_count + 1] =
|
||||
{
|
||||
#include FT_INTERNAL_TRACE_H
|
||||
#include <freetype/internal/fttrace.h>
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -96,10 +96,10 @@ Free_VecPooled( APTR poolHeader,
|
|||
|
||||
#include <ft2build.h>
|
||||
#include FT_CONFIG_CONFIG_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include FT_SYSTEM_H
|
||||
#include FT_ERRORS_H
|
||||
#include FT_TYPES_H
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
#include <freetype/ftsystem.h>
|
||||
#include <freetype/fterrors.h>
|
||||
#include <freetype/fttypes.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -93,7 +93,7 @@ cat >$tmpdir/main.c << END
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_Library library;
|
||||
|
|
|
@ -63,9 +63,9 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_TRUETYPE_TAGS_H
|
||||
#include FT_INTERNAL_STREAM_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/tttags.h>
|
||||
#include <freetype/internal/ftstream.h>
|
||||
#include "ftbase.h"
|
||||
|
||||
#if defined( __GNUC__ ) || defined( __IBMC__ )
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# generated by Autoconf, under the same distribution terms as the rest of
|
||||
# that program.
|
||||
#
|
||||
# serial 4
|
||||
# serial 5
|
||||
|
||||
# AC_CHECK_FT2([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
# Test for FreeType 2, and define FT2_CFLAGS and FT2_LIBS.
|
||||
|
@ -116,7 +116,7 @@ AC_DEFUN([AC_CHECK_FT2],
|
|||
AC_LANG_SOURCE([[
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
#include <ft2build.h>
|
||||
/* we use our special ftconfig.h file, not the standard one */
|
||||
#include <ftconfig.h>
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include FT_SYSTEM_H
|
||||
#include FT_ERRORS_H
|
||||
#include FT_TYPES_H
|
||||
#include FT_INTERNAL_STREAM_H
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
#include <freetype/ftsystem.h>
|
||||
#include <freetype/fterrors.h>
|
||||
#include <freetype/fttypes.h>
|
||||
#include <freetype/internal/ftstream.h>
|
||||
|
||||
/* memory-mapping includes and definitions */
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
#include <ft2build.h>
|
||||
/* we use our special ftconfig.h file, not the standard one */
|
||||
#include <ftconfig.h>
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include FT_SYSTEM_H
|
||||
#include FT_ERRORS_H
|
||||
#include FT_TYPES_H
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
#include <freetype/ftsystem.h>
|
||||
#include <freetype/fterrors.h>
|
||||
#include <freetype/fttypes.h>
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
|
||||
/* memory-mapping includes and definitions */
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||
|
@ -154,7 +154,7 @@
|
|||
|
||||
static const char* ft_trace_toggles[trace_count + 1] =
|
||||
{
|
||||
#include FT_INTERNAL_TRACE_H
|
||||
#include <freetype/internal/fttrace.h>
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||
|
@ -138,7 +138,7 @@
|
|||
|
||||
static const char* ft_trace_toggles[trace_count + 1] =
|
||||
{
|
||||
#include FT_INTERNAL_TRACE_H
|
||||
#include <freetype/internal/fttrace.h>
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -8,13 +8,15 @@ specific environments.
|
|||
I. Standard procedure
|
||||
---------------------
|
||||
|
||||
* DISABLE PRE-COMPILED HEADERS! This is very important for Visual
|
||||
C++, because FreeType uses lines like:
|
||||
* If you use macro names for FreeType header files (while mandatory
|
||||
in earlier versions, this is now optional since FreeType version
|
||||
2.11) it is necessary to disable pre-compiled headers. This is
|
||||
very important for Visual C++, because lines like
|
||||
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
which are not correctly supported by this compiler while being ISO
|
||||
C compliant!
|
||||
are not correctly supported by this compiler while being ISO C
|
||||
compliant!
|
||||
|
||||
* You need to add the directory `include' to your include path when
|
||||
compiling the library.
|
||||
|
|
|
@ -38,7 +38,7 @@ The libtool-specific number does not equal the release number but is
|
|||
tied to it.
|
||||
|
||||
The release number is available at *compile* time through the
|
||||
following macros defined in FT_FREETYPE_H:
|
||||
following macros defined in `freetype.h':
|
||||
|
||||
- FREETYPE_MAJOR: major release number
|
||||
- FREETYPE_MINOR: minor release number
|
||||
|
@ -99,7 +99,7 @@ other release numbers.
|
|||
AC_TRY_CPP([
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#if FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH < 21002
|
||||
# error FreeType version too low.
|
||||
|
|
|
@ -73,9 +73,16 @@
|
|||
* Macro definitions used to `#include` specific header files.
|
||||
*
|
||||
* @description:
|
||||
* The following macros are defined to the name of specific FreeType~2
|
||||
* header files. They can be used directly in `#include` statements as
|
||||
* in:
|
||||
* In addition to the normal scheme of including header files like
|
||||
*
|
||||
* ```
|
||||
* #include <freetype/freetype.h>
|
||||
* #include <freetype/ftmm.h>
|
||||
* #include <freetype/ftglyph.h>
|
||||
* ```
|
||||
*
|
||||
* it is possible to used named macros instead. They can be used
|
||||
* directly in `#include` statements as in
|
||||
*
|
||||
* ```
|
||||
* #include FT_FREETYPE_H
|
||||
|
@ -83,13 +90,9 @@
|
|||
* #include FT_GLYPH_H
|
||||
* ```
|
||||
*
|
||||
* There are several reasons why we are now using macros to name public
|
||||
* header files. The first one is that such macros are not limited to
|
||||
* the infamous 8.3~naming rule required by DOS (and
|
||||
* `FT_MULTIPLE_MASTERS_H` is a lot more meaningful than `ftmm.h`).
|
||||
*
|
||||
* The second reason is that it allows for more flexibility in the way
|
||||
* FreeType~2 is installed on a given system.
|
||||
* These macros were introduced to overcome the infamous 8.3~naming rule
|
||||
* required by DOS (and `FT_MULTIPLE_MASTERS_H` is a lot more meaningful
|
||||
* than `ftmm.h`).
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -797,16 +800,19 @@
|
|||
#define FT_CACHE_INTERNAL_IMAGE_H FT_CACHE_H
|
||||
#define FT_CACHE_INTERNAL_SBITS_H FT_CACHE_H
|
||||
|
||||
|
||||
/*
|
||||
* Include internal headers definitions from `<internal/...>` only when
|
||||
* building the library.
|
||||
*/
|
||||
/* TODO(david): Move this section below to a different header */
|
||||
#ifdef FT2_BUILD_LIBRARY
|
||||
#define FT_INTERNAL_INTERNAL_H <freetype/internal/internal.h>
|
||||
#include FT_INTERNAL_INTERNAL_H
|
||||
#endif /* FT2_BUILD_LIBRARY */
|
||||
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
|
||||
|
||||
/* We disable the warning `conditional expression is constant' here */
|
||||
/* in order to compile cleanly with the maximum level of warnings. */
|
||||
/* In particular, the warning complains about stuff like `while(0)' */
|
||||
/* which is very useful in macro definitions. There is no benefit */
|
||||
/* in having it enabled. */
|
||||
#pragma warning( disable : 4127 )
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
#endif /* FT2_BUILD_LIBRARY */
|
||||
|
||||
#endif /* FTHEADER_H_ */
|
||||
|
||||
|
|
|
@ -22,17 +22,13 @@
|
|||
|
||||
#ifndef FT_FREETYPE_H
|
||||
#error "`ft2build.h' hasn't been included yet!"
|
||||
#error "Please always use macros to include FreeType header files."
|
||||
#error "Example:"
|
||||
#error " #include <ft2build.h>"
|
||||
#error " #include FT_FREETYPE_H"
|
||||
#endif
|
||||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_CONFIG_CONFIG_H
|
||||
#include FT_TYPES_H
|
||||
#include FT_ERRORS_H
|
||||
#include <freetype/fttypes.h>
|
||||
#include <freetype/fterrors.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
@ -51,22 +47,15 @@ FT_BEGIN_HEADER
|
|||
* How client applications should include FreeType header files.
|
||||
*
|
||||
* @description:
|
||||
* To be as flexible as possible (and for historical reasons), FreeType
|
||||
* uses a very special inclusion scheme to load header files, for example
|
||||
* To be as flexible as possible (and for historical reasons), you must
|
||||
* load file `ft2build.h` first before other header files, for example
|
||||
*
|
||||
* ```
|
||||
* #include <ft2build.h>
|
||||
*
|
||||
* #include FT_FREETYPE_H
|
||||
* #include FT_OUTLINE_H
|
||||
* #include <freetype/freetype.h>
|
||||
* #include <freetype/ftoutln.h>
|
||||
* ```
|
||||
*
|
||||
* A compiler and its preprocessor only needs an include path to find the
|
||||
* file `ft2build.h`; the exact locations and names of the other FreeType
|
||||
* header files are hidden by @header_file_macros, loaded by
|
||||
* `ft2build.h`. The API documentation always gives the header macro
|
||||
* name needed for a particular function.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTBDF_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_COLOR_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftcolor.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTBZIP2_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_GLYPH_H
|
||||
#include <freetype/ftglyph.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTCID_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTCOLOR_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#define FTDRIVER_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_PARAMETER_TAGS_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftparams.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
* const char* err_msg;
|
||||
* } ft_errors[] =
|
||||
*
|
||||
* #include FT_ERRORS_H
|
||||
* #include <freetype/fterrors.h>
|
||||
* ```
|
||||
*
|
||||
* An alternative to using an array is a switch statement.
|
||||
|
@ -124,7 +124,7 @@
|
|||
|
||||
|
||||
/* include module base error codes */
|
||||
#include FT_MODULE_ERRORS_H
|
||||
#include <freetype/ftmoderr.h>
|
||||
|
||||
|
||||
/*******************************************************************/
|
||||
|
@ -197,7 +197,7 @@
|
|||
|
||||
|
||||
/* now include the error codes */
|
||||
#include FT_ERROR_DEFINITIONS_H
|
||||
#include <freetype/fterrdef.h>
|
||||
|
||||
|
||||
#ifdef FT_ERROR_END_LIST
|
||||
|
@ -232,11 +232,16 @@
|
|||
#undef FT_ERR_PREFIX
|
||||
#endif
|
||||
|
||||
/* FT_INCLUDE_ERR_PROTOS: Control if function prototypes should be */
|
||||
/* included with `#include FT_ERRORS_H'. This is */
|
||||
/* only true where `FT_ERRORDEF` is undefined. */
|
||||
/* FT_ERR_PROTOS_DEFINED: Actual multiple-inclusion protection of */
|
||||
/* `fterrors.h`. */
|
||||
/* FT_INCLUDE_ERR_PROTOS: Control whether function prototypes should be */
|
||||
/* included with */
|
||||
/* */
|
||||
/* #include <freetype/fterrors.h> */
|
||||
/* */
|
||||
/* This is only true where `FT_ERRORDEF` is */
|
||||
/* undefined. */
|
||||
/* */
|
||||
/* FT_ERR_PROTOS_DEFINED: Actual multiple-inclusion protection of */
|
||||
/* `fterrors.h`. */
|
||||
#ifdef FT_INCLUDE_ERR_PROTOS
|
||||
#undef FT_INCLUDE_ERR_PROTOS
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTFNTFMT_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTGASP_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#define FTGXVAL_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTGZIP_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#define FTINCREM_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_PARAMETER_TAGS_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftparams.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#define FTLCDFIL_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_PARAMETER_TAGS_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftparams.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTLZW_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_TYPE1_TABLES_H
|
||||
#include <freetype/t1tables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
* const char* mod_err_msg
|
||||
* } ft_mod_errors[] =
|
||||
*
|
||||
* #include FT_MODULE_ERRORS_H
|
||||
* #include <freetype/ftmoderr.h>
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#define FTOTVAL_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTPARAMS_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTPFR_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_MODULE_H
|
||||
#include FT_GLYPH_H
|
||||
#include <freetype/ftmodapi.h>
|
||||
#include <freetype/ftglyph.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_PARAMETER_TAGS_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/ftparams.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#define FTSTROKE_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_OUTLINE_H
|
||||
#include FT_GLYPH_H
|
||||
#include <freetype/ftoutln.h>
|
||||
#include <freetype/ftglyph.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef FTTRIGON_H_
|
||||
#define FTTRIGON_H_
|
||||
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
#include <ft2build.h>
|
||||
#include FT_CONFIG_CONFIG_H
|
||||
#include FT_SYSTEM_H
|
||||
#include FT_IMAGE_H
|
||||
#include <freetype/ftsystem.h>
|
||||
#include <freetype/ftimage.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define FTWINFNT_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
#define CFFOTYPES_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include FT_INTERNAL_CFF_TYPES_H
|
||||
#include FT_INTERNAL_TRUETYPE_TYPES_H
|
||||
#include FT_SERVICE_POSTSCRIPT_CMAPS_H
|
||||
#include FT_INTERNAL_POSTSCRIPT_HINTS_H
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
#include <freetype/internal/cfftypes.h>
|
||||
#include <freetype/internal/tttypes.h>
|
||||
#include <freetype/internal/services/svpscmap.h>
|
||||
#include <freetype/internal/pshints.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_TYPE1_TABLES_H
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_SERVICE_POSTSCRIPT_CMAPS_H
|
||||
#include FT_INTERNAL_POSTSCRIPT_HINTS_H
|
||||
#include FT_INTERNAL_TYPE1_TYPES_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/t1tables.h>
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/internal/services/svpscmap.h>
|
||||
#include <freetype/internal/pshints.h>
|
||||
#include <freetype/internal/t1types.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <ft2build.h>
|
||||
#include FT_CONFIG_CONFIG_H
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
@ -56,7 +56,7 @@ FT_BEGIN_HEADER
|
|||
/* defining the enumeration */
|
||||
typedef enum FT_Trace_
|
||||
{
|
||||
#include FT_INTERNAL_TRACE_H
|
||||
#include <freetype/internal/fttrace.h>
|
||||
trace_count
|
||||
|
||||
} FT_Trace;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_MODULE_H
|
||||
#include <freetype/ftmodapi.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
@ -138,8 +138,6 @@ FT_BEGIN_HEADER
|
|||
FT_BASE( void )
|
||||
FT_GlyphLoader_Add( FT_GlyphLoader loader );
|
||||
|
||||
/* */
|
||||
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <ft2build.h>
|
||||
#include FT_CONFIG_CONFIG_H
|
||||
#include FT_TYPES_H
|
||||
#include <freetype/fttypes.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
@ -389,8 +389,6 @@ extern "C++"
|
|||
#define FT_STRCPYN( dst, src, size ) \
|
||||
ft_mem_strcpyn( (char*)dst, (const char*)(src), (FT_ULong)(size) )
|
||||
|
||||
/* */
|
||||
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
|
|
|
@ -27,18 +27,18 @@
|
|||
#define FTOBJS_H_
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_RENDER_H
|
||||
#include FT_SIZES_H
|
||||
#include FT_LCD_FILTER_H
|
||||
#include FT_INTERNAL_MEMORY_H
|
||||
#include FT_INTERNAL_GLYPH_LOADER_H
|
||||
#include FT_INTERNAL_DRIVER_H
|
||||
#include FT_INTERNAL_AUTOHINT_H
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_INTERNAL_CALC_H
|
||||
#include <freetype/ftrender.h>
|
||||
#include <freetype/ftsizes.h>
|
||||
#include <freetype/ftlcdfil.h>
|
||||
#include <freetype/internal/ftmemory.h>
|
||||
#include <freetype/internal/ftgloadr.h>
|
||||
#include <freetype/internal/ftdrv.h>
|
||||
#include <freetype/internal/autohint.h>
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/internal/ftcalc.h>
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
#include FT_INCREMENTAL_H
|
||||
#include <freetype/ftincrem.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -653,7 +653,7 @@ FT_BEGIN_HEADER
|
|||
FT_BASE( void )
|
||||
FT_Done_GlyphSlot( FT_GlyphSlot slot );
|
||||
|
||||
/* */
|
||||
/* */
|
||||
|
||||
#define FT_REQUEST_WIDTH( req ) \
|
||||
( (req)->horiResolution \
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -486,33 +486,6 @@ FT_BEGIN_HEADER
|
|||
|
||||
/* */
|
||||
|
||||
/*
|
||||
* The header files containing the services.
|
||||
*/
|
||||
|
||||
#define FT_SERVICE_BDF_H <freetype/internal/services/svbdf.h>
|
||||
#define FT_SERVICE_CFF_TABLE_LOAD_H <freetype/internal/services/svcfftl.h>
|
||||
#define FT_SERVICE_CID_H <freetype/internal/services/svcid.h>
|
||||
#define FT_SERVICE_FONT_FORMAT_H <freetype/internal/services/svfntfmt.h>
|
||||
#define FT_SERVICE_GLYPH_DICT_H <freetype/internal/services/svgldict.h>
|
||||
#define FT_SERVICE_GX_VALIDATE_H <freetype/internal/services/svgxval.h>
|
||||
#define FT_SERVICE_KERNING_H <freetype/internal/services/svkern.h>
|
||||
#define FT_SERVICE_METRICS_VARIATIONS_H <freetype/internal/services/svmetric.h>
|
||||
#define FT_SERVICE_MULTIPLE_MASTERS_H <freetype/internal/services/svmm.h>
|
||||
#define FT_SERVICE_OPENTYPE_VALIDATE_H <freetype/internal/services/svotval.h>
|
||||
#define FT_SERVICE_PFR_H <freetype/internal/services/svpfr.h>
|
||||
#define FT_SERVICE_POSTSCRIPT_CMAPS_H <freetype/internal/services/svpscmap.h>
|
||||
#define FT_SERVICE_POSTSCRIPT_INFO_H <freetype/internal/services/svpsinfo.h>
|
||||
#define FT_SERVICE_POSTSCRIPT_NAME_H <freetype/internal/services/svpostnm.h>
|
||||
#define FT_SERVICE_PROPERTIES_H <freetype/internal/services/svprop.h>
|
||||
#define FT_SERVICE_SFNT_H <freetype/internal/services/svsfnt.h>
|
||||
#define FT_SERVICE_TRUETYPE_ENGINE_H <freetype/internal/services/svtteng.h>
|
||||
#define FT_SERVICE_TRUETYPE_GLYF_H <freetype/internal/services/svttglyf.h>
|
||||
#define FT_SERVICE_TT_CMAP_H <freetype/internal/services/svttcmap.h>
|
||||
#define FT_SERVICE_WINFNT_H <freetype/internal/services/svwinfnt.h>
|
||||
|
||||
/* */
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
#endif /* FTSERV_H_ */
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_SYSTEM_H
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include <freetype/ftsystem.h>
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -1,67 +0,0 @@
|
|||
/****************************************************************************
|
||||
*
|
||||
* internal.h
|
||||
*
|
||||
* Internal header files (specification only).
|
||||
*
|
||||
* Copyright (C) 1996-2020 by
|
||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
*
|
||||
* This file is part of the FreeType project, and may only be used,
|
||||
* modified, and distributed under the terms of the FreeType project
|
||||
* license, LICENSE.TXT. By continuing to use, modify, or distribute
|
||||
* this file you indicate that you have read the license and
|
||||
* understand and accept it fully.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
* This file is automatically included by `ft2build.h`. Do not include it
|
||||
* manually!
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define FT_INTERNAL_OBJECTS_H <freetype/internal/ftobjs.h>
|
||||
#define FT_INTERNAL_STREAM_H <freetype/internal/ftstream.h>
|
||||
#define FT_INTERNAL_MEMORY_H <freetype/internal/ftmemory.h>
|
||||
#define FT_INTERNAL_DEBUG_H <freetype/internal/ftdebug.h>
|
||||
#define FT_INTERNAL_CALC_H <freetype/internal/ftcalc.h>
|
||||
#define FT_INTERNAL_HASH_H <freetype/internal/fthash.h>
|
||||
#define FT_INTERNAL_DRIVER_H <freetype/internal/ftdrv.h>
|
||||
#define FT_INTERNAL_TRACE_H <freetype/internal/fttrace.h>
|
||||
#define FT_INTERNAL_GLYPH_LOADER_H <freetype/internal/ftgloadr.h>
|
||||
#define FT_INTERNAL_SFNT_H <freetype/internal/sfnt.h>
|
||||
#define FT_INTERNAL_SERVICE_H <freetype/internal/ftserv.h>
|
||||
#define FT_INTERNAL_RFORK_H <freetype/internal/ftrfork.h>
|
||||
#define FT_INTERNAL_VALIDATE_H <freetype/internal/ftvalid.h>
|
||||
|
||||
#define FT_INTERNAL_TRUETYPE_TYPES_H <freetype/internal/tttypes.h>
|
||||
#define FT_INTERNAL_TYPE1_TYPES_H <freetype/internal/t1types.h>
|
||||
#define FT_INTERNAL_WOFF_TYPES_H <freetype/internal/wofftypes.h>
|
||||
|
||||
#define FT_INTERNAL_POSTSCRIPT_AUX_H <freetype/internal/psaux.h>
|
||||
#define FT_INTERNAL_POSTSCRIPT_HINTS_H <freetype/internal/pshints.h>
|
||||
#define FT_INTERNAL_POSTSCRIPT_PROPS_H <freetype/internal/ftpsprop.h>
|
||||
|
||||
#define FT_INTERNAL_AUTOHINT_H <freetype/internal/autohint.h>
|
||||
|
||||
#define FT_INTERNAL_CFF_TYPES_H <freetype/internal/cfftypes.h>
|
||||
#define FT_INTERNAL_CFF_OBJECTS_TYPES_H <freetype/internal/cffotypes.h>
|
||||
|
||||
|
||||
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
|
||||
|
||||
/* We disable the warning `conditional expression is constant' here */
|
||||
/* in order to compile cleanly with the maximum level of warnings. */
|
||||
/* In particular, the warning complains about stuff like `while(0)' */
|
||||
/* which is very useful in macro definitions. There is no benefit */
|
||||
/* in having it enabled. */
|
||||
#pragma warning( disable : 4127 )
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
||||
/* END */
|
|
@ -22,13 +22,13 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include FT_INTERNAL_TYPE1_TYPES_H
|
||||
#include FT_INTERNAL_HASH_H
|
||||
#include FT_INTERNAL_TRUETYPE_TYPES_H
|
||||
#include FT_SERVICE_POSTSCRIPT_CMAPS_H
|
||||
#include FT_INTERNAL_CFF_TYPES_H
|
||||
#include FT_INTERNAL_CFF_OBJECTS_TYPES_H
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
#include <freetype/internal/t1types.h>
|
||||
#include <freetype/internal/fthash.h>
|
||||
#include <freetype/internal/tttypes.h>
|
||||
#include <freetype/internal/services/svpscmap.h>
|
||||
#include <freetype/internal/cfftypes.h>
|
||||
#include <freetype/internal/cffotypes.h>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_TYPE1_TABLES_H
|
||||
#include <freetype/freetype.h>
|
||||
#include <freetype/t1tables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVBDF_H_
|
||||
#define SVBDF_H_
|
||||
|
||||
#include FT_BDF_H
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/ftbdf.h>
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVCFFTL_H_
|
||||
#define SVCFFTL_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_INTERNAL_CFF_TYPES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/internal/cfftypes.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVCID_H_
|
||||
#define SVCID_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVFNTFMT_H_
|
||||
#define SVFNTFMT_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVGLDICT_H_
|
||||
#define SVGLDICT_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
#ifndef SVGXVAL_H_
|
||||
#define SVGXVAL_H_
|
||||
|
||||
#include FT_GX_VALIDATE_H
|
||||
#include FT_INTERNAL_VALIDATE_H
|
||||
#include <freetype/ftgxval.h>
|
||||
#include <freetype/internal/ftvalid.h>
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVKERN_H_
|
||||
#define SVKERN_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/tttables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVMETRIC_H_
|
||||
#define SVMETRIC_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVMM_H_
|
||||
#define SVMM_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVOTVAL_H_
|
||||
#define SVOTVAL_H_
|
||||
|
||||
#include FT_OPENTYPE_VALIDATE_H
|
||||
#include FT_INTERNAL_VALIDATE_H
|
||||
#include <freetype/ftotval.h>
|
||||
#include <freetype/internal/ftvalid.h>
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVPFR_H_
|
||||
#define SVPFR_H_
|
||||
|
||||
#include FT_PFR_H
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/ftpfr.h>
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
@ -56,7 +56,6 @@ FT_BEGIN_HEADER
|
|||
|
||||
};
|
||||
|
||||
/* */
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVPOSTNM_H_
|
||||
#define SVPOSTNM_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef SVPSCMAP_H_
|
||||
#define SVPSCMAP_H_
|
||||
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVPSINFO_H_
|
||||
#define SVPSINFO_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_INTERNAL_TYPE1_TYPES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/internal/t1types.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVSFNT_H_
|
||||
#define SVSFNT_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/tttables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#ifndef SVTTCMAP_H_
|
||||
#define SVTTCMAP_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/tttables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVTTENG_H_
|
||||
#define SVTTENG_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_MODULE_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/ftmodapi.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
#ifndef SVTTGLYF_H_
|
||||
#define SVTTGLYF_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/tttables.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#ifndef SVWINFNT_H_
|
||||
#define SVWINFNT_H_
|
||||
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_WINFONTS_H
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/ftwinfnt.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_INTERNAL_DRIVER_H
|
||||
#include FT_INTERNAL_TRUETYPE_TYPES_H
|
||||
#include FT_INTERNAL_WOFF_TYPES_H
|
||||
#include <freetype/internal/ftdrv.h>
|
||||
#include <freetype/internal/tttypes.h>
|
||||
#include <freetype/internal/wofftypes.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_TYPE1_TABLES_H
|
||||
#include FT_INTERNAL_POSTSCRIPT_HINTS_H
|
||||
#include FT_INTERNAL_SERVICE_H
|
||||
#include FT_INTERNAL_HASH_H
|
||||
#include FT_SERVICE_POSTSCRIPT_CMAPS_H
|
||||
#include <freetype/t1tables.h>
|
||||
#include <freetype/internal/pshints.h>
|
||||
#include <freetype/internal/ftserv.h>
|
||||
#include <freetype/internal/fthash.h>
|
||||
#include <freetype/internal/services/svpscmap.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include FT_COLOR_H
|
||||
#include <freetype/tttables.h>
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
#include <freetype/ftcolor.h>
|
||||
|
||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
||||
#include FT_MULTIPLE_MASTERS_H
|
||||
#include <freetype/ftmm.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_TRUETYPE_TABLES_H
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include <freetype/tttables.h>
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
|
||||
|
||||
FT_BEGIN_HEADER
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include <freetype/freetype.h>
|
||||
|
||||
#ifdef FREETYPE_H
|
||||
#error "freetype.h of FreeType 1 has been loaded!"
|
||||
|
|
|
@ -18,16 +18,14 @@
|
|||
|
||||
/**************************************************************************
|
||||
*
|
||||
* This is the 'entry point' for FreeType header file inclusions. It is
|
||||
* the only header file which should be included directly; all other
|
||||
* FreeType header files should be accessed with macro names (after
|
||||
* including `ft2build.h`).
|
||||
* This is the 'entry point' for FreeType header file inclusions, to be
|
||||
* loaded before all other header files.
|
||||
*
|
||||
* A typical example is
|
||||
*
|
||||
* ```
|
||||
* #include <ft2build.h>
|
||||
* #include FT_FREETYPE_H
|
||||
* #include <freetype/freetype.h>
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
*/
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_ADVANCES_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/ftadvanc.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
#include "afglobal.h"
|
||||
#include "aflatin.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#ifndef AFERRORS_H_
|
||||
#define AFERRORS_H_
|
||||
|
||||
#include FT_MODULE_ERRORS_H
|
||||
#include <freetype/ftmoderr.h>
|
||||
|
||||
#undef FTERRORS_H_
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
#define FT_ERR_PREFIX AF_Err_
|
||||
#define FT_ERR_BASE FT_Mod_Err_Autofit
|
||||
|
||||
#include FT_ERRORS_H
|
||||
#include <freetype/fterrors.h>
|
||||
|
||||
#endif /* AFERRORS_H_ */
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "afglobal.h"
|
||||
#include "afranges.h"
|
||||
#include "afshaper.h"
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
#include "afhints.h"
|
||||
#include "aferrors.h"
|
||||
#include FT_INTERNAL_CALC_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/internal/ftcalc.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_ADVANCES_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include <freetype/ftadvanc.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
|
||||
#include "afglobal.h"
|
||||
#include "aflatin.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include <ft2build.h>
|
||||
#include FT_ADVANCES_H
|
||||
#include <freetype/ftadvanc.h>
|
||||
|
||||
|
||||
#ifdef FT_OPTION_AUTOFIT2
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "aferrors.h"
|
||||
#include "afmodule.h"
|
||||
|
||||
#include FT_INTERNAL_CALC_H
|
||||
#include <freetype/internal/ftcalc.h>
|
||||
|
||||
|
||||
/* Initialize glyph loader. */
|
||||
|
|
|
@ -53,10 +53,10 @@
|
|||
void* _af_debug_hints = _af_debug_hints_rec;
|
||||
#endif
|
||||
|
||||
#include FT_INTERNAL_OBJECTS_H
|
||||
#include FT_INTERNAL_DEBUG_H
|
||||
#include FT_DRIVER_H
|
||||
#include FT_SERVICE_PROPERTIES_H
|
||||
#include <freetype/internal/ftobjs.h>
|
||||
#include <freetype/internal/ftdebug.h>
|
||||
#include <freetype/ftdriver.h>
|
||||
#include <freetype/internal/services/svprop.h>
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue