From e13391333f501967db8823025ce8c63259b5d57e Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 8 Jun 2020 13:31:55 +0200 Subject: [PATCH] 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 or something similar. Also update the documentation. --- ChangeLog | 19 ++++++ builds/amiga/src/base/ftdebug.c | 6 +- builds/amiga/src/base/ftsystem.c | 8 +-- builds/cmake/testbuild.sh | 2 +- builds/mac/ftmac.c | 6 +- builds/unix/freetype2.m4 | 4 +- builds/unix/ftsystem.c | 10 +-- builds/vms/ftsystem.c | 10 +-- builds/wince/ftdebug.c | 6 +- builds/windows/ftdebug.c | 6 +- docs/INSTALL.ANY | 10 +-- docs/VERSIONS.TXT | 4 +- include/freetype/config/ftheader.h | 42 +++++++----- include/freetype/freetype.h | 23 ++----- include/freetype/ftadvanc.h | 2 +- include/freetype/ftbbox.h | 2 +- include/freetype/ftbdf.h | 2 +- include/freetype/ftbitmap.h | 4 +- include/freetype/ftbzip2.h | 2 +- include/freetype/ftcache.h | 2 +- include/freetype/ftcid.h | 2 +- include/freetype/ftcolor.h | 2 +- include/freetype/ftdriver.h | 4 +- include/freetype/fterrors.h | 21 +++--- include/freetype/ftfntfmt.h | 2 +- include/freetype/ftgasp.h | 2 +- include/freetype/ftglyph.h | 2 +- include/freetype/ftgxval.h | 2 +- include/freetype/ftgzip.h | 2 +- include/freetype/ftincrem.h | 4 +- include/freetype/ftlcdfil.h | 4 +- include/freetype/ftlist.h | 2 +- include/freetype/ftlzw.h | 2 +- include/freetype/ftmm.h | 2 +- include/freetype/ftmodapi.h | 2 +- include/freetype/ftmoderr.h | 2 +- include/freetype/ftotval.h | 2 +- include/freetype/ftoutln.h | 2 +- include/freetype/ftparams.h | 2 +- include/freetype/ftpfr.h | 2 +- include/freetype/ftrender.h | 4 +- include/freetype/ftsizes.h | 2 +- include/freetype/ftsnames.h | 4 +- include/freetype/ftstroke.h | 4 +- include/freetype/ftsynth.h | 2 +- include/freetype/fttrigon.h | 2 +- include/freetype/fttypes.h | 4 +- include/freetype/ftwinfnt.h | 2 +- include/freetype/internal/autohint.h | 2 +- include/freetype/internal/cffotypes.h | 10 +-- include/freetype/internal/cfftypes.h | 12 ++-- include/freetype/internal/ftcalc.h | 2 +- include/freetype/internal/ftdebug.h | 4 +- include/freetype/internal/ftdrv.h | 2 +- include/freetype/internal/ftgloadr.h | 4 +- include/freetype/internal/fthash.h | 2 +- include/freetype/internal/ftmemory.h | 4 +- include/freetype/internal/ftobjs.h | 22 +++--- include/freetype/internal/ftpsprop.h | 2 +- include/freetype/internal/ftrfork.h | 2 +- include/freetype/internal/ftserv.h | 27 -------- include/freetype/internal/ftstream.h | 4 +- include/freetype/internal/internal.h | 67 ------------------- include/freetype/internal/psaux.h | 14 ++-- include/freetype/internal/pshints.h | 4 +- include/freetype/internal/services/svbdf.h | 4 +- include/freetype/internal/services/svcfftl.h | 4 +- include/freetype/internal/services/svcid.h | 2 +- include/freetype/internal/services/svfntfmt.h | 2 +- include/freetype/internal/services/svgldict.h | 2 +- include/freetype/internal/services/svgxval.h | 4 +- include/freetype/internal/services/svkern.h | 4 +- include/freetype/internal/services/svmetric.h | 2 +- include/freetype/internal/services/svmm.h | 2 +- include/freetype/internal/services/svotval.h | 4 +- include/freetype/internal/services/svpfr.h | 5 +- include/freetype/internal/services/svpostnm.h | 2 +- include/freetype/internal/services/svpscmap.h | 2 +- include/freetype/internal/services/svpsinfo.h | 4 +- include/freetype/internal/services/svsfnt.h | 4 +- include/freetype/internal/services/svttcmap.h | 4 +- include/freetype/internal/services/svtteng.h | 4 +- include/freetype/internal/services/svttglyf.h | 4 +- include/freetype/internal/services/svwinfnt.h | 4 +- include/freetype/internal/sfnt.h | 6 +- include/freetype/internal/t1types.h | 10 +-- include/freetype/internal/tttypes.h | 8 +-- include/freetype/internal/wofftypes.h | 4 +- include/freetype/t1tables.h | 2 +- include/freetype/tttables.h | 2 +- include/freetype/tttags.h | 2 +- include/ft2build.h | 8 +-- src/autofit/afcjk.c | 4 +- src/autofit/aferrors.h | 4 +- src/autofit/afglobal.c | 2 +- src/autofit/afhints.c | 4 +- src/autofit/aflatin.c | 4 +- src/autofit/aflatin2.c | 2 +- src/autofit/afloader.c | 2 +- src/autofit/afmodule.c | 8 +-- src/autofit/afmodule.h | 4 +- src/autofit/afshaper.c | 4 +- src/autofit/afshaper.h | 2 +- src/autofit/aftypes.h | 8 +-- src/base/ftadvanc.c | 6 +- src/base/ftbase.h | 2 +- src/base/ftbbox.c | 12 ++-- src/base/ftbdf.c | 6 +- src/base/ftbitmap.c | 8 +-- src/base/ftcalc.c | 10 +-- src/base/ftcid.c | 6 +- src/base/ftcolor.c | 8 +-- src/base/ftdbgmem.c | 10 +-- src/base/ftdebug.c | 6 +- src/base/fterrors.c | 6 +- src/base/ftfntfmt.c | 6 +- src/base/ftfstype.c | 8 +-- src/base/ftgasp.c | 4 +- src/base/ftgloadr.c | 8 +-- src/base/ftglyph.c | 10 +-- src/base/ftgxval.c | 6 +- src/base/fthash.c | 4 +- src/base/ftinit.c | 6 +- src/base/ftlcdfil.c | 8 +-- src/base/ftmac.c | 6 +- src/base/ftmm.c | 10 +-- src/base/ftobjs.c | 44 ++++++------ src/base/ftotval.c | 8 +-- src/base/ftoutln.c | 10 +-- src/base/ftpatent.c | 12 ++-- src/base/ftpfr.c | 6 +- src/base/ftpsprop.c | 10 +-- src/base/ftrfork.c | 6 +- src/base/ftsnames.c | 8 +-- src/base/ftstream.c | 4 +- src/base/ftstroke.c | 12 ++-- src/base/ftsynth.c | 10 +-- src/base/ftsystem.c | 10 +-- src/base/fttrigon.c | 6 +- src/base/fttype1.c | 8 +-- src/base/ftutil.c | 8 +-- src/base/ftwinfnt.c | 8 +-- src/bdf/bdf.h | 6 +- src/bdf/bdfdrivr.c | 14 ++-- src/bdf/bdfdrivr.h | 2 +- src/bdf/bdferror.h | 4 +- src/bdf/bdflib.c | 8 +-- src/bzip2/ftbzip2.c | 12 ++-- src/cache/ftcbasic.c | 6 +- src/cache/ftccache.c | 4 +- src/cache/ftccback.h | 2 +- src/cache/ftccmap.c | 10 +-- src/cache/ftcerror.h | 4 +- src/cache/ftcglyph.c | 6 +- src/cache/ftcimage.c | 6 +- src/cache/ftcimage.h | 2 +- src/cache/ftcmanag.c | 8 +-- src/cache/ftcmanag.h | 2 +- src/cache/ftcmru.c | 6 +- src/cache/ftcmru.h | 2 +- src/cache/ftcsbits.c | 8 +-- src/cache/ftcsbits.h | 2 +- src/cff/cffcmap.c | 2 +- src/cff/cffcmap.h | 2 +- src/cff/cffdrivr.c | 34 +++++----- src/cff/cffdrivr.h | 2 +- src/cff/cfferrs.h | 4 +- src/cff/cffgload.c | 14 ++-- src/cff/cffgload.h | 4 +- src/cff/cffload.c | 16 ++--- src/cff/cffload.h | 4 +- src/cff/cffobjs.c | 28 ++++---- src/cff/cffparse.c | 10 +-- src/cff/cffparse.h | 4 +- src/cid/ciderrs.h | 4 +- src/cid/cidgload.c | 14 ++-- src/cid/cidload.c | 8 +-- src/cid/cidload.h | 2 +- src/cid/cidobjs.c | 12 ++-- src/cid/cidobjs.h | 4 +- src/cid/cidparse.c | 6 +- src/cid/cidparse.h | 6 +- src/cid/cidriver.c | 18 ++--- src/cid/cidriver.h | 2 +- src/gxvalid/gxvalid.h | 8 +-- src/gxvalid/gxvcommn.h | 4 +- src/gxvalid/gxverror.h | 4 +- src/gxvalid/gxvjust.c | 2 +- src/gxvalid/gxvkern.c | 4 +- src/gxvalid/gxvmod.c | 10 +-- src/gxvalid/gxvmod.h | 2 +- src/gxvalid/gxvmort.h | 2 +- src/gxvalid/gxvmorx.h | 2 +- src/gzip/ftgzip.c | 12 ++-- src/lzw/ftlzw.c | 12 ++-- src/lzw/ftzopen.c | 6 +- src/lzw/ftzopen.h | 2 +- src/otvalid/otvalid.h | 8 +-- src/otvalid/otvcommn.h | 2 +- src/otvalid/otverror.h | 4 +- src/otvalid/otvmod.c | 10 +-- src/otvalid/otvmod.h | 2 +- src/pcf/pcf.h | 4 +- src/pcf/pcfdrivr.c | 26 +++---- src/pcf/pcfdrivr.h | 2 +- src/pcf/pcferror.h | 4 +- src/pcf/pcfread.c | 6 +- src/pfr/pfrcmap.c | 2 +- src/pfr/pfrcmap.h | 2 +- src/pfr/pfrdrivr.c | 8 +-- src/pfr/pfrdrivr.h | 2 +- src/pfr/pfrerror.h | 4 +- src/pfr/pfrgload.c | 2 +- src/pfr/pfrload.c | 4 +- src/pfr/pfrload.h | 2 +- src/pfr/pfrobjs.c | 8 +-- src/pfr/pfrsbit.c | 4 +- src/pfr/pfrtypes.h | 2 +- src/psaux/afmparse.c | 6 +- src/psaux/afmparse.h | 2 +- src/psaux/cffdecode.c | 8 +-- src/psaux/cffdecode.h | 2 +- src/psaux/psarrst.c | 2 +- src/psaux/psauxerr.h | 4 +- src/psaux/psauxmod.h | 4 +- src/psaux/psblues.c | 2 +- src/psaux/psconv.c | 4 +- src/psaux/psconv.h | 2 +- src/psaux/pserror.h | 4 +- src/psaux/psfont.c | 2 +- src/psaux/psfont.h | 2 +- src/psaux/psft.c | 8 +-- src/psaux/psft.h | 4 +- src/psaux/pshints.c | 2 +- src/psaux/psintrp.c | 4 +- src/psaux/psobjs.c | 8 +-- src/psaux/psobjs.h | 4 +- src/psaux/psread.c | 2 +- src/psaux/psstack.c | 2 +- src/psaux/pstypes.h | 2 +- src/psaux/t1cmap.c | 2 +- src/psaux/t1cmap.h | 4 +- src/psaux/t1decode.c | 10 +-- src/psaux/t1decode.h | 4 +- src/pshinter/pshalgo.c | 6 +- src/pshinter/pshglob.c | 6 +- src/pshinter/pshglob.h | 4 +- src/pshinter/pshmod.c | 2 +- src/pshinter/pshmod.h | 2 +- src/pshinter/pshnterr.h | 4 +- src/pshinter/pshrec.c | 8 +-- src/pshinter/pshrec.h | 2 +- src/psnames/psmodule.c | 6 +- src/psnames/psmodule.h | 2 +- src/psnames/psnamerr.h | 4 +- src/raster/ftraster.c | 8 +-- src/raster/ftraster.h | 2 +- src/raster/ftrend1.c | 6 +- src/raster/ftrend1.h | 2 +- src/raster/rasterrs.h | 4 +- src/sfnt/pngshim.c | 6 +- src/sfnt/sfdriver.c | 22 +++--- src/sfnt/sfdriver.h | 2 +- src/sfnt/sferrors.h | 4 +- src/sfnt/sfobjs.c | 16 ++--- src/sfnt/sfobjs.h | 4 +- src/sfnt/sfwoff.c | 8 +-- src/sfnt/sfwoff.h | 4 +- src/sfnt/sfwoff2.c | 6 +- src/sfnt/sfwoff2.h | 4 +- src/sfnt/ttbdf.c | 6 +- src/sfnt/ttbdf.h | 2 +- src/sfnt/ttcmap.c | 10 +-- src/sfnt/ttcmap.h | 6 +- src/sfnt/ttcolr.c | 8 +-- src/sfnt/ttcpal.c | 8 +-- src/sfnt/ttkern.c | 6 +- src/sfnt/ttkern.h | 4 +- src/sfnt/ttload.c | 6 +- src/sfnt/ttload.h | 4 +- src/sfnt/ttmtx.c | 8 +-- src/sfnt/ttmtx.h | 4 +- src/sfnt/ttpost.c | 8 +-- src/sfnt/ttpost.h | 2 +- src/sfnt/ttsbit.c | 8 +-- src/sfnt/woff2tags.c | 2 +- src/sfnt/woff2tags.h | 2 +- src/smooth/ftgrays.c | 8 +-- src/smooth/ftgrays.h | 2 +- src/smooth/ftsmerrs.h | 4 +- src/smooth/ftsmooth.c | 6 +- src/smooth/ftsmooth.h | 2 +- src/tools/ftrandom/ftrandom.c | 4 +- src/tools/test_afm.c | 6 +- src/tools/test_bbox.c | 4 +- src/tools/test_trig.c | 4 +- src/truetype/ttdriver.c | 22 +++--- src/truetype/ttdriver.h | 2 +- src/truetype/tterrors.h | 4 +- src/truetype/ttgload.c | 16 ++--- src/truetype/ttgxvar.c | 14 ++-- src/truetype/ttinterp.c | 12 ++-- src/truetype/ttobjs.c | 10 +-- src/truetype/ttobjs.h | 4 +- src/truetype/ttpload.c | 8 +-- src/truetype/ttpload.h | 2 +- src/truetype/ttsubpix.c | 14 ++-- src/type1/t1afm.c | 6 +- src/type1/t1afm.h | 2 +- src/type1/t1driver.c | 26 +++---- src/type1/t1driver.h | 2 +- src/type1/t1errors.h | 4 +- src/type1/t1gload.c | 14 ++-- src/type1/t1load.c | 10 +-- src/type1/t1load.h | 6 +- src/type1/t1objs.c | 14 ++-- src/type1/t1objs.h | 4 +- src/type1/t1parse.c | 6 +- src/type1/t1parse.h | 4 +- src/type42/t42drivr.c | 10 +-- src/type42/t42drivr.h | 2 +- src/type42/t42error.h | 4 +- src/type42/t42objs.c | 6 +- src/type42/t42objs.h | 14 ++-- src/type42/t42parse.c | 6 +- src/type42/t42parse.h | 2 +- src/type42/t42types.h | 8 +-- src/winfonts/fnterrs.h | 4 +- src/winfonts/winfnt.c | 14 ++-- src/winfonts/winfnt.h | 4 +- 330 files changed, 996 insertions(+), 1076 deletions(-) delete mode 100644 include/freetype/internal/internal.h diff --git a/ChangeLog b/ChangeLog index 540dc83aa..b0327cd96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2020-06-08 David Turner + + 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 + + or something similar. Also update the documentation. + 2020-06-02 Werner Lemberg * src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps. diff --git a/builds/amiga/src/base/ftdebug.c b/builds/amiga/src/base/ftdebug.c index 816e62622..6510d206a 100644 --- a/builds/amiga/src/base/ftdebug.c +++ b/builds/amiga/src/base/ftdebug.c @@ -68,8 +68,8 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H +#include +#include #ifdef FT_DEBUG_LEVEL_ERROR @@ -152,7 +152,7 @@ static const char* ft_trace_toggles[trace_count + 1] = { -#include FT_INTERNAL_TRACE_H +#include NULL }; diff --git a/builds/amiga/src/base/ftsystem.c b/builds/amiga/src/base/ftsystem.c index 04eb99955..1dfbd6615 100644 --- a/builds/amiga/src/base/ftsystem.c +++ b/builds/amiga/src/base/ftsystem.c @@ -96,10 +96,10 @@ Free_VecPooled( APTR poolHeader, #include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_DEBUG_H -#include FT_SYSTEM_H -#include FT_ERRORS_H -#include FT_TYPES_H +#include +#include +#include +#include #include #include diff --git a/builds/cmake/testbuild.sh b/builds/cmake/testbuild.sh index 8f8b60055..cc67abd46 100755 --- a/builds/cmake/testbuild.sh +++ b/builds/cmake/testbuild.sh @@ -93,7 +93,7 @@ cat >$tmpdir/main.c << END #include #include -#include FT_FREETYPE_H +#include FT_Library library; diff --git a/builds/mac/ftmac.c b/builds/mac/ftmac.c index b211780ba..bba842452 100644 --- a/builds/mac/ftmac.c +++ b/builds/mac/ftmac.c @@ -63,9 +63,9 @@ #include -#include FT_FREETYPE_H -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include #include "ftbase.h" #if defined( __GNUC__ ) || defined( __IBMC__ ) diff --git a/builds/unix/freetype2.m4 b/builds/unix/freetype2.m4 index c8766caac..207c263fb 100644 --- a/builds/unix/freetype2.m4 +++ b/builds/unix/freetype2.m4 @@ -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 -#include FT_FREETYPE_H +#include #include #include diff --git a/builds/unix/ftsystem.c b/builds/unix/ftsystem.c index ba2595162..dc11dd1e9 100644 --- a/builds/unix/ftsystem.c +++ b/builds/unix/ftsystem.c @@ -19,11 +19,11 @@ #include /* we use our special ftconfig.h file, not the standard one */ #include -#include FT_INTERNAL_DEBUG_H -#include FT_SYSTEM_H -#include FT_ERRORS_H -#include FT_TYPES_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include +#include +#include /* memory-mapping includes and definitions */ #ifdef HAVE_UNISTD_H diff --git a/builds/vms/ftsystem.c b/builds/vms/ftsystem.c index f372f0cd2..177481ab2 100644 --- a/builds/vms/ftsystem.c +++ b/builds/vms/ftsystem.c @@ -19,11 +19,11 @@ #include /* we use our special ftconfig.h file, not the standard one */ #include -#include FT_INTERNAL_DEBUG_H -#include FT_SYSTEM_H -#include FT_ERRORS_H -#include FT_TYPES_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include +#include /* memory-mapping includes and definitions */ #ifdef HAVE_UNISTD_H diff --git a/builds/wince/ftdebug.c b/builds/wince/ftdebug.c index cd3c6cfd4..c6c8e66a5 100644 --- a/builds/wince/ftdebug.c +++ b/builds/wince/ftdebug.c @@ -42,8 +42,8 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H +#include +#include #ifdef FT_DEBUG_LEVEL_ERROR @@ -154,7 +154,7 @@ static const char* ft_trace_toggles[trace_count + 1] = { -#include FT_INTERNAL_TRACE_H +#include NULL }; diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c index ce464a171..81ca8b8d6 100644 --- a/builds/windows/ftdebug.c +++ b/builds/windows/ftdebug.c @@ -42,8 +42,8 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H +#include +#include #ifdef FT_DEBUG_LEVEL_ERROR @@ -138,7 +138,7 @@ static const char* ft_trace_toggles[trace_count + 1] = { -#include FT_INTERNAL_TRACE_H +#include NULL }; diff --git a/docs/INSTALL.ANY b/docs/INSTALL.ANY index 58cc22b82..31d63b399 100644 --- a/docs/INSTALL.ANY +++ b/docs/INSTALL.ANY @@ -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. diff --git a/docs/VERSIONS.TXT b/docs/VERSIONS.TXT index 1cb5982c4..b647fb7bc 100644 --- a/docs/VERSIONS.TXT +++ b/docs/VERSIONS.TXT @@ -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 -#include FT_FREETYPE_H +#include #if FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH < 21002 # error FreeType version too low. diff --git a/include/freetype/config/ftheader.h b/include/freetype/config/ftheader.h index e91598e20..b028ece9c 100644 --- a/include/freetype/config/ftheader.h +++ b/include/freetype/config/ftheader.h @@ -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 + * #include + * #include + * ``` + * + * 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 `` only when - * building the library. - */ +/* TODO(david): Move this section below to a different header */ #ifdef FT2_BUILD_LIBRARY -#define FT_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_ */ diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 6af7557d9..93cc9ab55 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.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 " -#error " #include FT_FREETYPE_H" #endif #include #include FT_CONFIG_CONFIG_H -#include FT_TYPES_H -#include FT_ERRORS_H +#include +#include 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 * - * #include FT_FREETYPE_H - * #include FT_OUTLINE_H + * #include + * #include * ``` - * - * 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. - * */ diff --git a/include/freetype/ftadvanc.h b/include/freetype/ftadvanc.h index c30472bfd..8a43bdd42 100644 --- a/include/freetype/ftadvanc.h +++ b/include/freetype/ftadvanc.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftbbox.h b/include/freetype/ftbbox.h index 294f99697..2adb7326c 100644 --- a/include/freetype/ftbbox.h +++ b/include/freetype/ftbbox.h @@ -32,7 +32,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftbdf.h b/include/freetype/ftbdf.h index 61db27c8f..47323253d 100644 --- a/include/freetype/ftbdf.h +++ b/include/freetype/ftbdf.h @@ -20,7 +20,7 @@ #define FTBDF_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftbitmap.h b/include/freetype/ftbitmap.h index 6c5545576..8d43fd4ed 100644 --- a/include/freetype/ftbitmap.h +++ b/include/freetype/ftbitmap.h @@ -21,8 +21,8 @@ #include -#include FT_FREETYPE_H -#include FT_COLOR_H +#include +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftbzip2.h b/include/freetype/ftbzip2.h index cb8e8458e..a1411eff8 100644 --- a/include/freetype/ftbzip2.h +++ b/include/freetype/ftbzip2.h @@ -20,7 +20,7 @@ #define FTBZIP2_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftcache.h b/include/freetype/ftcache.h index d82c4815c..26f48fe5c 100644 --- a/include/freetype/ftcache.h +++ b/include/freetype/ftcache.h @@ -21,7 +21,7 @@ #include -#include FT_GLYPH_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/ftcid.h b/include/freetype/ftcid.h index 85b74e004..ab002deff 100644 --- a/include/freetype/ftcid.h +++ b/include/freetype/ftcid.h @@ -20,7 +20,7 @@ #define FTCID_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h index b744939dd..44bcb8a48 100644 --- a/include/freetype/ftcolor.h +++ b/include/freetype/ftcolor.h @@ -20,7 +20,7 @@ #define FTCOLOR_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftdriver.h b/include/freetype/ftdriver.h index 19b666ecb..f7ec6f339 100644 --- a/include/freetype/ftdriver.h +++ b/include/freetype/ftdriver.h @@ -20,8 +20,8 @@ #define FTDRIVER_H_ #include -#include FT_FREETYPE_H -#include FT_PARAMETER_TAGS_H +#include +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/fterrors.h b/include/freetype/fterrors.h index 771bc5db5..60a637c77 100644 --- a/include/freetype/fterrors.h +++ b/include/freetype/fterrors.h @@ -89,7 +89,7 @@ * const char* err_msg; * } ft_errors[] = * - * #include FT_ERRORS_H + * #include * ``` * * 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 /*******************************************************************/ @@ -197,7 +197,7 @@ /* now include the error codes */ -#include FT_ERROR_DEFINITIONS_H +#include #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 */ + /* */ + /* 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 diff --git a/include/freetype/ftfntfmt.h b/include/freetype/ftfntfmt.h index ad5a1d416..5e235f3dd 100644 --- a/include/freetype/ftfntfmt.h +++ b/include/freetype/ftfntfmt.h @@ -20,7 +20,7 @@ #define FTFNTFMT_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftgasp.h b/include/freetype/ftgasp.h index aca1a1329..74eb9048c 100644 --- a/include/freetype/ftgasp.h +++ b/include/freetype/ftgasp.h @@ -20,7 +20,7 @@ #define FTGASP_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h index ec515a369..88e63fbde 100644 --- a/include/freetype/ftglyph.h +++ b/include/freetype/ftglyph.h @@ -34,7 +34,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftgxval.h b/include/freetype/ftgxval.h index 691a73b94..e617b81e3 100644 --- a/include/freetype/ftgxval.h +++ b/include/freetype/ftgxval.h @@ -29,7 +29,7 @@ #define FTGXVAL_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftgzip.h b/include/freetype/ftgzip.h index f588c8503..6148b3cf3 100644 --- a/include/freetype/ftgzip.h +++ b/include/freetype/ftgzip.h @@ -20,7 +20,7 @@ #define FTGZIP_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftincrem.h b/include/freetype/ftincrem.h index 8c00cfe41..b1b31670e 100644 --- a/include/freetype/ftincrem.h +++ b/include/freetype/ftincrem.h @@ -20,8 +20,8 @@ #define FTINCREM_H_ #include -#include FT_FREETYPE_H -#include FT_PARAMETER_TAGS_H +#include +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftlcdfil.h b/include/freetype/ftlcdfil.h index 8ecaab82e..31cbbe299 100644 --- a/include/freetype/ftlcdfil.h +++ b/include/freetype/ftlcdfil.h @@ -21,8 +21,8 @@ #define FTLCDFIL_H_ #include -#include FT_FREETYPE_H -#include FT_PARAMETER_TAGS_H +#include +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftlist.h b/include/freetype/ftlist.h index 3f6079f24..f6ce25fef 100644 --- a/include/freetype/ftlist.h +++ b/include/freetype/ftlist.h @@ -29,7 +29,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftlzw.h b/include/freetype/ftlzw.h index 37a53c1b3..aec431cd2 100644 --- a/include/freetype/ftlzw.h +++ b/include/freetype/ftlzw.h @@ -20,7 +20,7 @@ #define FTLZW_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftmm.h b/include/freetype/ftmm.h index 0d839942b..7392fe4a8 100644 --- a/include/freetype/ftmm.h +++ b/include/freetype/ftmm.h @@ -21,7 +21,7 @@ #include -#include FT_TYPE1_TABLES_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h index 64735ffac..09c3a231d 100644 --- a/include/freetype/ftmodapi.h +++ b/include/freetype/ftmodapi.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftmoderr.h b/include/freetype/ftmoderr.h index 5e6aeeb43..f05fc53aa 100644 --- a/include/freetype/ftmoderr.h +++ b/include/freetype/ftmoderr.h @@ -94,7 +94,7 @@ * const char* mod_err_msg * } ft_mod_errors[] = * - * #include FT_MODULE_ERRORS_H + * #include * ``` * */ diff --git a/include/freetype/ftotval.h b/include/freetype/ftotval.h index 6f46c414b..e9127124b 100644 --- a/include/freetype/ftotval.h +++ b/include/freetype/ftotval.h @@ -31,7 +31,7 @@ #define FTOTVAL_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h index fa295b0ab..5039ee4e6 100644 --- a/include/freetype/ftoutln.h +++ b/include/freetype/ftoutln.h @@ -22,7 +22,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftparams.h b/include/freetype/ftparams.h index 255c6bb16..9b893a18b 100644 --- a/include/freetype/ftparams.h +++ b/include/freetype/ftparams.h @@ -20,7 +20,7 @@ #define FTPARAMS_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftpfr.h b/include/freetype/ftpfr.h index 58fbbb78d..bd7f0aa2d 100644 --- a/include/freetype/ftpfr.h +++ b/include/freetype/ftpfr.h @@ -20,7 +20,7 @@ #define FTPFR_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftrender.h b/include/freetype/ftrender.h index 684511190..c33763ca5 100644 --- a/include/freetype/ftrender.h +++ b/include/freetype/ftrender.h @@ -21,8 +21,8 @@ #include -#include FT_MODULE_H -#include FT_GLYPH_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/ftsizes.h b/include/freetype/ftsizes.h index 7dc929521..a99904212 100644 --- a/include/freetype/ftsizes.h +++ b/include/freetype/ftsizes.h @@ -30,7 +30,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftsnames.h b/include/freetype/ftsnames.h index 298276063..46b4dfd5f 100644 --- a/include/freetype/ftsnames.h +++ b/include/freetype/ftsnames.h @@ -24,8 +24,8 @@ #include -#include FT_FREETYPE_H -#include FT_PARAMETER_TAGS_H +#include +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/ftstroke.h b/include/freetype/ftstroke.h index 141af7d0b..18aee4224 100644 --- a/include/freetype/ftstroke.h +++ b/include/freetype/ftstroke.h @@ -20,8 +20,8 @@ #define FTSTROKE_H_ #include -#include FT_OUTLINE_H -#include FT_GLYPH_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/ftsynth.h b/include/freetype/ftsynth.h index 3882e69e6..55b1a39b0 100644 --- a/include/freetype/ftsynth.h +++ b/include/freetype/ftsynth.h @@ -46,7 +46,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/fttrigon.h b/include/freetype/fttrigon.h index 968df1fbf..2ce6b324c 100644 --- a/include/freetype/fttrigon.h +++ b/include/freetype/fttrigon.h @@ -19,7 +19,7 @@ #ifndef FTTRIGON_H_ #define FTTRIGON_H_ -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h index cb785d98b..aaeb9e878 100644 --- a/include/freetype/fttypes.h +++ b/include/freetype/fttypes.h @@ -22,8 +22,8 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_SYSTEM_H -#include FT_IMAGE_H +#include +#include #include diff --git a/include/freetype/ftwinfnt.h b/include/freetype/ftwinfnt.h index bacb8aa37..18341dcf7 100644 --- a/include/freetype/ftwinfnt.h +++ b/include/freetype/ftwinfnt.h @@ -20,7 +20,7 @@ #define FTWINFNT_H_ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/internal/autohint.h b/include/freetype/internal/autohint.h index 438f9c175..f344ff183 100644 --- a/include/freetype/internal/autohint.h +++ b/include/freetype/internal/autohint.h @@ -71,7 +71,7 @@ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/cffotypes.h b/include/freetype/internal/cffotypes.h index 207eeda5f..360af5332 100644 --- a/include/freetype/internal/cffotypes.h +++ b/include/freetype/internal/cffotypes.h @@ -20,11 +20,11 @@ #define CFFOTYPES_H_ #include -#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 +#include +#include +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/cfftypes.h b/include/freetype/internal/cfftypes.h index 40b0fc73c..e48ff1bf9 100644 --- a/include/freetype/internal/cfftypes.h +++ b/include/freetype/internal/cfftypes.h @@ -22,12 +22,12 @@ #include -#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 +#include +#include +#include +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index 3054a4c49..d8236d24b 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftdebug.h b/include/freetype/internal/ftdebug.h index 00d258e64..e7eb29a1a 100644 --- a/include/freetype/internal/ftdebug.h +++ b/include/freetype/internal/ftdebug.h @@ -27,7 +27,7 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER @@ -56,7 +56,7 @@ FT_BEGIN_HEADER /* defining the enumeration */ typedef enum FT_Trace_ { -#include FT_INTERNAL_TRACE_H +#include trace_count } FT_Trace; diff --git a/include/freetype/internal/ftdrv.h b/include/freetype/internal/ftdrv.h index 1dd9206c8..36caa4f3d 100644 --- a/include/freetype/internal/ftdrv.h +++ b/include/freetype/internal/ftdrv.h @@ -21,7 +21,7 @@ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftgloadr.h b/include/freetype/internal/ftgloadr.h index 6f3793b1c..f27dd2b83 100644 --- a/include/freetype/internal/ftgloadr.h +++ b/include/freetype/internal/ftgloadr.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER @@ -138,8 +138,6 @@ FT_BEGIN_HEADER FT_BASE( void ) FT_GlyphLoader_Add( FT_GlyphLoader loader ); - /* */ - FT_END_HEADER diff --git a/include/freetype/internal/fthash.h b/include/freetype/internal/fthash.h index 249188040..5833bc9be 100644 --- a/include/freetype/internal/fthash.h +++ b/include/freetype/internal/fthash.h @@ -44,7 +44,7 @@ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftmemory.h b/include/freetype/internal/ftmemory.h index e0758c127..940510dbf 100644 --- a/include/freetype/internal/ftmemory.h +++ b/include/freetype/internal/ftmemory.h @@ -22,7 +22,7 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_TYPES_H +#include 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 diff --git a/include/freetype/internal/ftobjs.h b/include/freetype/internal/ftobjs.h index 140eebc7c..7c667c13f 100644 --- a/include/freetype/internal/ftobjs.h +++ b/include/freetype/internal/ftobjs.h @@ -27,18 +27,18 @@ #define FTOBJS_H_ #include -#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 +#include +#include +#include +#include +#include +#include +#include +#include #ifdef FT_CONFIG_OPTION_INCREMENTAL -#include FT_INCREMENTAL_H +#include #endif @@ -653,7 +653,7 @@ FT_BEGIN_HEADER FT_BASE( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot ); - /* */ + /* */ #define FT_REQUEST_WIDTH( req ) \ ( (req)->horiResolution \ diff --git a/include/freetype/internal/ftpsprop.h b/include/freetype/internal/ftpsprop.h index 72907c4c3..d52ca2c3b 100644 --- a/include/freetype/internal/ftpsprop.h +++ b/include/freetype/internal/ftpsprop.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftrfork.h b/include/freetype/internal/ftrfork.h index 9a275a515..071743f20 100644 --- a/include/freetype/internal/ftrfork.h +++ b/include/freetype/internal/ftrfork.h @@ -26,7 +26,7 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/ftserv.h b/include/freetype/internal/ftserv.h index bcaf4720d..68336f41d 100644 --- a/include/freetype/internal/ftserv.h +++ b/include/freetype/internal/ftserv.h @@ -486,33 +486,6 @@ FT_BEGIN_HEADER /* */ - /* - * The header files containing the services. - */ - -#define FT_SERVICE_BDF_H -#define FT_SERVICE_CFF_TABLE_LOAD_H -#define FT_SERVICE_CID_H -#define FT_SERVICE_FONT_FORMAT_H -#define FT_SERVICE_GLYPH_DICT_H -#define FT_SERVICE_GX_VALIDATE_H -#define FT_SERVICE_KERNING_H -#define FT_SERVICE_METRICS_VARIATIONS_H -#define FT_SERVICE_MULTIPLE_MASTERS_H -#define FT_SERVICE_OPENTYPE_VALIDATE_H -#define FT_SERVICE_PFR_H -#define FT_SERVICE_POSTSCRIPT_CMAPS_H -#define FT_SERVICE_POSTSCRIPT_INFO_H -#define FT_SERVICE_POSTSCRIPT_NAME_H -#define FT_SERVICE_PROPERTIES_H -#define FT_SERVICE_SFNT_H -#define FT_SERVICE_TRUETYPE_ENGINE_H -#define FT_SERVICE_TRUETYPE_GLYF_H -#define FT_SERVICE_TT_CMAP_H -#define FT_SERVICE_WINFNT_H - - /* */ - FT_END_HEADER #endif /* FTSERV_H_ */ diff --git a/include/freetype/internal/ftstream.h b/include/freetype/internal/ftstream.h index f3b3ef0d0..e7d922260 100644 --- a/include/freetype/internal/ftstream.h +++ b/include/freetype/internal/ftstream.h @@ -21,8 +21,8 @@ #include -#include FT_SYSTEM_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/internal.h b/include/freetype/internal/internal.h deleted file mode 100644 index 766bf64c2..000000000 --- a/include/freetype/internal/internal.h +++ /dev/null @@ -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 -#define FT_INTERNAL_STREAM_H -#define FT_INTERNAL_MEMORY_H -#define FT_INTERNAL_DEBUG_H -#define FT_INTERNAL_CALC_H -#define FT_INTERNAL_HASH_H -#define FT_INTERNAL_DRIVER_H -#define FT_INTERNAL_TRACE_H -#define FT_INTERNAL_GLYPH_LOADER_H -#define FT_INTERNAL_SFNT_H -#define FT_INTERNAL_SERVICE_H -#define FT_INTERNAL_RFORK_H -#define FT_INTERNAL_VALIDATE_H - -#define FT_INTERNAL_TRUETYPE_TYPES_H -#define FT_INTERNAL_TYPE1_TYPES_H -#define FT_INTERNAL_WOFF_TYPES_H - -#define FT_INTERNAL_POSTSCRIPT_AUX_H -#define FT_INTERNAL_POSTSCRIPT_HINTS_H -#define FT_INTERNAL_POSTSCRIPT_PROPS_H - -#define FT_INTERNAL_AUTOHINT_H - -#define FT_INTERNAL_CFF_TYPES_H -#define FT_INTERNAL_CFF_OBJECTS_TYPES_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 */ diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h index 8248a0ecd..a917b0ac4 100644 --- a/include/freetype/internal/psaux.h +++ b/include/freetype/internal/psaux.h @@ -22,13 +22,13 @@ #include -#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 +#include +#include +#include +#include +#include +#include diff --git a/include/freetype/internal/pshints.h b/include/freetype/internal/pshints.h index cf0c65298..43bd79b67 100644 --- a/include/freetype/internal/pshints.h +++ b/include/freetype/internal/pshints.h @@ -23,8 +23,8 @@ #include -#include FT_FREETYPE_H -#include FT_TYPE1_TABLES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svbdf.h b/include/freetype/internal/services/svbdf.h index 0ec9c7ccb..81f5a06b6 100644 --- a/include/freetype/internal/services/svbdf.h +++ b/include/freetype/internal/services/svbdf.h @@ -19,8 +19,8 @@ #ifndef SVBDF_H_ #define SVBDF_H_ -#include FT_BDF_H -#include FT_INTERNAL_SERVICE_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svcfftl.h b/include/freetype/internal/services/svcfftl.h index c2f42c1d1..1d2dbb6a8 100644 --- a/include/freetype/internal/services/svcfftl.h +++ b/include/freetype/internal/services/svcfftl.h @@ -19,8 +19,8 @@ #ifndef SVCFFTL_H_ #define SVCFFTL_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_INTERNAL_CFF_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svcid.h b/include/freetype/internal/services/svcid.h index b8efd8147..bd49f3270 100644 --- a/include/freetype/internal/services/svcid.h +++ b/include/freetype/internal/services/svcid.h @@ -19,7 +19,7 @@ #ifndef SVCID_H_ #define SVCID_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svfntfmt.h b/include/freetype/internal/services/svfntfmt.h index 5ec84c933..6114d638a 100644 --- a/include/freetype/internal/services/svfntfmt.h +++ b/include/freetype/internal/services/svfntfmt.h @@ -19,7 +19,7 @@ #ifndef SVFNTFMT_H_ #define SVFNTFMT_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svgldict.h b/include/freetype/internal/services/svgldict.h index 5a63883c9..f9443e40d 100644 --- a/include/freetype/internal/services/svgldict.h +++ b/include/freetype/internal/services/svgldict.h @@ -19,7 +19,7 @@ #ifndef SVGLDICT_H_ #define SVGLDICT_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svgxval.h b/include/freetype/internal/services/svgxval.h index d0cb10a42..83c2f26ce 100644 --- a/include/freetype/internal/services/svgxval.h +++ b/include/freetype/internal/services/svgxval.h @@ -28,8 +28,8 @@ #ifndef SVGXVAL_H_ #define SVGXVAL_H_ -#include FT_GX_VALIDATE_H -#include FT_INTERNAL_VALIDATE_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svkern.h b/include/freetype/internal/services/svkern.h index 891c61a75..13cfb3272 100644 --- a/include/freetype/internal/services/svkern.h +++ b/include/freetype/internal/services/svkern.h @@ -19,8 +19,8 @@ #ifndef SVKERN_H_ #define SVKERN_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_TRUETYPE_TABLES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svmetric.h b/include/freetype/internal/services/svmetric.h index 06faa4b4f..2b30edaab 100644 --- a/include/freetype/internal/services/svmetric.h +++ b/include/freetype/internal/services/svmetric.h @@ -19,7 +19,7 @@ #ifndef SVMETRIC_H_ #define SVMETRIC_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svmm.h b/include/freetype/internal/services/svmm.h index fa044c92d..5a807636a 100644 --- a/include/freetype/internal/services/svmm.h +++ b/include/freetype/internal/services/svmm.h @@ -19,7 +19,7 @@ #ifndef SVMM_H_ #define SVMM_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svotval.h b/include/freetype/internal/services/svotval.h index 34ad7ca9f..763fb2efb 100644 --- a/include/freetype/internal/services/svotval.h +++ b/include/freetype/internal/services/svotval.h @@ -19,8 +19,8 @@ #ifndef SVOTVAL_H_ #define SVOTVAL_H_ -#include FT_OPENTYPE_VALIDATE_H -#include FT_INTERNAL_VALIDATE_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svpfr.h b/include/freetype/internal/services/svpfr.h index 2dd075c5d..bdeba0785 100644 --- a/include/freetype/internal/services/svpfr.h +++ b/include/freetype/internal/services/svpfr.h @@ -19,8 +19,8 @@ #ifndef SVPFR_H_ #define SVPFR_H_ -#include FT_PFR_H -#include FT_INTERNAL_SERVICE_H +#include +#include FT_BEGIN_HEADER @@ -56,7 +56,6 @@ FT_BEGIN_HEADER }; - /* */ FT_END_HEADER diff --git a/include/freetype/internal/services/svpostnm.h b/include/freetype/internal/services/svpostnm.h index 86ab61138..8ef62c5f9 100644 --- a/include/freetype/internal/services/svpostnm.h +++ b/include/freetype/internal/services/svpostnm.h @@ -19,7 +19,7 @@ #ifndef SVPOSTNM_H_ #define SVPOSTNM_H_ -#include FT_INTERNAL_SERVICE_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svpscmap.h b/include/freetype/internal/services/svpscmap.h index 6c2ffe2e2..b4dcd8075 100644 --- a/include/freetype/internal/services/svpscmap.h +++ b/include/freetype/internal/services/svpscmap.h @@ -19,7 +19,7 @@ #ifndef SVPSCMAP_H_ #define SVPSCMAP_H_ -#include FT_INTERNAL_OBJECTS_H +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svpsinfo.h b/include/freetype/internal/services/svpsinfo.h index ade24dc2b..1e7276ff4 100644 --- a/include/freetype/internal/services/svpsinfo.h +++ b/include/freetype/internal/services/svpsinfo.h @@ -19,8 +19,8 @@ #ifndef SVPSINFO_H_ #define SVPSINFO_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svsfnt.h b/include/freetype/internal/services/svsfnt.h index f3e81ca84..39c8b5e19 100644 --- a/include/freetype/internal/services/svsfnt.h +++ b/include/freetype/internal/services/svsfnt.h @@ -19,8 +19,8 @@ #ifndef SVSFNT_H_ #define SVSFNT_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_TRUETYPE_TABLES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svttcmap.h b/include/freetype/internal/services/svttcmap.h index fbb3115ed..c18bb2336 100644 --- a/include/freetype/internal/services/svttcmap.h +++ b/include/freetype/internal/services/svttcmap.h @@ -22,8 +22,8 @@ #ifndef SVTTCMAP_H_ #define SVTTCMAP_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_TRUETYPE_TABLES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svtteng.h b/include/freetype/internal/services/svtteng.h index 6218d9efe..7a17e4a75 100644 --- a/include/freetype/internal/services/svtteng.h +++ b/include/freetype/internal/services/svtteng.h @@ -19,8 +19,8 @@ #ifndef SVTTENG_H_ #define SVTTENG_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_MODULE_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svttglyf.h b/include/freetype/internal/services/svttglyf.h index d9894e362..90a81dd40 100644 --- a/include/freetype/internal/services/svttglyf.h +++ b/include/freetype/internal/services/svttglyf.h @@ -18,8 +18,8 @@ #ifndef SVTTGLYF_H_ #define SVTTGLYF_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_TRUETYPE_TABLES_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/services/svwinfnt.h b/include/freetype/internal/services/svwinfnt.h index 377f73d45..8c915f525 100644 --- a/include/freetype/internal/services/svwinfnt.h +++ b/include/freetype/internal/services/svwinfnt.h @@ -19,8 +19,8 @@ #ifndef SVWINFNT_H_ #define SVWINFNT_H_ -#include FT_INTERNAL_SERVICE_H -#include FT_WINFONTS_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/sfnt.h b/include/freetype/internal/sfnt.h index b9c81a8f3..283f0cb82 100644 --- a/include/freetype/internal/sfnt.h +++ b/include/freetype/internal/sfnt.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_DRIVER_H -#include FT_INTERNAL_TRUETYPE_TYPES_H -#include FT_INTERNAL_WOFF_TYPES_H +#include +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h index 799c2939f..9fe12dbae 100644 --- a/include/freetype/internal/t1types.h +++ b/include/freetype/internal/t1types.h @@ -22,11 +22,11 @@ #include -#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 +#include +#include +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/internal/tttypes.h b/include/freetype/internal/tttypes.h index 1bddf102b..4a41485cc 100644 --- a/include/freetype/internal/tttypes.h +++ b/include/freetype/internal/tttypes.h @@ -22,12 +22,12 @@ #include -#include FT_TRUETYPE_TABLES_H -#include FT_INTERNAL_OBJECTS_H -#include FT_COLOR_H +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H +#include #endif diff --git a/include/freetype/internal/wofftypes.h b/include/freetype/internal/wofftypes.h index 26159b9d3..a10fef930 100644 --- a/include/freetype/internal/wofftypes.h +++ b/include/freetype/internal/wofftypes.h @@ -22,8 +22,8 @@ #include -#include FT_TRUETYPE_TABLES_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/include/freetype/t1tables.h b/include/freetype/t1tables.h index 522d6ae6a..ed285fc13 100644 --- a/include/freetype/t1tables.h +++ b/include/freetype/t1tables.h @@ -22,7 +22,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/tttables.h b/include/freetype/tttables.h index 8108db717..8cfd1d2d6 100644 --- a/include/freetype/tttables.h +++ b/include/freetype/tttables.h @@ -22,7 +22,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/freetype/tttags.h b/include/freetype/tttags.h index f2b2a4526..8ed6dbfa1 100644 --- a/include/freetype/tttags.h +++ b/include/freetype/tttags.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/include/ft2build.h b/include/ft2build.h index 195e91833..b4fd1f8c3 100644 --- a/include/ft2build.h +++ b/include/ft2build.h @@ -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 - * #include FT_FREETYPE_H + * #include * ``` * */ diff --git a/src/autofit/afcjk.c b/src/autofit/afcjk.c index ca6ce0c60..3c207a21e 100644 --- a/src/autofit/afcjk.c +++ b/src/autofit/afcjk.c @@ -23,8 +23,8 @@ */ #include -#include FT_ADVANCES_H -#include FT_INTERNAL_DEBUG_H +#include +#include #include "afglobal.h" #include "aflatin.h" diff --git a/src/autofit/aferrors.h b/src/autofit/aferrors.h index 6c7d0e1d7..f90899944 100644 --- a/src/autofit/aferrors.h +++ b/src/autofit/aferrors.h @@ -26,7 +26,7 @@ #ifndef AFERRORS_H_ #define AFERRORS_H_ -#include FT_MODULE_ERRORS_H +#include #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 #endif /* AFERRORS_H_ */ diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c index 5ad4ea921..66aa2f1f3 100644 --- a/src/autofit/afglobal.c +++ b/src/autofit/afglobal.c @@ -19,7 +19,7 @@ #include "afglobal.h" #include "afranges.h" #include "afshaper.h" -#include FT_INTERNAL_DEBUG_H +#include /************************************************************************** diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c index 5a123b2ba..a8e00890e 100644 --- a/src/autofit/afhints.c +++ b/src/autofit/afhints.c @@ -18,8 +18,8 @@ #include "afhints.h" #include "aferrors.h" -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H +#include +#include /************************************************************************** diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index b453fcdf6..41e3e66ff 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -17,8 +17,8 @@ #include -#include FT_ADVANCES_H -#include FT_INTERNAL_DEBUG_H +#include +#include #include "afglobal.h" #include "aflatin.h" diff --git a/src/autofit/aflatin2.c b/src/autofit/aflatin2.c index 7bd4156a0..1569c5de5 100644 --- a/src/autofit/aflatin2.c +++ b/src/autofit/aflatin2.c @@ -22,7 +22,7 @@ #include -#include FT_ADVANCES_H +#include #ifdef FT_OPTION_AUTOFIT2 diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c index a53fbf2d2..c35d85c4c 100644 --- a/src/autofit/afloader.c +++ b/src/autofit/afloader.c @@ -22,7 +22,7 @@ #include "aferrors.h" #include "afmodule.h" -#include FT_INTERNAL_CALC_H +#include /* Initialize glyph loader. */ diff --git a/src/autofit/afmodule.c b/src/autofit/afmodule.c index 0bcae4cc2..95d58b840 100644 --- a/src/autofit/afmodule.c +++ b/src/autofit/afmodule.c @@ -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 +#include +#include +#include /************************************************************************** diff --git a/src/autofit/afmodule.h b/src/autofit/afmodule.h index efa0240b4..75013ef84 100644 --- a/src/autofit/afmodule.h +++ b/src/autofit/afmodule.h @@ -20,8 +20,8 @@ #define AFMODULE_H_ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_MODULE_H +#include +#include FT_BEGIN_HEADER diff --git a/src/autofit/afshaper.c b/src/autofit/afshaper.c index d3902db2e..80143a958 100644 --- a/src/autofit/afshaper.c +++ b/src/autofit/afshaper.c @@ -17,8 +17,8 @@ #include -#include FT_FREETYPE_H -#include FT_ADVANCES_H +#include +#include #include "afglobal.h" #include "aftypes.h" #include "afshaper.h" diff --git a/src/autofit/afshaper.h b/src/autofit/afshaper.h index a7dbf34f1..cc8693d51 100644 --- a/src/autofit/afshaper.h +++ b/src/autofit/afshaper.h @@ -21,7 +21,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FT_CONFIG_OPTION_USE_HARFBUZZ diff --git a/src/autofit/aftypes.h b/src/autofit/aftypes.h index 7ca0b59e3..4bbe9a787 100644 --- a/src/autofit/aftypes.h +++ b/src/autofit/aftypes.h @@ -34,10 +34,10 @@ #include -#include FT_FREETYPE_H -#include FT_OUTLINE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H +#include +#include +#include +#include #include "afblue.h" diff --git a/src/base/ftadvanc.c b/src/base/ftadvanc.c index 310bbba41..c19b5e336 100644 --- a/src/base/ftadvanc.c +++ b/src/base/ftadvanc.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_ADVANCES_H -#include FT_INTERNAL_OBJECTS_H +#include +#include static FT_Error diff --git a/src/base/ftbase.h b/src/base/ftbase.h index 472713add..ab37052e6 100644 --- a/src/base/ftbase.h +++ b/src/base/ftbase.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include FT_BEGIN_HEADER diff --git a/src/base/ftbbox.c b/src/base/ftbbox.c index 9d9f9c401..3e6661ec9 100644 --- a/src/base/ftbbox.c +++ b/src/base/ftbbox.c @@ -25,13 +25,13 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_BBOX_H -#include FT_IMAGE_H -#include FT_OUTLINE_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include +#include typedef struct TBBox_Rec_ diff --git a/src/base/ftbdf.c b/src/base/ftbdf.c index a239e5f87..26ffdf913 100644 --- a/src/base/ftbdf.c +++ b/src/base/ftbdf.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_BDF_H +#include +#include /* documentation is in ftbdf.h */ diff --git a/src/base/ftbitmap.c b/src/base/ftbitmap.c index 18ac4c5f3..efa25ed8f 100644 --- a/src/base/ftbitmap.c +++ b/src/base/ftbitmap.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_BITMAP_H -#include FT_IMAGE_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include /************************************************************************** diff --git a/src/base/ftcalc.c b/src/base/ftcalc.c index 53550057b..d8b758475 100644 --- a/src/base/ftcalc.c +++ b/src/base/ftcalc.c @@ -33,11 +33,11 @@ #include -#include FT_GLYPH_H -#include FT_TRIGONOMETRY_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include +#include #ifdef FT_MULFIX_ASSEMBLER diff --git a/src/base/ftcid.c b/src/base/ftcid.c index 17c25730e..d02213e46 100644 --- a/src/base/ftcid.c +++ b/src/base/ftcid.c @@ -17,9 +17,9 @@ #include -#include FT_CID_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_CID_H +#include +#include +#include /* documentation is in ftcid.h */ diff --git a/src/base/ftcolor.c b/src/base/ftcolor.c index 986e9924a..9e250ee18 100644 --- a/src/base/ftcolor.c +++ b/src/base/ftcolor.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_TRUETYPE_TYPES_H -#include FT_COLOR_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_COLOR_LAYERS diff --git a/src/base/ftdbgmem.c b/src/base/ftdbgmem.c index 7f06c8600..eb0d65160 100644 --- a/src/base/ftdbgmem.c +++ b/src/base/ftdbgmem.c @@ -18,11 +18,11 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_MEMORY_H -#include FT_SYSTEM_H -#include FT_ERRORS_H -#include FT_TYPES_H +#include +#include +#include +#include +#include #ifdef FT_DEBUG_MEMORY diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c index da1c1265e..0135385db 100644 --- a/src/base/ftdebug.c +++ b/src/base/ftdebug.c @@ -42,8 +42,8 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H +#include +#include #ifdef FT_DEBUG_LEVEL_ERROR @@ -126,7 +126,7 @@ static const char* ft_trace_toggles[trace_count + 1] = { -#include FT_INTERNAL_TRACE_H +#include NULL }; diff --git a/src/base/fterrors.c b/src/base/fterrors.c index 8aa688fbe..0c18d2438 100644 --- a/src/base/fterrors.c +++ b/src/base/fterrors.c @@ -17,8 +17,8 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_ERRORS_H +#include +#include /* documentation is in fterrors.h */ @@ -38,7 +38,7 @@ #define FT_ERRORDEF( e, v, s ) case v: return s; #define FT_ERROR_END_LIST } -#include FT_ERRORS_H +#include #endif /* defined( FT_CONFIG_OPTION_ERROR_STRINGS ) || ... */ diff --git a/src/base/ftfntfmt.c b/src/base/ftfntfmt.c index 95e9b6e4c..06baf4cbd 100644 --- a/src/base/ftfntfmt.c +++ b/src/base/ftfntfmt.c @@ -17,9 +17,9 @@ #include -#include FT_FONT_FORMATS_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_FONT_FORMAT_H +#include +#include +#include /* documentation is in ftfntfmt.h */ diff --git a/src/base/ftfstype.c b/src/base/ftfstype.c index 461d85707..67111c6b7 100644 --- a/src/base/ftfstype.c +++ b/src/base/ftfstype.c @@ -16,10 +16,10 @@ */ #include -#include FT_TYPE1_TABLES_H -#include FT_TRUETYPE_TABLES_H -#include FT_INTERNAL_SERVICE_H -#include FT_SERVICE_POSTSCRIPT_INFO_H +#include +#include +#include +#include /* documentation is in freetype.h */ diff --git a/src/base/ftgasp.c b/src/base/ftgasp.c index 0fd80b9cd..c721af539 100644 --- a/src/base/ftgasp.c +++ b/src/base/ftgasp.c @@ -17,8 +17,8 @@ #include -#include FT_GASP_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include +#include FT_EXPORT_DEF( FT_Int ) diff --git a/src/base/ftgloadr.c b/src/base/ftgloadr.c index 6032885c6..fd7c95097 100644 --- a/src/base/ftgloadr.c +++ b/src/base/ftgloadr.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_GLYPH_LOADER_H -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include #undef FT_COMPONENT #define FT_COMPONENT gloader diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c index 44654be78..2f85c6de1 100644 --- a/src/base/ftglyph.c +++ b/src/base/ftglyph.c @@ -29,12 +29,12 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_GLYPH_H -#include FT_OUTLINE_H -#include FT_BITMAP_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftgxval.c b/src/base/ftgxval.c index fa32c5f6c..9fc2ca889 100644 --- a/src/base/ftgxval.c +++ b/src/base/ftgxval.c @@ -26,10 +26,10 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_GX_VALIDATE_H +#include +#include /* documentation is in ftgxval.h */ diff --git a/src/base/fthash.c b/src/base/fthash.c index 387e6d26d..2251373e4 100644 --- a/src/base/fthash.c +++ b/src/base/fthash.c @@ -40,8 +40,8 @@ #include -#include FT_INTERNAL_HASH_H -#include FT_INTERNAL_MEMORY_H +#include +#include #define INITIAL_HT_SIZE 241 diff --git a/src/base/ftinit.c b/src/base/ftinit.c index 1aab09a77..0acc75e46 100644 --- a/src/base/ftinit.c +++ b/src/base/ftinit.c @@ -39,9 +39,9 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_MODULE_H +#include +#include +#include /************************************************************************** diff --git a/src/base/ftlcdfil.c b/src/base/ftlcdfil.c index d4ef93a51..3a0268739 100644 --- a/src/base/ftlcdfil.c +++ b/src/base/ftlcdfil.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_LCD_FILTER_H -#include FT_IMAGE_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include #ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING diff --git a/src/base/ftmac.c b/src/base/ftmac.c index 2de43a014..d71e22997 100644 --- a/src/base/ftmac.c +++ b/src/base/ftmac.c @@ -66,9 +66,9 @@ #include -#include FT_FREETYPE_H -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include #include "ftbase.h" diff --git a/src/base/ftmm.c b/src/base/ftmm.c index ef2e3d958..ce746be35 100644 --- a/src/base/ftmm.c +++ b/src/base/ftmm.c @@ -17,12 +17,12 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_MULTIPLE_MASTERS_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_METRICS_VARIATIONS_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 1b042614d..d7b6424d6 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -17,31 +17,31 @@ #include -#include FT_LIST_H -#include FT_OUTLINE_H -#include FT_FONT_FORMATS_H +#include +#include +#include -#include FT_INTERNAL_VALIDATE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_RFORK_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H /* for SFNT_Load_Table_Func */ -#include FT_INTERNAL_POSTSCRIPT_AUX_H /* for PS_Driver */ +#include +#include +#include +#include +#include +#include /* for SFNT_Load_Table_Func */ +#include /* for PS_Driver */ -#include FT_TRUETYPE_TABLES_H -#include FT_TRUETYPE_TAGS_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include -#include FT_SERVICE_PROPERTIES_H -#include FT_SERVICE_SFNT_H -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_GLYPH_DICT_H -#include FT_SERVICE_TT_CMAP_H -#include FT_SERVICE_KERNING_H -#include FT_SERVICE_TRUETYPE_ENGINE_H +#include +#include +#include +#include +#include +#include +#include -#include FT_DRIVER_H +#include #ifdef FT_CONFIG_OPTION_MAC_FONTS #include "ftbase.h" @@ -50,7 +50,7 @@ #ifdef FT_DEBUG_LEVEL_TRACE -#include FT_BITMAP_H +#include #if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */ /* We disable the warning `conversion from XXX to YYY, */ diff --git a/src/base/ftotval.c b/src/base/ftotval.c index 9f69e0c1f..198f05569 100644 --- a/src/base/ftotval.c +++ b/src/base/ftotval.c @@ -16,11 +16,11 @@ */ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_OPENTYPE_VALIDATE_H -#include FT_OPENTYPE_VALIDATE_H +#include +#include +#include /* documentation is in ftotval.h */ diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c index faaae8329..7a6c7fd5a 100644 --- a/src/base/ftoutln.c +++ b/src/base/ftoutln.c @@ -17,11 +17,11 @@ #include -#include FT_OUTLINE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H -#include FT_TRIGONOMETRY_H +#include +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftpatent.c b/src/base/ftpatent.c index 077a9b03f..5ec4e6f76 100644 --- a/src/base/ftpatent.c +++ b/src/base/ftpatent.c @@ -17,12 +17,12 @@ */ #include -#include FT_FREETYPE_H -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_STREAM_H -#include FT_SERVICE_SFNT_H -#include FT_SERVICE_TRUETYPE_GLYF_H +#include +#include +#include +#include +#include +#include /* documentation is in freetype.h */ diff --git a/src/base/ftpfr.c b/src/base/ftpfr.c index 57e65665f..28916c3be 100644 --- a/src/base/ftpfr.c +++ b/src/base/ftpfr.c @@ -16,10 +16,10 @@ */ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_PFR_H +#include +#include /* check the format */ diff --git a/src/base/ftpsprop.c b/src/base/ftpsprop.c index c63f864c1..644e697ca 100644 --- a/src/base/ftpsprop.c +++ b/src/base/ftpsprop.c @@ -18,11 +18,11 @@ #include -#include FT_DRIVER_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_POSTSCRIPT_PROPS_H +#include +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftrfork.c b/src/base/ftrfork.c index 1bf7800f1..fba122f78 100644 --- a/src/base/ftrfork.c +++ b/src/base/ftrfork.c @@ -25,9 +25,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_RFORK_H +#include +#include +#include #include "ftbase.h" diff --git a/src/base/ftsnames.c b/src/base/ftsnames.c index 25f5d45be..472c98168 100644 --- a/src/base/ftsnames.c +++ b/src/base/ftsnames.c @@ -20,11 +20,11 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include FT_SFNT_NAMES_H -#include FT_INTERNAL_TRUETYPE_TYPES_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include #ifdef TT_CONFIG_OPTION_SFNT_NAMES diff --git a/src/base/ftstream.c b/src/base/ftstream.c index 7dbf9b55f..eaa210cc9 100644 --- a/src/base/ftstream.c +++ b/src/base/ftstream.c @@ -17,8 +17,8 @@ #include -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H +#include +#include /************************************************************************** diff --git a/src/base/ftstroke.c b/src/base/ftstroke.c index 3369dc24b..61571853e 100644 --- a/src/base/ftstroke.c +++ b/src/base/ftstroke.c @@ -17,12 +17,12 @@ #include -#include FT_STROKER_H -#include FT_TRIGONOMETRY_H -#include FT_OUTLINE_H -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include +#include +#include /* declare an extern to access `ft_outline_glyph_class' globally */ diff --git a/src/base/ftsynth.c b/src/base/ftsynth.c index eee6b952b..d98e89dff 100644 --- a/src/base/ftsynth.c +++ b/src/base/ftsynth.c @@ -17,11 +17,11 @@ #include -#include FT_SYNTHESIS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_OUTLINE_H -#include FT_BITMAP_H +#include +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftsystem.c b/src/base/ftsystem.c index 290100613..3013cbda9 100644 --- a/src/base/ftsystem.c +++ b/src/base/ftsystem.c @@ -27,11 +27,11 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_SYSTEM_H -#include FT_ERRORS_H -#include FT_TYPES_H +#include +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/fttrigon.c b/src/base/fttrigon.c index dbe11107b..dedcee729 100644 --- a/src/base/fttrigon.c +++ b/src/base/fttrigon.c @@ -30,9 +30,9 @@ */ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_CALC_H -#include FT_TRIGONOMETRY_H +#include +#include +#include /* the Cordic shrink factor 0.858785336480436 * 2^32 */ diff --git a/src/base/fttype1.c b/src/base/fttype1.c index 61778faa7..ce26e0002 100644 --- a/src/base/fttype1.c +++ b/src/base/fttype1.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_SERVICE_H -#include FT_SERVICE_POSTSCRIPT_INFO_H +#include +#include +#include +#include /* documentation is in t1tables.h */ diff --git a/src/base/ftutil.c b/src/base/ftutil.c index 629af174b..0c18d8f64 100644 --- a/src/base/ftutil.c +++ b/src/base/ftutil.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_OBJECTS_H -#include FT_LIST_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/base/ftwinfnt.c b/src/base/ftwinfnt.c index 77527277c..822954066 100644 --- a/src/base/ftwinfnt.c +++ b/src/base/ftwinfnt.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_WINFONTS_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_WINFNT_H +#include +#include +#include +#include /* documentation is in ftwinfnt.h */ diff --git a/src/bdf/bdf.h b/src/bdf/bdf.h index d9abd2378..005784671 100644 --- a/src/bdf/bdf.h +++ b/src/bdf/bdf.h @@ -31,9 +31,9 @@ */ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_HASH_H +#include +#include +#include FT_BEGIN_HEADER diff --git a/src/bdf/bdfdrivr.c b/src/bdf/bdfdrivr.c index 60eb93305..0859b3ba9 100644 --- a/src/bdf/bdfdrivr.c +++ b/src/bdf/bdfdrivr.c @@ -26,14 +26,14 @@ THE SOFTWARE. #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_OBJECTS_H -#include FT_BDF_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include +#include +#include -#include FT_SERVICE_BDF_H -#include FT_SERVICE_FONT_FORMAT_H +#include +#include #include "bdf.h" #include "bdfdrivr.h" diff --git a/src/bdf/bdfdrivr.h b/src/bdf/bdfdrivr.h index b37b84ea3..b638a889e 100644 --- a/src/bdf/bdfdrivr.h +++ b/src/bdf/bdfdrivr.h @@ -29,7 +29,7 @@ THE SOFTWARE. #define BDFDRIVR_H_ #include -#include FT_INTERNAL_DRIVER_H +#include #include "bdf.h" diff --git a/src/bdf/bdferror.h b/src/bdf/bdferror.h index dbe41c02a..c1b544487 100644 --- a/src/bdf/bdferror.h +++ b/src/bdf/bdferror.h @@ -29,7 +29,7 @@ #ifndef BDFERROR_H_ #define BDFERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -37,7 +37,7 @@ #define FT_ERR_PREFIX BDF_Err_ #define FT_ERR_BASE FT_Mod_Err_BDF -#include FT_ERRORS_H +#include #endif /* BDFERROR_H_ */ diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c index 63813f7ed..5c0fa40b2 100644 --- a/src/bdf/bdflib.c +++ b/src/bdf/bdflib.c @@ -33,10 +33,10 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include +#include #include "bdf.h" #include "bdferror.h" diff --git a/src/bzip2/ftbzip2.c b/src/bzip2/ftbzip2.c index e4d7a4901..acd4eb45e 100644 --- a/src/bzip2/ftbzip2.c +++ b/src/bzip2/ftbzip2.c @@ -23,14 +23,14 @@ #include -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H -#include FT_BZIP2_H +#include +#include +#include +#include #include FT_CONFIG_STANDARD_LIBRARY_H -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -38,7 +38,7 @@ #define FT_ERR_PREFIX Bzip2_Err_ #define FT_ERR_BASE FT_Mod_Err_Bzip2 -#include FT_ERRORS_H +#include #ifdef FT_CONFIG_OPTION_USE_BZIP2 diff --git a/src/cache/ftcbasic.c b/src/cache/ftcbasic.c index a65a90e86..899b92963 100644 --- a/src/cache/ftcbasic.c +++ b/src/cache/ftcbasic.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_CACHE_H +#include +#include +#include #include "ftcglyph.h" #include "ftcimage.h" #include "ftcsbits.h" diff --git a/src/cache/ftccache.c b/src/cache/ftccache.c index 1d406c420..c6cac6968 100644 --- a/src/cache/ftccache.c +++ b/src/cache/ftccache.c @@ -18,8 +18,8 @@ #include #include "ftcmanag.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H +#include +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftccback.h b/src/cache/ftccback.h index 252be7c2b..cbe539542 100644 --- a/src/cache/ftccback.h +++ b/src/cache/ftccback.h @@ -19,7 +19,7 @@ #define FTCCBACK_H_ #include -#include FT_CACHE_H +#include #include "ftcmru.h" #include "ftcimage.h" #include "ftcmanag.h" diff --git a/src/cache/ftccmap.c b/src/cache/ftccmap.c index a5da694d5..593cc55b6 100644 --- a/src/cache/ftccmap.c +++ b/src/cache/ftccmap.c @@ -17,12 +17,12 @@ #include -#include FT_FREETYPE_H -#include FT_CACHE_H +#include +#include #include "ftcmanag.h" -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H +#include +#include +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftcerror.h b/src/cache/ftcerror.h index 15e416ed2..bedfd2837 100644 --- a/src/cache/ftcerror.h +++ b/src/cache/ftcerror.h @@ -26,7 +26,7 @@ #ifndef FTCERROR_H_ #define FTCERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX FTC_Err_ #define FT_ERR_BASE FT_Mod_Err_Cache -#include FT_ERRORS_H +#include #endif /* FTCERROR_H_ */ diff --git a/src/cache/ftcglyph.c b/src/cache/ftcglyph.c index 559a2fb4c..5e17df6f7 100644 --- a/src/cache/ftcglyph.c +++ b/src/cache/ftcglyph.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_CACHE_H +#include +#include #include "ftcglyph.h" -#include FT_ERRORS_H +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftcimage.c b/src/cache/ftcimage.c index 7696b2e52..65cc2f615 100644 --- a/src/cache/ftcimage.c +++ b/src/cache/ftcimage.c @@ -17,10 +17,10 @@ #include -#include FT_CACHE_H +#include #include "ftcimage.h" -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_OBJECTS_H +#include +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftcimage.h b/src/cache/ftcimage.h index f99c5074c..a360f4859 100644 --- a/src/cache/ftcimage.h +++ b/src/cache/ftcimage.h @@ -37,7 +37,7 @@ #include -#include FT_CACHE_H +#include #include "ftcglyph.h" FT_BEGIN_HEADER diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c index a6f1733f6..18a02e327 100644 --- a/src/cache/ftcmanag.c +++ b/src/cache/ftcmanag.c @@ -17,11 +17,11 @@ #include -#include FT_CACHE_H +#include #include "ftcmanag.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_SIZES_H +#include +#include +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftcmanag.h b/src/cache/ftcmanag.h index 17ade7175..1ea560f27 100644 --- a/src/cache/ftcmanag.h +++ b/src/cache/ftcmanag.h @@ -64,7 +64,7 @@ #include -#include FT_CACHE_H +#include #include "ftcmru.h" #include "ftccache.h" diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c index 370ae3be0..44c0a620a 100644 --- a/src/cache/ftcmru.c +++ b/src/cache/ftcmru.c @@ -17,10 +17,10 @@ #include -#include FT_CACHE_H +#include #include "ftcmru.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H +#include +#include #include "ftcerror.h" diff --git a/src/cache/ftcmru.h b/src/cache/ftcmru.h index 1591c2080..a27ea5f90 100644 --- a/src/cache/ftcmru.h +++ b/src/cache/ftcmru.h @@ -45,7 +45,7 @@ #include -#include FT_FREETYPE_H +#include #ifdef FREETYPE_H #error "freetype.h of FreeType 1 has been loaded!" diff --git a/src/cache/ftcsbits.c b/src/cache/ftcsbits.c index 24e4aa131..2dd51f934 100644 --- a/src/cache/ftcsbits.c +++ b/src/cache/ftcsbits.c @@ -17,11 +17,11 @@ #include -#include FT_CACHE_H +#include #include "ftcsbits.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_ERRORS_H +#include +#include +#include #include "ftccback.h" #include "ftcerror.h" diff --git a/src/cache/ftcsbits.h b/src/cache/ftcsbits.h index 2517d1555..b1e09b225 100644 --- a/src/cache/ftcsbits.h +++ b/src/cache/ftcsbits.h @@ -21,7 +21,7 @@ #include -#include FT_CACHE_H +#include #include "ftcglyph.h" diff --git a/src/cff/cffcmap.c b/src/cff/cffcmap.c index 1a045765d..b244461b4 100644 --- a/src/cff/cffcmap.c +++ b/src/cff/cffcmap.c @@ -17,7 +17,7 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include "cffcmap.h" #include "cffload.h" diff --git a/src/cff/cffcmap.h b/src/cff/cffcmap.h index 319be8824..fc6bd90a7 100644 --- a/src/cff/cffcmap.h +++ b/src/cff/cffcmap.h @@ -19,7 +19,7 @@ #ifndef CFFCMAP_H_ #define CFFCMAP_H_ -#include FT_INTERNAL_CFF_OBJECTS_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/cff/cffdrivr.c b/src/cff/cffdrivr.c index 6d0dcd09d..b513cc39a 100644 --- a/src/cff/cffdrivr.c +++ b/src/cff/cffdrivr.c @@ -17,17 +17,17 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_POSTSCRIPT_PROPS_H -#include FT_SERVICE_CID_H -#include FT_SERVICE_POSTSCRIPT_INFO_H -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_TT_CMAP_H -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "cffdrivr.h" #include "cffgload.h" @@ -37,16 +37,16 @@ #include "cffobjs.h" #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_METRICS_VARIATIONS_H +#include +#include #endif #include "cfferrs.h" -#include FT_SERVICE_FONT_FORMAT_H -#include FT_SERVICE_GLYPH_DICT_H -#include FT_SERVICE_PROPERTIES_H -#include FT_DRIVER_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/cff/cffdrivr.h b/src/cff/cffdrivr.h index 25471d511..c1175c6ee 100644 --- a/src/cff/cffdrivr.h +++ b/src/cff/cffdrivr.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/cff/cfferrs.h b/src/cff/cfferrs.h index 32be8a763..5b00a3f0a 100644 --- a/src/cff/cfferrs.h +++ b/src/cff/cfferrs.h @@ -25,7 +25,7 @@ #ifndef CFFERRS_H_ #define CFFERRS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_BASE FT_Mod_Err_CFF -#include FT_ERRORS_H +#include #endif /* CFFERRS_H_ */ diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c index 1c4e1979c..1171acfc9 100644 --- a/src/cff/cffgload.c +++ b/src/cff/cffgload.c @@ -17,13 +17,13 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_OUTLINE_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include +#include +#include #include "cffload.h" #include "cffgload.h" diff --git a/src/cff/cffgload.h b/src/cff/cffgload.h index b4ad61a56..eaf2ab584 100644 --- a/src/cff/cffgload.h +++ b/src/cff/cffgload.h @@ -21,8 +21,8 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_CFF_OBJECTS_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 9f1d0e2e6..c98272a09 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -17,16 +17,16 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H -#include FT_TYPE1_TABLES_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H +#include +#include #endif #include "cffload.h" diff --git a/src/cff/cffload.h b/src/cff/cffload.h index 1b7971293..6b1bb9777 100644 --- a/src/cff/cffload.h +++ b/src/cff/cffload.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_CFF_TYPES_H +#include #include "cffparse.h" -#include FT_INTERNAL_CFF_OBJECTS_TYPES_H /* for CFF_Face */ +#include /* for CFF_Face */ FT_BEGIN_HEADER diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c index 78c3cb3c2..5e5831568 100644 --- a/src/cff/cffobjs.c +++ b/src/cff/cffobjs.c @@ -18,30 +18,30 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_STREAM_H -#include FT_ERRORS_H -#include FT_TRUETYPE_IDS_H -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_SFNT_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_METRICS_VARIATIONS_H +#include +#include +#include #endif -#include FT_INTERNAL_CFF_OBJECTS_TYPES_H +#include #include "cffobjs.h" #include "cffload.h" #include "cffcmap.h" #include "cfferrs.h" -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include +#include /************************************************************************** diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c index 0d3bf3459..17e4a8ed4 100644 --- a/src/cff/cffparse.c +++ b/src/cff/cffparse.c @@ -18,11 +18,11 @@ #include #include "cffparse.h" -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_LIST_H +#include +#include +#include +#include +#include #include "cfferrs.h" #include "cffload.h" diff --git a/src/cff/cffparse.h b/src/cff/cffparse.h index 887110a74..35cf2b641 100644 --- a/src/cff/cffparse.h +++ b/src/cff/cffparse.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_CFF_TYPES_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/src/cid/ciderrs.h b/src/cid/ciderrs.h index 52ab55d68..f698bb229 100644 --- a/src/cid/ciderrs.h +++ b/src/cid/ciderrs.h @@ -25,7 +25,7 @@ #ifndef CIDERRS_H_ #define CIDERRS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX CID_Err_ #define FT_ERR_BASE FT_Mod_Err_CID -#include FT_ERRORS_H +#include #endif /* CIDERRS_H_ */ diff --git a/src/cid/cidgload.c b/src/cid/cidgload.c index daa0bddc2..0eb2a1a7b 100644 --- a/src/cid/cidgload.c +++ b/src/cid/cidgload.c @@ -19,14 +19,14 @@ #include #include "cidload.h" #include "cidgload.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_OUTLINE_H -#include FT_INTERNAL_CALC_H +#include +#include +#include +#include -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_CFF_TYPES_H -#include FT_DRIVER_H +#include +#include +#include #include "ciderrs.h" diff --git a/src/cid/cidload.c b/src/cid/cidload.c index 472396602..0f41605ab 100644 --- a/src/cid/cidload.c +++ b/src/cid/cidload.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include FT_CONFIG_CONFIG_H -#include FT_MULTIPLE_MASTERS_H -#include FT_INTERNAL_TYPE1_TYPES_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include #include "cidload.h" diff --git a/src/cid/cidload.h b/src/cid/cidload.h index e639f6ffe..bb162228d 100644 --- a/src/cid/cidload.h +++ b/src/cid/cidload.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_STREAM_H +#include #include "cidparse.h" diff --git a/src/cid/cidobjs.c b/src/cid/cidobjs.c index 34f72b588..67dae5e1a 100644 --- a/src/cid/cidobjs.c +++ b/src/cid/cidobjs.c @@ -17,16 +17,16 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H +#include +#include #include "cidgload.h" #include "cidload.h" -#include FT_SERVICE_POSTSCRIPT_CMAPS_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_POSTSCRIPT_HINTS_H -#include FT_DRIVER_H +#include +#include +#include +#include #include "ciderrs.h" diff --git a/src/cid/cidobjs.h b/src/cid/cidobjs.h index efe812fd1..6ae306137 100644 --- a/src/cid/cidobjs.h +++ b/src/cid/cidobjs.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/cid/cidparse.c b/src/cid/cidparse.c index 94a36e22f..3b65e19f9 100644 --- a/src/cid/cidparse.c +++ b/src/cid/cidparse.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include #include "cidparse.h" diff --git a/src/cid/cidparse.h b/src/cid/cidparse.h index 6b2944ff5..ab274347e 100644 --- a/src/cid/cidparse.h +++ b/src/cid/cidparse.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_TYPE1_TYPES_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include FT_BEGIN_HEADER diff --git a/src/cid/cidriver.c b/src/cid/cidriver.c index ad2f7b5cf..7eaec068e 100644 --- a/src/cid/cidriver.c +++ b/src/cid/cidriver.c @@ -19,19 +19,19 @@ #include #include "cidriver.h" #include "cidgload.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_POSTSCRIPT_PROPS_H +#include +#include #include "ciderrs.h" -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_FONT_FORMAT_H -#include FT_SERVICE_POSTSCRIPT_INFO_H -#include FT_SERVICE_CID_H -#include FT_SERVICE_PROPERTIES_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include +#include -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include /************************************************************************** diff --git a/src/cid/cidriver.h b/src/cid/cidriver.h index 400c2ae29..0895efb05 100644 --- a/src/cid/cidriver.h +++ b/src/cid/cidriver.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/gxvalid/gxvalid.h b/src/gxvalid/gxvalid.h index cdf198632..ac9cae02b 100644 --- a/src/gxvalid/gxvalid.h +++ b/src/gxvalid/gxvalid.h @@ -29,12 +29,12 @@ #define GXVALID_H_ #include -#include FT_FREETYPE_H +#include -#include "gxverror.h" /* must come before FT_INTERNAL_VALIDATE_H */ +#include "gxverror.h" /* must come before `ftvalid.h' */ -#include FT_INTERNAL_VALIDATE_H -#include FT_INTERNAL_STREAM_H +#include +#include FT_BEGIN_HEADER diff --git a/src/gxvalid/gxvcommn.h b/src/gxvalid/gxvcommn.h index 2372fc86f..f36799f0e 100644 --- a/src/gxvalid/gxvcommn.h +++ b/src/gxvalid/gxvcommn.h @@ -45,8 +45,8 @@ #include #include "gxvalid.h" -#include FT_INTERNAL_DEBUG_H -#include FT_SFNT_NAMES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/gxvalid/gxverror.h b/src/gxvalid/gxverror.h index 475b9f777..5d8f0b680 100644 --- a/src/gxvalid/gxverror.h +++ b/src/gxvalid/gxverror.h @@ -35,7 +35,7 @@ #ifndef GXVERROR_H_ #define GXVERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -43,7 +43,7 @@ #define FT_ERR_PREFIX GXV_Err_ #define FT_ERR_BASE FT_Mod_Err_GXvalid -#include FT_ERRORS_H +#include #endif /* GXVERROR_H_ */ diff --git a/src/gxvalid/gxvjust.c b/src/gxvalid/gxvjust.c index d8875b411..3c7f1f953 100644 --- a/src/gxvalid/gxvjust.c +++ b/src/gxvalid/gxvjust.c @@ -28,7 +28,7 @@ #include "gxvalid.h" #include "gxvcommn.h" -#include FT_SFNT_NAMES_H +#include /************************************************************************** diff --git a/src/gxvalid/gxvkern.c b/src/gxvalid/gxvkern.c index ab5643eb8..cc0b3dfcb 100644 --- a/src/gxvalid/gxvkern.c +++ b/src/gxvalid/gxvkern.c @@ -28,8 +28,8 @@ #include "gxvalid.h" #include "gxvcommn.h" -#include FT_SFNT_NAMES_H -#include FT_SERVICE_GX_VALIDATE_H +#include +#include /************************************************************************** diff --git a/src/gxvalid/gxvmod.c b/src/gxvalid/gxvmod.c index 2b8f45d1c..c4318161f 100644 --- a/src/gxvalid/gxvmod.c +++ b/src/gxvalid/gxvmod.c @@ -26,11 +26,11 @@ #include -#include FT_TRUETYPE_TABLES_H -#include FT_TRUETYPE_TAGS_H -#include FT_GX_VALIDATE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_GX_VALIDATE_H +#include +#include +#include +#include +#include #include "gxvmod.h" #include "gxvalid.h" diff --git a/src/gxvalid/gxvmod.h b/src/gxvalid/gxvmod.h index bdf465f4f..80c198fd3 100644 --- a/src/gxvalid/gxvmod.h +++ b/src/gxvalid/gxvmod.h @@ -30,7 +30,7 @@ #define GXVMOD_H_ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/src/gxvalid/gxvmort.h b/src/gxvalid/gxvmort.h index 35a18e76a..24c7e45b2 100644 --- a/src/gxvalid/gxvmort.h +++ b/src/gxvalid/gxvmort.h @@ -31,7 +31,7 @@ #include "gxvalid.h" #include "gxvcommn.h" -#include FT_SFNT_NAMES_H +#include typedef struct GXV_mort_featureRec_ diff --git a/src/gxvalid/gxvmorx.h b/src/gxvalid/gxvmorx.h index 99be18106..ceb14a9e8 100644 --- a/src/gxvalid/gxvmorx.h +++ b/src/gxvalid/gxvmorx.h @@ -33,7 +33,7 @@ #include "gxvcommn.h" #include "gxvmort.h" -#include FT_SFNT_NAMES_H +#include FT_LOCAL( void ) diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c index 6b1df3a4a..1495a9895 100644 --- a/src/gzip/ftgzip.c +++ b/src/gzip/ftgzip.c @@ -21,14 +21,14 @@ #include -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H -#include FT_GZIP_H +#include +#include +#include +#include #include FT_CONFIG_STANDARD_LIBRARY_H -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -36,7 +36,7 @@ #define FT_ERR_PREFIX Gzip_Err_ #define FT_ERR_BASE FT_Mod_Err_Gzip -#include FT_ERRORS_H +#include #ifdef FT_CONFIG_OPTION_USE_ZLIB diff --git a/src/lzw/ftlzw.c b/src/lzw/ftlzw.c index 7d3f3e3f5..1e2073b47 100644 --- a/src/lzw/ftlzw.c +++ b/src/lzw/ftlzw.c @@ -22,14 +22,14 @@ */ #include -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H -#include FT_LZW_H +#include +#include +#include +#include #include FT_CONFIG_STANDARD_LIBRARY_H -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -37,7 +37,7 @@ #define FT_ERR_PREFIX LZW_Err_ #define FT_ERR_BASE FT_Mod_Err_LZW -#include FT_ERRORS_H +#include #ifdef FT_CONFIG_OPTION_USE_LZW diff --git a/src/lzw/ftzopen.c b/src/lzw/ftzopen.c index cdc7f4e68..884d2ec74 100644 --- a/src/lzw/ftzopen.c +++ b/src/lzw/ftzopen.c @@ -20,9 +20,9 @@ */ #include "ftzopen.h" -#include FT_INTERNAL_MEMORY_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_DEBUG_H +#include +#include +#include static int diff --git a/src/lzw/ftzopen.h b/src/lzw/ftzopen.h index 2866529bd..6a7a73013 100644 --- a/src/lzw/ftzopen.h +++ b/src/lzw/ftzopen.h @@ -23,7 +23,7 @@ #define FTZOPEN_H_ #include -#include FT_FREETYPE_H +#include /* diff --git a/src/otvalid/otvalid.h b/src/otvalid/otvalid.h index 3c7026896..c4d26a643 100644 --- a/src/otvalid/otvalid.h +++ b/src/otvalid/otvalid.h @@ -21,12 +21,12 @@ #include -#include FT_FREETYPE_H +#include -#include "otverror.h" /* must come before FT_INTERNAL_VALIDATE_H */ +#include "otverror.h" /* must come before `ftvalid.h' */ -#include FT_INTERNAL_VALIDATE_H -#include FT_INTERNAL_STREAM_H +#include +#include FT_BEGIN_HEADER diff --git a/src/otvalid/otvcommn.h b/src/otvalid/otvcommn.h index 1daf7dca7..0755c4442 100644 --- a/src/otvalid/otvcommn.h +++ b/src/otvalid/otvcommn.h @@ -22,7 +22,7 @@ #include #include "otvalid.h" -#include FT_INTERNAL_DEBUG_H +#include FT_BEGIN_HEADER diff --git a/src/otvalid/otverror.h b/src/otvalid/otverror.h index 49c34d6cd..979e9cbd9 100644 --- a/src/otvalid/otverror.h +++ b/src/otvalid/otverror.h @@ -26,7 +26,7 @@ #ifndef OTVERROR_H_ #define OTVERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX OTV_Err_ #define FT_ERR_BASE FT_Mod_Err_OTvalid -#include FT_ERRORS_H +#include #endif /* OTVERROR_H_ */ diff --git a/src/otvalid/otvmod.c b/src/otvalid/otvmod.c index 5f3e7e8d4..5fe873722 100644 --- a/src/otvalid/otvmod.c +++ b/src/otvalid/otvmod.c @@ -17,11 +17,11 @@ #include -#include FT_TRUETYPE_TABLES_H -#include FT_TRUETYPE_TAGS_H -#include FT_OPENTYPE_VALIDATE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_OPENTYPE_VALIDATE_H +#include +#include +#include +#include +#include #include "otvmod.h" #include "otvalid.h" diff --git a/src/otvalid/otvmod.h b/src/otvalid/otvmod.h index f172c2c8f..6f2e750dc 100644 --- a/src/otvalid/otvmod.h +++ b/src/otvalid/otvmod.h @@ -22,7 +22,7 @@ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/src/pcf/pcf.h b/src/pcf/pcf.h index 33be4bcd8..13380303b 100644 --- a/src/pcf/pcf.h +++ b/src/pcf/pcf.h @@ -30,8 +30,8 @@ THE SOFTWARE. #include -#include FT_INTERNAL_DRIVER_H -#include FT_INTERNAL_STREAM_H +#include +#include FT_BEGIN_HEADER diff --git a/src/pcf/pcfdrivr.c b/src/pcf/pcfdrivr.c index b39592c79..c3ab0a445 100644 --- a/src/pcf/pcfdrivr.c +++ b/src/pcf/pcfdrivr.c @@ -27,15 +27,15 @@ THE SOFTWARE. #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_OBJECTS_H -#include FT_GZIP_H -#include FT_LZW_H -#include FT_BZIP2_H -#include FT_ERRORS_H -#include FT_BDF_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "pcf.h" #include "pcfdrivr.h" @@ -47,10 +47,10 @@ THE SOFTWARE. #undef FT_COMPONENT #define FT_COMPONENT pcfread -#include FT_SERVICE_BDF_H -#include FT_SERVICE_FONT_FORMAT_H -#include FT_SERVICE_PROPERTIES_H -#include FT_DRIVER_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/pcf/pcfdrivr.h b/src/pcf/pcfdrivr.h index 73db0823d..dac2f2238 100644 --- a/src/pcf/pcfdrivr.h +++ b/src/pcf/pcfdrivr.h @@ -29,7 +29,7 @@ THE SOFTWARE. #define PCFDRIVR_H_ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/pcf/pcferror.h b/src/pcf/pcferror.h index 2e69d1d21..8b9e9902a 100644 --- a/src/pcf/pcferror.h +++ b/src/pcf/pcferror.h @@ -25,7 +25,7 @@ #ifndef PCFERROR_H_ #define PCFERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX PCF_Err_ #define FT_ERR_BASE FT_Mod_Err_PCF -#include FT_ERRORS_H +#include #endif /* PCFERROR_H_ */ diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c index 2ffe22d71..7cc33a36a 100644 --- a/src/pcf/pcfread.c +++ b/src/pcf/pcfread.c @@ -27,9 +27,9 @@ THE SOFTWARE. #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_OBJECTS_H +#include +#include +#include #include "pcf.h" #include "pcfread.h" diff --git a/src/pfr/pfrcmap.c b/src/pfr/pfrcmap.c index 3f64ba8b0..b43fd7fa4 100644 --- a/src/pfr/pfrcmap.c +++ b/src/pfr/pfrcmap.c @@ -17,7 +17,7 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include "pfrcmap.h" #include "pfrobjs.h" diff --git a/src/pfr/pfrcmap.h b/src/pfr/pfrcmap.h index b90e8a101..251d85bc3 100644 --- a/src/pfr/pfrcmap.h +++ b/src/pfr/pfrcmap.h @@ -20,7 +20,7 @@ #define PFRCMAP_H_ #include -#include FT_INTERNAL_OBJECTS_H +#include #include "pfrtypes.h" diff --git a/src/pfr/pfrdrivr.c b/src/pfr/pfrdrivr.c index 2028c8e11..e0b315406 100644 --- a/src/pfr/pfrdrivr.c +++ b/src/pfr/pfrdrivr.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_SERVICE_PFR_H -#include FT_SERVICE_FONT_FORMAT_H +#include +#include +#include +#include #include "pfrdrivr.h" #include "pfrobjs.h" diff --git a/src/pfr/pfrdrivr.h b/src/pfr/pfrdrivr.h index 865ec8188..1400e27ec 100644 --- a/src/pfr/pfrdrivr.h +++ b/src/pfr/pfrdrivr.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/pfr/pfrerror.h b/src/pfr/pfrerror.h index 2dbeedfe1..33460ef4f 100644 --- a/src/pfr/pfrerror.h +++ b/src/pfr/pfrerror.h @@ -25,7 +25,7 @@ #ifndef PFRERROR_H_ #define PFRERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX PFR_Err_ #define FT_ERR_BASE FT_Mod_Err_PFR -#include FT_ERRORS_H +#include #endif /* PFRERROR_H_ */ diff --git a/src/pfr/pfrgload.c b/src/pfr/pfrgload.c index 7d57ae153..a6513427f 100644 --- a/src/pfr/pfrgload.c +++ b/src/pfr/pfrgload.c @@ -19,7 +19,7 @@ #include "pfrgload.h" #include "pfrsbit.h" #include "pfrload.h" /* for macro definitions */ -#include FT_INTERNAL_DEBUG_H +#include #include "pfrerror.h" diff --git a/src/pfr/pfrload.c b/src/pfr/pfrload.c index 6eeed2824..a2832e55c 100644 --- a/src/pfr/pfrload.c +++ b/src/pfr/pfrload.c @@ -17,8 +17,8 @@ #include "pfrload.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H +#include +#include #include "pfrerror.h" diff --git a/src/pfr/pfrload.h b/src/pfr/pfrload.h index 7d113df27..7615b9ce1 100644 --- a/src/pfr/pfrload.h +++ b/src/pfr/pfrload.h @@ -20,7 +20,7 @@ #define PFRLOAD_H_ #include "pfrobjs.h" -#include FT_INTERNAL_STREAM_H +#include FT_BEGIN_HEADER diff --git a/src/pfr/pfrobjs.c b/src/pfr/pfrobjs.c index 9bc90a4b6..918e7fd49 100644 --- a/src/pfr/pfrobjs.c +++ b/src/pfr/pfrobjs.c @@ -21,10 +21,10 @@ #include "pfrgload.h" #include "pfrcmap.h" #include "pfrsbit.h" -#include FT_OUTLINE_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include +#include #include "pfrerror.h" diff --git a/src/pfr/pfrsbit.c b/src/pfr/pfrsbit.c index 00669e13f..9c1d31d4f 100644 --- a/src/pfr/pfrsbit.c +++ b/src/pfr/pfrsbit.c @@ -18,8 +18,8 @@ #include "pfrsbit.h" #include "pfrload.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H +#include +#include #include "pfrerror.h" diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h index dfc47beff..83bf5f29d 100644 --- a/src/pfr/pfrtypes.h +++ b/src/pfr/pfrtypes.h @@ -20,7 +20,7 @@ #define PFRTYPES_H_ #include -#include FT_INTERNAL_OBJECTS_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/afmparse.c b/src/psaux/afmparse.c index b957158ae..9dbf9d590 100644 --- a/src/psaux/afmparse.c +++ b/src/psaux/afmparse.c @@ -16,9 +16,9 @@ */ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include #ifndef T1_CONFIG_OPTION_NO_AFM diff --git a/src/psaux/afmparse.h b/src/psaux/afmparse.h index 50f4834b3..8e8a5873b 100644 --- a/src/psaux/afmparse.h +++ b/src/psaux/afmparse.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/cffdecode.c b/src/psaux/cffdecode.c index 172e3b23a..7ed6c5bf2 100644 --- a/src/psaux/cffdecode.c +++ b/src/psaux/cffdecode.c @@ -17,10 +17,10 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_SERVICE_H -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include +#include +#include +#include #include "cffdecode.h" #include "psobjs.h" diff --git a/src/psaux/cffdecode.h b/src/psaux/cffdecode.h index 5dc968b25..e7f095b6a 100644 --- a/src/psaux/cffdecode.h +++ b/src/psaux/cffdecode.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/psarrst.c b/src/psaux/psarrst.c index 011803b41..8751d275f 100644 --- a/src/psaux/psarrst.c +++ b/src/psaux/psarrst.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psglue.h" #include "psarrst.h" diff --git a/src/psaux/psauxerr.h b/src/psaux/psauxerr.h index df8b09ff7..8b9a958ae 100644 --- a/src/psaux/psauxerr.h +++ b/src/psaux/psauxerr.h @@ -26,7 +26,7 @@ #ifndef PSAUXERR_H_ #define PSAUXERR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX PSaux_Err_ #define FT_ERR_BASE FT_Mod_Err_PSaux -#include FT_ERRORS_H +#include #endif /* PSAUXERR_H_ */ diff --git a/src/psaux/psauxmod.h b/src/psaux/psauxmod.h index 6e2eb6704..4582f9fd6 100644 --- a/src/psaux/psauxmod.h +++ b/src/psaux/psauxmod.h @@ -21,9 +21,9 @@ #include -#include FT_MODULE_H +#include -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/psblues.c b/src/psaux/psblues.c index 89738ce47..3878e9bde 100644 --- a/src/psaux/psblues.c +++ b/src/psaux/psblues.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psblues.h" #include "pshints.h" diff --git a/src/psaux/psconv.c b/src/psaux/psconv.c index c813a0596..ae6e55f9b 100644 --- a/src/psaux/psconv.c +++ b/src/psaux/psconv.c @@ -17,8 +17,8 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_DEBUG_H +#include +#include #include "psconv.h" #include "psauxerr.h" diff --git a/src/psaux/psconv.h b/src/psaux/psconv.h index 2cd5c60e4..00f303b09 100644 --- a/src/psaux/psconv.h +++ b/src/psaux/psconv.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/pserror.h b/src/psaux/pserror.h index b2156b331..eb0a865e2 100644 --- a/src/psaux/pserror.h +++ b/src/psaux/pserror.h @@ -40,7 +40,7 @@ #define PSERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -49,7 +49,7 @@ #define FT_ERR_BASE FT_Mod_Err_CF2 -#include FT_ERRORS_H +#include #include "psft.h" diff --git a/src/psaux/psfont.c b/src/psaux/psfont.c index 00e421081..ba584a52d 100644 --- a/src/psaux/psfont.c +++ b/src/psaux/psfont.c @@ -37,7 +37,7 @@ #include -#include FT_INTERNAL_CALC_H +#include #include "psft.h" diff --git a/src/psaux/psfont.h b/src/psaux/psfont.h index 8fbacbb6e..836fce4e4 100644 --- a/src/psaux/psfont.h +++ b/src/psaux/psfont.h @@ -40,7 +40,7 @@ #define PSFONT_H_ -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include #include "psft.h" #include "psblues.h" diff --git a/src/psaux/psft.c b/src/psaux/psft.c index 50b40bf8f..41c16542c 100644 --- a/src/psaux/psft.c +++ b/src/psaux/psft.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psfont.h" #include "pserror.h" @@ -45,11 +45,11 @@ #include "cffdecode.h" #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H +#include +#include #endif -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include #define CF2_MAX_SIZE cf2_intToFixed( 2000 ) /* max ppem */ diff --git a/src/psaux/psft.h b/src/psaux/psft.h index 4c930f0d7..902983ed7 100644 --- a/src/psaux/psft.h +++ b/src/psaux/psft.h @@ -47,10 +47,10 @@ #define CF2_NDEBUG -#include FT_SYSTEM_H +#include #include "psglue.h" -#include FT_INTERNAL_POSTSCRIPT_AUX_H /* for PS_Decoder */ +#include /* for PS_Decoder */ FT_BEGIN_HEADER diff --git a/src/psaux/pshints.c b/src/psaux/pshints.c index 1cbecd2b1..6d6390380 100644 --- a/src/psaux/pshints.c +++ b/src/psaux/pshints.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psglue.h" #include "psfont.h" diff --git a/src/psaux/psintrp.c b/src/psaux/psintrp.c index 0a8414553..519c69444 100644 --- a/src/psaux/psintrp.c +++ b/src/psaux/psintrp.c @@ -37,8 +37,8 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H -#include FT_SERVICE_CFF_TABLE_LOAD_H +#include +#include #include "psglue.h" #include "psfont.h" diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index b37a78832..9b1711be8 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_DRIVER_H +#include +#include +#include +#include #include "psobjs.h" #include "psconv.h" diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h index d37638d0c..6bed57f97 100644 --- a/src/psaux/psobjs.h +++ b/src/psaux/psobjs.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_CFF_OBJECTS_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/psaux/psread.c b/src/psaux/psread.c index 86bfc03c6..7f657f2cd 100644 --- a/src/psaux/psread.c +++ b/src/psaux/psread.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psglue.h" diff --git a/src/psaux/psstack.c b/src/psaux/psstack.c index 665906800..bebbba218 100644 --- a/src/psaux/psstack.c +++ b/src/psaux/psstack.c @@ -37,7 +37,7 @@ #include "psft.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psglue.h" #include "psfont.h" diff --git a/src/psaux/pstypes.h b/src/psaux/pstypes.h index 041287e8d..8d30481e0 100644 --- a/src/psaux/pstypes.h +++ b/src/psaux/pstypes.h @@ -40,7 +40,7 @@ #define PSTYPES_H_ #include -#include FT_FREETYPE_H +#include FT_BEGIN_HEADER diff --git a/src/psaux/t1cmap.c b/src/psaux/t1cmap.c index 451b27653..e21e93ca2 100644 --- a/src/psaux/t1cmap.c +++ b/src/psaux/t1cmap.c @@ -18,7 +18,7 @@ #include "t1cmap.h" -#include FT_INTERNAL_DEBUG_H +#include #include "psauxerr.h" diff --git a/src/psaux/t1cmap.h b/src/psaux/t1cmap.h index 541191383..5dc2c332f 100644 --- a/src/psaux/t1cmap.h +++ b/src/psaux/t1cmap.h @@ -20,8 +20,8 @@ #define T1CMAP_H_ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c index fa1745d9e..b42b9c65d 100644 --- a/src/psaux/t1decode.c +++ b/src/psaux/t1decode.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_POSTSCRIPT_HINTS_H -#include FT_INTERNAL_HASH_H -#include FT_OUTLINE_H +#include +#include +#include +#include +#include #include "t1decode.h" #include "psobjs.h" diff --git a/src/psaux/t1decode.h b/src/psaux/t1decode.h index 231947e85..0e0f6e3ad 100644 --- a/src/psaux/t1decode.h +++ b/src/psaux/t1decode.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c index 57dfa3da9..7d68e4162 100644 --- a/src/pshinter/pshalgo.c +++ b/src/pshinter/pshalgo.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H +#include +#include +#include #include "pshalgo.h" #include "pshnterr.h" diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c index d9f835f99..6baaf8366 100644 --- a/src/pshinter/pshglob.c +++ b/src/pshinter/pshglob.c @@ -18,9 +18,9 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_CALC_H +#include +#include +#include #include "pshglob.h" #ifdef DEBUG_HINTER diff --git a/src/pshinter/pshglob.h b/src/pshinter/pshglob.h index cd2f3122f..8181324e5 100644 --- a/src/pshinter/pshglob.h +++ b/src/pshinter/pshglob.h @@ -20,8 +20,8 @@ #define PSHGLOB_H_ -#include FT_FREETYPE_H -#include FT_INTERNAL_POSTSCRIPT_HINTS_H +#include +#include FT_BEGIN_HEADER diff --git a/src/pshinter/pshmod.c b/src/pshinter/pshmod.c index 686859b3e..405edbb9b 100644 --- a/src/pshinter/pshmod.c +++ b/src/pshinter/pshmod.c @@ -17,7 +17,7 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include #include "pshrec.h" #include "pshalgo.h" diff --git a/src/pshinter/pshmod.h b/src/pshinter/pshmod.h index c44112e9d..f5c8626f7 100644 --- a/src/pshinter/pshmod.h +++ b/src/pshinter/pshmod.h @@ -21,7 +21,7 @@ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/src/pshinter/pshnterr.h b/src/pshinter/pshnterr.h index c4e9f42d2..d67955c41 100644 --- a/src/pshinter/pshnterr.h +++ b/src/pshinter/pshnterr.h @@ -25,7 +25,7 @@ #ifndef PSHNTERR_H_ #define PSHNTERR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX PSH_Err_ #define FT_ERR_BASE FT_Mod_Err_PShinter -#include FT_ERRORS_H +#include #endif /* PSHNTERR_H_ */ diff --git a/src/pshinter/pshrec.c b/src/pshinter/pshrec.c index a81c6f712..df3873d1a 100644 --- a/src/pshinter/pshrec.c +++ b/src/pshinter/pshrec.c @@ -17,10 +17,10 @@ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H +#include +#include +#include +#include #include "pshrec.h" #include "pshalgo.h" diff --git a/src/pshinter/pshrec.h b/src/pshinter/pshrec.h index a8bc5aeec..e0a4cd144 100644 --- a/src/pshinter/pshrec.h +++ b/src/pshinter/pshrec.h @@ -33,7 +33,7 @@ #include -#include FT_INTERNAL_POSTSCRIPT_HINTS_H +#include #include "pshglob.h" diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c index bb3ff0702..58e8df817 100644 --- a/src/psnames/psmodule.c +++ b/src/psnames/psmodule.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_SERVICE_POSTSCRIPT_CMAPS_H +#include +#include +#include #include "psmodule.h" diff --git a/src/psnames/psmodule.h b/src/psnames/psmodule.h index 955f699f3..d0628a82f 100644 --- a/src/psnames/psmodule.h +++ b/src/psnames/psmodule.h @@ -21,7 +21,7 @@ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/src/psnames/psnamerr.h b/src/psnames/psnamerr.h index fb9058e61..154c701d0 100644 --- a/src/psnames/psnamerr.h +++ b/src/psnames/psnamerr.h @@ -26,7 +26,7 @@ #ifndef PSNAMERR_H_ #define PSNAMERR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX PSnames_Err_ #define FT_ERR_BASE FT_Mod_Err_PSnames -#include FT_ERRORS_H +#include #endif /* PSNAMERR_H_ */ diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c index 35655a634..a633ae1a8 100644 --- a/src/raster/ftraster.c +++ b/src/raster/ftraster.c @@ -64,8 +64,8 @@ #include #include "ftraster.h" -#include FT_INTERNAL_CALC_H /* for FT_MulDiv and FT_MulDiv_No_Round */ -#include FT_OUTLINE_H /* for FT_Outline_Get_CBox */ +#include /* for FT_MulDiv and FT_MulDiv_No_Round */ +#include /* for FT_Outline_Get_CBox */ #endif /* !STANDALONE_ */ @@ -226,8 +226,8 @@ #else /* !STANDALONE_ */ -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H /* for FT_TRACE, FT_ERROR, and FT_THROW */ +#include +#include /* for FT_TRACE, FT_ERROR, and FT_THROW */ #include "rasterrs.h" diff --git a/src/raster/ftraster.h b/src/raster/ftraster.h index 833d30f23..1e5a725e9 100644 --- a/src/raster/ftraster.h +++ b/src/raster/ftraster.h @@ -22,7 +22,7 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_IMAGE_H +#include FT_BEGIN_HEADER diff --git a/src/raster/ftrend1.c b/src/raster/ftrend1.c index 944279a8d..cdb2cfc3e 100644 --- a/src/raster/ftrend1.c +++ b/src/raster/ftrend1.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_OUTLINE_H +#include +#include +#include #include "ftrend1.h" #include "ftraster.h" diff --git a/src/raster/ftrend1.h b/src/raster/ftrend1.h index dc972b1bc..caeaa1873 100644 --- a/src/raster/ftrend1.h +++ b/src/raster/ftrend1.h @@ -21,7 +21,7 @@ #include -#include FT_RENDER_H +#include FT_BEGIN_HEADER diff --git a/src/raster/rasterrs.h b/src/raster/rasterrs.h index 379e1d3e8..a29651a6c 100644 --- a/src/raster/rasterrs.h +++ b/src/raster/rasterrs.h @@ -26,7 +26,7 @@ #ifndef RASTERRS_H_ #define RASTERRS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX Raster_Err_ #define FT_ERR_BASE FT_Mod_Err_Raster -#include FT_ERRORS_H +#include #endif /* RASTERRS_H_ */ diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c index 523b30a74..3acc1d551 100644 --- a/src/sfnt/pngshim.c +++ b/src/sfnt/pngshim.c @@ -18,9 +18,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #include FT_CONFIG_STANDARD_LIBRARY_H diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c index 6ca4f3c26..d17b25a28 100644 --- a/src/sfnt/sfdriver.c +++ b/src/sfnt/sfdriver.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_OBJECTS_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include +#include #include "sfdriver.h" #include "ttload.h" @@ -43,21 +43,21 @@ #ifdef TT_CONFIG_OPTION_BDF #include "ttbdf.h" -#include FT_SERVICE_BDF_H +#include #endif #include "ttcmap.h" #include "ttkern.h" #include "ttmtx.h" -#include FT_SERVICE_GLYPH_DICT_H -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_SFNT_H -#include FT_SERVICE_TT_CMAP_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H +#include +#include #endif diff --git a/src/sfnt/sfdriver.h b/src/sfnt/sfdriver.h index d108ee200..ca7c517db 100644 --- a/src/sfnt/sfdriver.h +++ b/src/sfnt/sfdriver.h @@ -21,7 +21,7 @@ #include -#include FT_MODULE_H +#include FT_BEGIN_HEADER diff --git a/src/sfnt/sferrors.h b/src/sfnt/sferrors.h index fbfca0e52..55c3e76b6 100644 --- a/src/sfnt/sferrors.h +++ b/src/sfnt/sferrors.h @@ -25,7 +25,7 @@ #ifndef SFERRORS_H_ #define SFERRORS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX SFNT_Err_ #define FT_ERR_BASE FT_Mod_Err_SFNT -#include FT_ERRORS_H +#include #endif /* SFERRORS_H_ */ diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 2c66a9b64..7eb1d4c5a 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -23,16 +23,16 @@ #include "ttkern.h" #include "sfwoff.h" #include "sfwoff2.h" -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_DEBUG_H -#include FT_TRUETYPE_IDS_H -#include FT_TRUETYPE_TAGS_H -#include FT_SERVICE_POSTSCRIPT_CMAPS_H -#include FT_SFNT_NAMES_H +#include +#include +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_METRICS_VARIATIONS_H +#include +#include #endif #include "sferrors.h" diff --git a/src/sfnt/sfobjs.h b/src/sfnt/sfobjs.h index d8438a483..da9bac57c 100644 --- a/src/sfnt/sfobjs.h +++ b/src/sfnt/sfobjs.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/sfwoff.c b/src/sfnt/sfwoff.c index d1e330f67..7df353508 100644 --- a/src/sfnt/sfwoff.c +++ b/src/sfnt/sfwoff.c @@ -18,10 +18,10 @@ #include #include "sfwoff.h" -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_GZIP_H +#include +#include +#include +#include /************************************************************************** diff --git a/src/sfnt/sfwoff.h b/src/sfnt/sfwoff.h index c1789d33d..13f67f7c9 100644 --- a/src/sfnt/sfwoff.h +++ b/src/sfnt/sfwoff.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c index 1b99e7d28..2714d5c39 100644 --- a/src/sfnt/sfwoff2.c +++ b/src/sfnt/sfwoff2.c @@ -18,9 +18,9 @@ #include #include "sfwoff2.h" #include "woff2tags.h" -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H +#include +#include +#include #ifdef FT_CONFIG_OPTION_USE_BROTLI diff --git a/src/sfnt/sfwoff2.h b/src/sfnt/sfwoff2.h index 7ae6e2c06..6b43f279a 100644 --- a/src/sfnt/sfwoff2.h +++ b/src/sfnt/sfwoff2.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_SFNT_H -#include FT_INTERNAL_OBJECTS_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttbdf.c b/src/sfnt/ttbdf.c index bc35284cc..b3f28813c 100644 --- a/src/sfnt/ttbdf.c +++ b/src/sfnt/ttbdf.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #include "ttbdf.h" #include "sferrors.h" diff --git a/src/sfnt/ttbdf.h b/src/sfnt/ttbdf.h index c340f6631..a1ed68887 100644 --- a/src/sfnt/ttbdf.h +++ b/src/sfnt/ttbdf.h @@ -22,7 +22,7 @@ #include #include "ttload.h" -#include FT_BDF_H +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c index 76fafa271..0ac1a9653 100644 --- a/src/sfnt/ttcmap.c +++ b/src/sfnt/ttcmap.c @@ -17,13 +17,13 @@ #include -#include FT_INTERNAL_DEBUG_H +#include -#include "sferrors.h" /* must come before FT_INTERNAL_VALIDATE_H */ +#include "sferrors.h" /* must come before `ftvalid.h' */ -#include FT_INTERNAL_VALIDATE_H -#include FT_INTERNAL_STREAM_H -#include FT_SERVICE_POSTSCRIPT_CMAPS_H +#include +#include +#include #include "ttload.h" #include "ttcmap.h" #include "ttpost.h" diff --git a/src/sfnt/ttcmap.h b/src/sfnt/ttcmap.h index 4bf49e2d4..afe9945bf 100644 --- a/src/sfnt/ttcmap.h +++ b/src/sfnt/ttcmap.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_TRUETYPE_TYPES_H -#include FT_INTERNAL_VALIDATE_H -#include FT_SERVICE_TT_CMAP_H +#include +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttcolr.c b/src/sfnt/ttcolr.c index b37fa7b09..082e1a7f9 100644 --- a/src/sfnt/ttcolr.c +++ b/src/sfnt/ttcolr.c @@ -28,10 +28,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H -#include FT_COLOR_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_COLOR_LAYERS diff --git a/src/sfnt/ttcpal.c b/src/sfnt/ttcpal.c index 165423e30..bded2e3f4 100644 --- a/src/sfnt/ttcpal.c +++ b/src/sfnt/ttcpal.c @@ -28,10 +28,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H -#include FT_COLOR_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_COLOR_LAYERS diff --git a/src/sfnt/ttkern.c b/src/sfnt/ttkern.c index 1d34acbd1..a6df22223 100644 --- a/src/sfnt/ttkern.c +++ b/src/sfnt/ttkern.c @@ -18,9 +18,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #include "ttkern.h" #include "sferrors.h" diff --git a/src/sfnt/ttkern.h b/src/sfnt/ttkern.h index 6560a283a..5b0e36389 100644 --- a/src/sfnt/ttkern.h +++ b/src/sfnt/ttkern.h @@ -22,8 +22,8 @@ #include -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index d4e4ee4f1..c10ddcd4e 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -18,9 +18,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #include "ttload.h" #include "sferrors.h" diff --git a/src/sfnt/ttload.h b/src/sfnt/ttload.h index 49d40655f..ba1bece32 100644 --- a/src/sfnt/ttload.h +++ b/src/sfnt/ttload.h @@ -22,8 +22,8 @@ #include -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttmtx.c b/src/sfnt/ttmtx.c index e18ff877e..ab68f5091 100644 --- a/src/sfnt/ttmtx.c +++ b/src/sfnt/ttmtx.c @@ -17,12 +17,12 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_SERVICE_METRICS_VARIATIONS_H +#include #endif #include "ttmtx.h" diff --git a/src/sfnt/ttmtx.h b/src/sfnt/ttmtx.h index c98c79ec5..6eb5eb303 100644 --- a/src/sfnt/ttmtx.h +++ b/src/sfnt/ttmtx.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c index f7be71621..db2a2b8b1 100644 --- a/src/sfnt/ttpost.c +++ b/src/sfnt/ttpost.c @@ -26,9 +26,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include #ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES @@ -54,7 +54,7 @@ #ifdef FT_CONFIG_OPTION_POSTSCRIPT_NAMES -#include FT_SERVICE_POSTSCRIPT_CMAPS_H +#include #define MAC_NAME( x ) (FT_String*)psnames->macintosh_name( (FT_UInt)(x) ) diff --git a/src/sfnt/ttpost.h b/src/sfnt/ttpost.h index 547f2ff84..94c7d1680 100644 --- a/src/sfnt/ttpost.h +++ b/src/sfnt/ttpost.h @@ -23,7 +23,7 @@ #include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c index 3f8730f7f..3bd37adc2 100644 --- a/src/sfnt/ttsbit.c +++ b/src/sfnt/ttsbit.c @@ -20,10 +20,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H -#include FT_BITMAP_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS diff --git a/src/sfnt/woff2tags.c b/src/sfnt/woff2tags.c index 246f7fa06..04713bdc6 100644 --- a/src/sfnt/woff2tags.c +++ b/src/sfnt/woff2tags.c @@ -17,7 +17,7 @@ #include -#include FT_TRUETYPE_TAGS_H +#include /* diff --git a/src/sfnt/woff2tags.h b/src/sfnt/woff2tags.h index 13d242e11..cd0d38699 100644 --- a/src/sfnt/woff2tags.h +++ b/src/sfnt/woff2tags.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include FT_BEGIN_HEADER diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 93538331a..bbc29cefd 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -280,10 +280,10 @@ typedef ptrdiff_t FT_PtrDist; #include #include "ftgrays.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_OUTLINE_H +#include +#include +#include +#include #include "ftsmerrs.h" diff --git a/src/smooth/ftgrays.h b/src/smooth/ftgrays.h index e10fd039a..caba63283 100644 --- a/src/smooth/ftgrays.h +++ b/src/smooth/ftgrays.h @@ -28,7 +28,7 @@ #include "ftimage.h" #else #include -#include FT_IMAGE_H +#include #endif diff --git a/src/smooth/ftsmerrs.h b/src/smooth/ftsmerrs.h index 3f8567b0f..e93f3df9b 100644 --- a/src/smooth/ftsmerrs.h +++ b/src/smooth/ftsmerrs.h @@ -26,7 +26,7 @@ #ifndef FTSMERRS_H_ #define FTSMERRS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX Smooth_Err_ #define FT_ERR_BASE FT_Mod_Err_Smooth -#include FT_ERRORS_H +#include #endif /* FTSMERRS_H_ */ diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c index 1a0045ab7..3b42d4354 100644 --- a/src/smooth/ftsmooth.c +++ b/src/smooth/ftsmooth.c @@ -17,9 +17,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_OUTLINE_H +#include +#include +#include #include "ftsmooth.h" #include "ftgrays.h" diff --git a/src/smooth/ftsmooth.h b/src/smooth/ftsmooth.h index 6eeacc7db..420b3d622 100644 --- a/src/smooth/ftsmooth.h +++ b/src/smooth/ftsmooth.h @@ -21,7 +21,7 @@ #include -#include FT_RENDER_H +#include FT_BEGIN_HEADER diff --git a/src/tools/ftrandom/ftrandom.c b/src/tools/ftrandom/ftrandom.c index ab5cfc98b..ab6242978 100644 --- a/src/tools/ftrandom/ftrandom.c +++ b/src/tools/ftrandom/ftrandom.c @@ -45,8 +45,8 @@ #include #include -#include FT_FREETYPE_H -#include FT_OUTLINE_H +#include +#include #define true 1 #define false 0 diff --git a/src/tools/test_afm.c b/src/tools/test_afm.c index 8de619bb0..c322f0e5d 100644 --- a/src/tools/test_afm.c +++ b/src/tools/test_afm.c @@ -3,9 +3,9 @@ * -L../../objs/.libs -lfreetype -lz -static */ #include -#include FT_FREETYPE_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include void dump_fontinfo( AFM_FontInfo fi ) { diff --git a/src/tools/test_bbox.c b/src/tools/test_bbox.c index 64b82c384..d17a3baae 100644 --- a/src/tools/test_bbox.c +++ b/src/tools/test_bbox.c @@ -1,6 +1,6 @@ #include -#include FT_FREETYPE_H -#include FT_BBOX_H +#include +#include #include /* for clock() */ diff --git a/src/tools/test_trig.c b/src/tools/test_trig.c index 99ac1cf17..9213cc856 100644 --- a/src/tools/test_trig.c +++ b/src/tools/test_trig.c @@ -1,6 +1,6 @@ #include -#include FT_FREETYPE_H -#include FT_TRIGONOMETRY_H +#include +#include #include #include diff --git a/src/truetype/ttdriver.c b/src/truetype/ttdriver.c index 90fab46e2..ce14d7802 100644 --- a/src/truetype/ttdriver.c +++ b/src/truetype/ttdriver.c @@ -17,21 +17,21 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_SERVICE_FONT_FORMAT_H +#include +#include +#include +#include #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT -#include FT_MULTIPLE_MASTERS_H -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_METRICS_VARIATIONS_H +#include +#include +#include #endif -#include FT_SERVICE_TRUETYPE_ENGINE_H -#include FT_SERVICE_TRUETYPE_GLYF_H -#include FT_SERVICE_PROPERTIES_H -#include FT_DRIVER_H +#include +#include +#include +#include #include "ttdriver.h" #include "ttgload.h" diff --git a/src/truetype/ttdriver.h b/src/truetype/ttdriver.h index d1cfa47c8..204d3533c 100644 --- a/src/truetype/ttdriver.h +++ b/src/truetype/ttdriver.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/truetype/tterrors.h b/src/truetype/tterrors.h index 71d66023c..efeafd3a1 100644 --- a/src/truetype/tterrors.h +++ b/src/truetype/tterrors.h @@ -26,7 +26,7 @@ #ifndef TTERRORS_H_ #define TTERRORS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX TT_Err_ #define FT_ERR_BASE FT_Mod_Err_TrueType -#include FT_ERRORS_H +#include #endif /* TTERRORS_H_ */ diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 2a1742839..d76ce4324 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -17,15 +17,15 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_TRUETYPE_TAGS_H -#include FT_OUTLINE_H -#include FT_DRIVER_H -#include FT_LIST_H +#include +#include +#include +#include +#include +#include +#include #include "ttgload.h" #include "ttpload.h" diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c index 110f24a11..22c7025f5 100644 --- a/src/truetype/ttgxvar.c +++ b/src/truetype/ttgxvar.c @@ -40,14 +40,14 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_TRUETYPE_TAGS_H -#include FT_TRUETYPE_IDS_H -#include FT_MULTIPLE_MASTERS_H -#include FT_LIST_H +#include +#include +#include +#include +#include +#include #include "ttpload.h" #include "ttgxvar.h" diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 321504097..6d7633956 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -21,12 +21,12 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_TRIGONOMETRY_H -#include FT_SYSTEM_H -#include FT_DRIVER_H -#include FT_MULTIPLE_MASTERS_H +#include +#include +#include +#include +#include +#include #include "ttinterp.h" #include "tterrors.h" diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index 730a5b8cd..c5a18875c 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H -#include FT_INTERNAL_SFNT_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include #include "ttgload.h" #include "ttpload.h" diff --git a/src/truetype/ttobjs.h b/src/truetype/ttobjs.h index 7c3fc7ef8..7e81d2a0b 100644 --- a/src/truetype/ttobjs.h +++ b/src/truetype/ttobjs.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include +#include FT_BEGIN_HEADER diff --git a/src/truetype/ttpload.c b/src/truetype/ttpload.c index d35393a8b..42c946753 100644 --- a/src/truetype/ttpload.c +++ b/src/truetype/ttpload.c @@ -17,10 +17,10 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_TAGS_H +#include +#include +#include +#include #include "ttpload.h" diff --git a/src/truetype/ttpload.h b/src/truetype/ttpload.h index 3bbd4add1..eb5f5a4e5 100644 --- a/src/truetype/ttpload.h +++ b/src/truetype/ttpload.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_TRUETYPE_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/truetype/ttsubpix.c b/src/truetype/ttsubpix.c index 828981886..c11008643 100644 --- a/src/truetype/ttsubpix.c +++ b/src/truetype/ttsubpix.c @@ -16,13 +16,13 @@ */ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_SFNT_H -#include FT_TRUETYPE_TAGS_H -#include FT_OUTLINE_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include +#include +#include #include "ttsubpix.h" diff --git a/src/type1/t1afm.c b/src/type1/t1afm.c index 0866e7bf9..69295beb3 100644 --- a/src/type1/t1afm.c +++ b/src/type1/t1afm.c @@ -18,9 +18,9 @@ #include #include "t1afm.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include #include "t1errors.h" diff --git a/src/type1/t1afm.h b/src/type1/t1afm.h index 40ce8f975..97b41f3b8 100644 --- a/src/type1/t1afm.h +++ b/src/type1/t1afm.h @@ -21,7 +21,7 @@ #include #include "t1objs.h" -#include FT_INTERNAL_TYPE1_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/type1/t1driver.c b/src/type1/t1driver.c index 75a5698e8..87d463bc6 100644 --- a/src/type1/t1driver.c +++ b/src/type1/t1driver.c @@ -27,20 +27,20 @@ #include "t1afm.h" #endif -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_HASH_H -#include FT_INTERNAL_POSTSCRIPT_PROPS_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include -#include FT_SERVICE_MULTIPLE_MASTERS_H -#include FT_SERVICE_GLYPH_DICT_H -#include FT_SERVICE_FONT_FORMAT_H -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_POSTSCRIPT_CMAPS_H -#include FT_SERVICE_POSTSCRIPT_INFO_H -#include FT_SERVICE_PROPERTIES_H -#include FT_SERVICE_KERNING_H +#include +#include +#include +#include +#include +#include +#include +#include /************************************************************************** diff --git a/src/type1/t1driver.h b/src/type1/t1driver.h index 84b3e041c..a96dce210 100644 --- a/src/type1/t1driver.h +++ b/src/type1/t1driver.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/type1/t1errors.h b/src/type1/t1errors.h index 1b119b843..ad03a3d32 100644 --- a/src/type1/t1errors.h +++ b/src/type1/t1errors.h @@ -25,7 +25,7 @@ #ifndef T1ERRORS_H_ #define T1ERRORS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX T1_Err_ #define FT_ERR_BASE FT_Mod_Err_Type1 -#include FT_ERRORS_H +#include #endif /* T1ERRORS_H_ */ diff --git a/src/type1/t1gload.c b/src/type1/t1gload.c index fcaf66c40..0026ae5bd 100644 --- a/src/type1/t1gload.c +++ b/src/type1/t1gload.c @@ -18,13 +18,13 @@ #include #include "t1gload.h" -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_OUTLINE_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_INTERNAL_CFF_TYPES_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include +#include +#include #include "t1errors.h" diff --git a/src/type1/t1load.c b/src/type1/t1load.c index d0ea36bad..08a36d182 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -61,12 +61,12 @@ #include -#include FT_INTERNAL_DEBUG_H +#include #include FT_CONFIG_CONFIG_H -#include FT_MULTIPLE_MASTERS_H -#include FT_INTERNAL_TYPE1_TYPES_H -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_HASH_H +#include +#include +#include +#include #include "t1load.h" #include "t1errors.h" diff --git a/src/type1/t1load.h b/src/type1/t1load.h index 9cac0f6fb..0712ad6aa 100644 --- a/src/type1/t1load.h +++ b/src/type1/t1load.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H -#include FT_MULTIPLE_MASTERS_H +#include +#include +#include #include "t1parse.h" diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c index 80ee0e265..ff2786ba2 100644 --- a/src/type1/t1objs.c +++ b/src/type1/t1objs.c @@ -17,11 +17,11 @@ #include -#include FT_INTERNAL_CALC_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_TRUETYPE_IDS_H -#include FT_DRIVER_H +#include +#include +#include +#include +#include #include "t1gload.h" #include "t1load.h" @@ -32,8 +32,8 @@ #include "t1afm.h" #endif -#include FT_SERVICE_POSTSCRIPT_CMAPS_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include /************************************************************************** diff --git a/src/type1/t1objs.h b/src/type1/t1objs.h index 6bc902cc8..536be8ba1 100644 --- a/src/type1/t1objs.h +++ b/src/type1/t1objs.h @@ -21,9 +21,9 @@ #include -#include FT_INTERNAL_OBJECTS_H +#include #include FT_CONFIG_CONFIG_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include FT_BEGIN_HEADER diff --git a/src/type1/t1parse.c b/src/type1/t1parse.c index ec30355bf..0007d551e 100644 --- a/src/type1/t1parse.c +++ b/src/type1/t1parse.c @@ -34,9 +34,9 @@ #include -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include #include "t1parse.h" diff --git a/src/type1/t1parse.h b/src/type1/t1parse.h index edf79b0a8..6aaccb892 100644 --- a/src/type1/t1parse.h +++ b/src/type1/t1parse.h @@ -21,8 +21,8 @@ #include -#include FT_INTERNAL_TYPE1_TYPES_H -#include FT_INTERNAL_STREAM_H +#include +#include FT_BEGIN_HEADER diff --git a/src/type42/t42drivr.c b/src/type42/t42drivr.c index 4b2cab347..90898b432 100644 --- a/src/type42/t42drivr.c +++ b/src/type42/t42drivr.c @@ -39,12 +39,12 @@ #include "t42drivr.h" #include "t42objs.h" #include "t42error.h" -#include FT_INTERNAL_DEBUG_H +#include -#include FT_SERVICE_FONT_FORMAT_H -#include FT_SERVICE_GLYPH_DICT_H -#include FT_SERVICE_POSTSCRIPT_NAME_H -#include FT_SERVICE_POSTSCRIPT_INFO_H +#include +#include +#include +#include #undef FT_COMPONENT #define FT_COMPONENT t42 diff --git a/src/type42/t42drivr.h b/src/type42/t42drivr.h index 7e7ec70f9..49461ce3c 100644 --- a/src/type42/t42drivr.h +++ b/src/type42/t42drivr.h @@ -21,7 +21,7 @@ #include -#include FT_INTERNAL_DRIVER_H +#include FT_BEGIN_HEADER diff --git a/src/type42/t42error.h b/src/type42/t42error.h index 6d3617e92..e48132ec0 100644 --- a/src/type42/t42error.h +++ b/src/type42/t42error.h @@ -25,7 +25,7 @@ #ifndef T42ERROR_H_ #define T42ERROR_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -33,7 +33,7 @@ #define FT_ERR_PREFIX T42_Err_ #define FT_ERR_BASE FT_Mod_Err_Type42 -#include FT_ERRORS_H +#include #endif /* T42ERROR_H_ */ diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c index 8d1e63ffc..6acfcdf40 100644 --- a/src/type42/t42objs.c +++ b/src/type42/t42objs.c @@ -19,9 +19,9 @@ #include "t42objs.h" #include "t42parse.h" #include "t42error.h" -#include FT_INTERNAL_DEBUG_H -#include FT_LIST_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include #undef FT_COMPONENT diff --git a/src/type42/t42objs.h b/src/type42/t42objs.h index ecb495e8f..b3452fbb6 100644 --- a/src/type42/t42objs.h +++ b/src/type42/t42objs.h @@ -20,14 +20,14 @@ #define T42OBJS_H_ #include -#include FT_FREETYPE_H -#include FT_TYPE1_TABLES_H -#include FT_INTERNAL_TYPE1_TYPES_H +#include +#include +#include #include "t42types.h" -#include FT_INTERNAL_OBJECTS_H -#include FT_INTERNAL_DRIVER_H -#include FT_SERVICE_POSTSCRIPT_CMAPS_H -#include FT_INTERNAL_POSTSCRIPT_HINTS_H +#include +#include +#include +#include FT_BEGIN_HEADER diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c index 7f26d0417..75c07dc68 100644 --- a/src/type42/t42parse.c +++ b/src/type42/t42parse.c @@ -18,9 +18,9 @@ #include "t42parse.h" #include "t42error.h" -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include +#include +#include /************************************************************************** diff --git a/src/type42/t42parse.h b/src/type42/t42parse.h index de54a46cf..2ccf052d7 100644 --- a/src/type42/t42parse.h +++ b/src/type42/t42parse.h @@ -21,7 +21,7 @@ #include "t42objs.h" -#include FT_INTERNAL_POSTSCRIPT_AUX_H +#include FT_BEGIN_HEADER diff --git a/src/type42/t42types.h b/src/type42/t42types.h index f66f09db8..01af60526 100644 --- a/src/type42/t42types.h +++ b/src/type42/t42types.h @@ -21,10 +21,10 @@ #include -#include FT_FREETYPE_H -#include FT_TYPE1_TABLES_H -#include FT_INTERNAL_TYPE1_TYPES_H -#include FT_INTERNAL_POSTSCRIPT_HINTS_H +#include +#include +#include +#include FT_BEGIN_HEADER diff --git a/src/winfonts/fnterrs.h b/src/winfonts/fnterrs.h index f98e68435..550de386f 100644 --- a/src/winfonts/fnterrs.h +++ b/src/winfonts/fnterrs.h @@ -26,7 +26,7 @@ #ifndef FNTERRS_H_ #define FNTERRS_H_ -#include FT_MODULE_ERRORS_H +#include #undef FTERRORS_H_ @@ -34,7 +34,7 @@ #define FT_ERR_PREFIX FNT_Err_ #define FT_ERR_BASE FT_Mod_Err_Winfonts -#include FT_ERRORS_H +#include #endif /* FNTERRS_H_ */ diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c index 9b466e8f2..6931ef4a6 100644 --- a/src/winfonts/winfnt.c +++ b/src/winfonts/winfnt.c @@ -19,16 +19,16 @@ #include -#include FT_WINFONTS_H -#include FT_INTERNAL_DEBUG_H -#include FT_INTERNAL_STREAM_H -#include FT_INTERNAL_OBJECTS_H -#include FT_TRUETYPE_IDS_H +#include +#include +#include +#include +#include #include "winfnt.h" #include "fnterrs.h" -#include FT_SERVICE_WINFNT_H -#include FT_SERVICE_FONT_FORMAT_H +#include +#include /************************************************************************** * diff --git a/src/winfonts/winfnt.h b/src/winfonts/winfnt.h index 391f4448a..0ea85952d 100644 --- a/src/winfonts/winfnt.h +++ b/src/winfonts/winfnt.h @@ -22,8 +22,8 @@ #include -#include FT_WINFONTS_H -#include FT_INTERNAL_DRIVER_H +#include +#include FT_BEGIN_HEADER