summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt11
-rw-r--r--ChangeLog35
-rw-r--r--Jamfile12
-rwxr-xr-xautogen.sh4
-rw-r--r--builds/amiga/README13
-rw-r--r--builds/amiga/include/config/ftconfig.h (renamed from builds/amiga/include/freetype/config/ftconfig.h)8
-rw-r--r--builds/amiga/include/config/ftmodule.h (renamed from builds/amiga/include/freetype/config/ftmodule.h)0
-rw-r--r--builds/amiga/makefile4
-rw-r--r--builds/amiga/makefile.os44
-rw-r--r--builds/amiga/smakefile4
-rw-r--r--builds/amiga/src/base/ftdebug.c4
-rw-r--r--builds/detect.mk6
-rw-r--r--builds/freetype.mk8
-rw-r--r--builds/symbian/bld.inf92
-rw-r--r--builds/toplevel.mk4
-rw-r--r--builds/unix/freetype-config.in12
-rw-r--r--builds/unix/freetype2.in4
-rw-r--r--builds/unix/ft2unix.h23
-rw-r--r--builds/unix/ftconfig.in10
-rw-r--r--builds/unix/ftsystem.c6
-rw-r--r--builds/unix/install.mk49
-rw-r--r--builds/vms/ftconfig.h8
-rw-r--r--builds/wince/ftdebug.c6
-rw-r--r--builds/wince/vc2005-ce/freetype.vcproj10
-rw-r--r--builds/wince/vc2008-ce/freetype.vcproj10
-rw-r--r--builds/windows/ftdebug.c6
-rw-r--r--builds/windows/vc2005/freetype.vcproj10
-rw-r--r--builds/windows/vc2008/freetype.vcproj10
-rw-r--r--builds/windows/vc2010/freetype.vcxproj10
-rw-r--r--builds/windows/vc2010/freetype.vcxproj.filters10
-rw-r--r--builds/windows/visualc/freetype.dsp14
-rw-r--r--builds/windows/visualc/freetype.vcproj10
-rw-r--r--builds/windows/visualce/freetype.dsp14
-rw-r--r--builds/windows/visualce/freetype.vcproj10
-rw-r--r--devel/ft2build.h4
-rw-r--r--devel/ftoption.h12
-rw-r--r--docs/CUSTOMIZE32
-rw-r--r--docs/DEBUG182
-rw-r--r--docs/INSTALL.ANY34
-rw-r--r--docs/release2
-rw-r--r--include/config/ftconfig.h (renamed from include/freetype/config/ftconfig.h)10
-rw-r--r--include/config/ftheader.h (renamed from include/freetype/config/ftheader.h)118
-rw-r--r--include/config/ftmodule.h (renamed from include/freetype/config/ftmodule.h)0
-rw-r--r--include/config/ftoption.h (renamed from include/freetype/config/ftoption.h)12
-rw-r--r--include/config/ftstdlib.h (renamed from include/freetype/config/ftstdlib.h)0
-rw-r--r--include/freetype.h (renamed from include/freetype/freetype.h)2
-rw-r--r--include/ft2build.h4
-rw-r--r--include/ftadvanc.h (renamed from include/freetype/ftadvanc.h)0
-rw-r--r--include/ftautoh.h (renamed from include/freetype/ftautoh.h)0
-rw-r--r--include/ftbbox.h (renamed from include/freetype/ftbbox.h)0
-rw-r--r--include/ftbdf.h (renamed from include/freetype/ftbdf.h)0
-rw-r--r--include/ftbitmap.h (renamed from include/freetype/ftbitmap.h)0
-rw-r--r--include/ftbzip2.h (renamed from include/freetype/ftbzip2.h)0
-rw-r--r--include/ftcache.h (renamed from include/freetype/ftcache.h)0
-rw-r--r--include/ftcffdrv.h (renamed from include/freetype/ftcffdrv.h)0
-rw-r--r--include/ftchapters.h (renamed from include/freetype/ftchapters.h)0
-rw-r--r--include/ftcid.h (renamed from include/freetype/ftcid.h)0
-rw-r--r--include/fterrdef.h (renamed from include/freetype/fterrdef.h)0
-rw-r--r--include/fterrors.h (renamed from include/freetype/fterrors.h)0
-rw-r--r--include/ftgasp.h (renamed from include/freetype/ftgasp.h)0
-rw-r--r--include/ftglyph.h (renamed from include/freetype/ftglyph.h)0
-rw-r--r--include/ftgxval.h (renamed from include/freetype/ftgxval.h)0
-rw-r--r--include/ftgzip.h (renamed from include/freetype/ftgzip.h)0
-rw-r--r--include/ftimage.h (renamed from include/freetype/ftimage.h)4
-rw-r--r--include/ftincrem.h (renamed from include/freetype/ftincrem.h)0
-rw-r--r--include/ftlcdfil.h (renamed from include/freetype/ftlcdfil.h)0
-rw-r--r--include/ftlist.h (renamed from include/freetype/ftlist.h)0
-rw-r--r--include/ftlzw.h (renamed from include/freetype/ftlzw.h)0
-rw-r--r--include/ftmac.h (renamed from include/freetype/ftmac.h)2
-rw-r--r--include/ftmm.h (renamed from include/freetype/ftmm.h)0
-rw-r--r--include/ftmodapi.h (renamed from include/freetype/ftmodapi.h)0
-rw-r--r--include/ftmoderr.h (renamed from include/freetype/ftmoderr.h)0
-rw-r--r--include/ftotval.h (renamed from include/freetype/ftotval.h)0
-rw-r--r--include/ftoutln.h (renamed from include/freetype/ftoutln.h)0
-rw-r--r--include/ftpfr.h (renamed from include/freetype/ftpfr.h)0
-rw-r--r--include/ftrender.h (renamed from include/freetype/ftrender.h)0
-rw-r--r--include/ftsizes.h (renamed from include/freetype/ftsizes.h)0
-rw-r--r--include/ftsnames.h (renamed from include/freetype/ftsnames.h)0
-rw-r--r--include/ftstroke.h (renamed from include/freetype/ftstroke.h)0
-rw-r--r--include/ftsynth.h (renamed from include/freetype/ftsynth.h)0
-rw-r--r--include/ftsystem.h (renamed from include/freetype/ftsystem.h)0
-rw-r--r--include/fttrigon.h (renamed from include/freetype/fttrigon.h)0
-rw-r--r--include/ftttdrv.h (renamed from include/freetype/ftttdrv.h)0
-rw-r--r--include/fttypes.h (renamed from include/freetype/fttypes.h)0
-rw-r--r--include/ftwinfnt.h (renamed from include/freetype/ftwinfnt.h)0
-rw-r--r--include/ftxf86.h (renamed from include/freetype/ftxf86.h)0
-rw-r--r--include/internal/autohint.h (renamed from include/freetype/internal/autohint.h)0
-rw-r--r--include/internal/ftcalc.h (renamed from include/freetype/internal/ftcalc.h)0
-rw-r--r--include/internal/ftdebug.h (renamed from include/freetype/internal/ftdebug.h)0
-rw-r--r--include/internal/ftdriver.h (renamed from include/freetype/internal/ftdriver.h)0
-rw-r--r--include/internal/ftgloadr.h (renamed from include/freetype/internal/ftgloadr.h)0
-rw-r--r--include/internal/ftmemory.h (renamed from include/freetype/internal/ftmemory.h)0
-rw-r--r--include/internal/ftobjs.h (renamed from include/freetype/internal/ftobjs.h)0
-rw-r--r--include/internal/ftpic.h (renamed from include/freetype/internal/ftpic.h)0
-rw-r--r--include/internal/ftrfork.h (renamed from include/freetype/internal/ftrfork.h)0
-rw-r--r--include/internal/ftserv.h (renamed from include/freetype/internal/ftserv.h)36
-rw-r--r--include/internal/ftstream.h (renamed from include/freetype/internal/ftstream.h)0
-rw-r--r--include/internal/fttrace.h (renamed from include/freetype/internal/fttrace.h)0
-rw-r--r--include/internal/ftvalid.h (renamed from include/freetype/internal/ftvalid.h)0
-rw-r--r--include/internal/internal.h (renamed from include/freetype/internal/internal.h)44
-rw-r--r--include/internal/psaux.h (renamed from include/freetype/internal/psaux.h)0
-rw-r--r--include/internal/pshints.h (renamed from include/freetype/internal/pshints.h)0
-rw-r--r--include/internal/services/svbdf.h (renamed from include/freetype/internal/services/svbdf.h)0
-rw-r--r--include/internal/services/svcid.h (renamed from include/freetype/internal/services/svcid.h)0
-rw-r--r--include/internal/services/svgldict.h (renamed from include/freetype/internal/services/svgldict.h)0
-rw-r--r--include/internal/services/svgxval.h (renamed from include/freetype/internal/services/svgxval.h)0
-rw-r--r--include/internal/services/svkern.h (renamed from include/freetype/internal/services/svkern.h)0
-rw-r--r--include/internal/services/svmm.h (renamed from include/freetype/internal/services/svmm.h)0
-rw-r--r--include/internal/services/svotval.h (renamed from include/freetype/internal/services/svotval.h)0
-rw-r--r--include/internal/services/svpfr.h (renamed from include/freetype/internal/services/svpfr.h)0
-rw-r--r--include/internal/services/svpostnm.h (renamed from include/freetype/internal/services/svpostnm.h)0
-rw-r--r--include/internal/services/svprop.h (renamed from include/freetype/internal/services/svprop.h)0
-rw-r--r--include/internal/services/svpscmap.h (renamed from include/freetype/internal/services/svpscmap.h)0
-rw-r--r--include/internal/services/svpsinfo.h (renamed from include/freetype/internal/services/svpsinfo.h)0
-rw-r--r--include/internal/services/svsfnt.h (renamed from include/freetype/internal/services/svsfnt.h)0
-rw-r--r--include/internal/services/svttcmap.h (renamed from include/freetype/internal/services/svttcmap.h)4
-rw-r--r--include/internal/services/svtteng.h (renamed from include/freetype/internal/services/svtteng.h)0
-rw-r--r--include/internal/services/svttglyf.h (renamed from include/freetype/internal/services/svttglyf.h)0
-rw-r--r--include/internal/services/svwinfnt.h (renamed from include/freetype/internal/services/svwinfnt.h)0
-rw-r--r--include/internal/services/svxf86nm.h (renamed from include/freetype/internal/services/svxf86nm.h)0
-rw-r--r--include/internal/sfnt.h (renamed from include/freetype/internal/sfnt.h)0
-rw-r--r--include/internal/t1types.h (renamed from include/freetype/internal/t1types.h)0
-rw-r--r--include/internal/tttypes.h (renamed from include/freetype/internal/tttypes.h)0
-rw-r--r--include/t1tables.h (renamed from include/freetype/t1tables.h)0
-rw-r--r--include/ttnameid.h (renamed from include/freetype/ttnameid.h)0
-rw-r--r--include/tttables.h (renamed from include/freetype/tttables.h)2
-rw-r--r--include/tttags.h (renamed from include/freetype/tttags.h)0
-rw-r--r--include/ttunpat.h (renamed from include/freetype/ttunpat.h)0
-rw-r--r--modules.cfg50
-rw-r--r--src/Jamfile4
-rw-r--r--src/base/ftdebug.c2
-rw-r--r--src/base/ftinit.c4
-rw-r--r--src/base/rules.mk4
-rw-r--r--src/cache/Jamfile4
-rw-r--r--src/raster/ftraster.c4
-rw-r--r--src/smooth/ftgrays.c4
-rwxr-xr-xsrc/tools/chktrcmp.py4
-rw-r--r--vms_make.com4
138 files changed, 514 insertions, 515 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a07ce233..2c9dd4b13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,6 @@ add_definitions(-DFT2_BUILD_LIBRARY)
# Specify library include directories
include_directories("${PROJECT_SOURCE_DIR}/include")
-include_directories("${PROJECT_SOURCE_DIR}/include/freetype")
# Create the configuration file
message(STATUS "Creating directory, ${PROJECT_BINARY_DIR}/include.")
@@ -129,14 +128,8 @@ include_directories("src/psnames")
add_library(freetype ${BASE_SRCS})
# Installations
-install(FILES ${PROJECT_SOURCE_DIR}/include/ft2build.h
- DESTINATION include
-)
-# Is this next needed?
-install(FILES ${PROJECT_BINARY_DIR}/include/ftconfig.h
- DESTINATION include
-)
-install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/freetype
+# Note the trailing slash in the argument to the `DIRECTORY' directive
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
DESTINATION include/freetype2
PATTERN "internal" EXCLUDE
)
diff --git a/ChangeLog b/ChangeLog
index 9614fcaf7..c3393a4cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,38 @@
+2013-11-13 Werner Lemberg <wl@gnu.org>
+
+ Simplify header file hierarchy.
+
+ This large patch changes the header file directory layout from
+ `include/freetype/...' to `include/...', effectively removing one
+ level. Since the file `ft2build.h' is also located in `include'
+ (and it stays there even after installation), all FreeType header
+ files are now in a single directory.
+
+ Applications that use (a) `freetype-config' or FreeType's
+ `pkg-config' file to get the include directory for the compiler, and
+ (b) the documented way for header inclusion like
+
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+ ...
+
+ don't need any change to the source code.
+
+ * include/freetype/*: Move up to...
+ * include/*: ... this directory.
+
+ * builds/amiga/include/freetype/*: Move up to...
+ * builds/amiga/include/*: ... this directory.
+
+ */*: Essentially do `s@/freetype/@/@' where appropriate.
+
+ * CMakeList.txt: Simplify.
+ * builds/unix/freetype-config.in, builds/unix/freetype2.in: For
+ `--cflags', return a single directory.
+ * builds/unix/install.mk (install): No longer try to remove `cache'
+ and `internal' subdirectories; instead, remove the `freetype'
+ subdirectory.
+
2013-11-12 Werner Lemberg <wl@gnu.org>
[truetype] Fix last `truetype' commit.
diff --git a/Jamfile b/Jamfile
index 2fec5f106..dceb244be 100644
--- a/Jamfile
+++ b/Jamfile
@@ -1,6 +1,6 @@
# FreeType 2 top Jamfile.
#
-# Copyright 2001-2011 by
+# Copyright 2001-2011, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -140,9 +140,9 @@ DEFINES += FT2_BUILD_LIBRARY ;
# FT2_MULTI = true ;
-# The file <freetype/config/ftheader.h> is used to define macros that are
-# later used in #include statements. It needs to be parsed in order to
-# record these definitions.
+# The file <config/ftheader.h> is used to define macros that are later used
+# in #include statements. It needs to be parsed in order to record these
+# definitions.
#
HDRMACRO [ FT2_SubDir include freetype config ftheader.h ] ;
HDRMACRO [ FT2_SubDir include freetype internal internal.h ] ;
@@ -177,7 +177,7 @@ actions GenExportSymbols1 bind APINAMES
$(APINAMES) $(2) > $(1)
}
-GenExportSymbols ftexport.sym : include/freetype include/freetype/cache ;
+GenExportSymbols ftexport.sym : include include/cache ;
# Test files (hinter debugging). Only used by FreeType developers.
#
@@ -195,7 +195,7 @@ rule RefDoc
actions RefDoc
{
- python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.5.0 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/config/*.h
+ python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.5.0 --output=$(DOC_DIR) $(FT2_INCLUDE)/*.h $(FT2_INCLUDE)/config/*.h
}
RefDoc refdoc ;
diff --git a/autogen.sh b/autogen.sh
index 0eaba395b..cc0e661ce 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2005, 2006, 2007, 2008, 2009, 2010 by
+# Copyright 2005-2010, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -139,7 +139,7 @@ check_tool_version $LIBTOOLIZE libtoolize LIBTOOLIZE 2.2.4
check_tool_version $AUTOCONF autoconf AUTOCONF 2.62
# This sets freetype_major, freetype_minor, and freetype_patch.
-eval `sed -nf version.sed include/freetype/freetype.h`
+eval `sed -nf version.sed include/freetype.h`
# We set freetype-patch to an empty value if it is zero.
if test "$freetype_patch" = ".0"; then
diff --git a/builds/amiga/README b/builds/amiga/README
index 2b8f8e87d..85fcc4330 100644
--- a/builds/amiga/README
+++ b/builds/amiga/README
@@ -1,7 +1,7 @@
README for the builds/amiga subdirectory.
-Copyright 2005 by
+Copyright 2005, 2013 by
Werner Lemberg and Detlef Würkner.
This file is part of the FreeType project, and may only be used, modified,
@@ -51,8 +51,8 @@ directory. The results are:
- ftdebug.o, an object module containing the standard version of the
debugging code which uses vprintf() and exit() (not pure).
- Debugging can be turned on in FT:include/freetype/config/ftoption.h
- and with FT_SetTraceLevel().
+ Debugging can be turned on in FT:include/config/ftoption.h and with
+ FT_SetTraceLevel().
- ftdebugpure.o, an object module containing the pure version of the
debugging code which uses KVPrintf() from lib:debug.lib and no
@@ -64,15 +64,14 @@ directory. The results are:
ftsystem.o would force ALL FreeType2 modules to be linked to your
program, I decided to use a different scheme: You must #include
FT:src/base/ftinit.c in your sourcecode and specify with #define
- statements which modules you need. See
- include/freetype/config/ftmodule.h.
+ statements which modules you need. See include/config/ftmodule.h.
To use in your own programs:
- Insert the #define and #include statements from top of
- include/freetype/config/ftmodule.h in your source code and uncomment
- the #define statements for the FreeType2 modules you need.
+ include/config/ftmodule.h in your source code and uncomment the
+ #define statements for the FreeType2 modules you need.
- You can use either PARAMETERS=REGISTER or PARAMETERS=STACK for
calling the FreeType2 functions, because the link library and the
diff --git a/builds/amiga/include/freetype/config/ftconfig.h b/builds/amiga/include/config/ftconfig.h
index c2c2ac8db..a73ace671 100644
--- a/builds/amiga/include/freetype/config/ftconfig.h
+++ b/builds/amiga/include/config/ftconfig.h
@@ -4,7 +4,7 @@
/* */
/* Amiga-specific configuration file (specification only). */
/* */
-/* Copyright 2005, 2006, 2007 by */
+/* Copyright 2005-2007, 2013 by */
/* Werner Lemberg and Detlef Würkner. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -34,9 +34,9 @@
/* Now include the original file */
#ifndef __MORPHOS__
#ifdef __SASC
-#include "FT:include/freetype/config/ftconfig.h"
+#include "FT:include/config/ftconfig.h"
#else
-#include "/FT/include/freetype/config/ftconfig.h"
+#include "/FT/include/config/ftconfig.h"
#endif
#else
/* We must define that, it seems that
@@ -45,7 +45,7 @@
* binaries from http://www.morphos.de)
*/
#define _LIBC_LIMITS_H_
-#include "/FT/include/freetype/config/ftconfig.h"
+#include "/FT/include/config/ftconfig.h"
#endif
/*
diff --git a/builds/amiga/include/freetype/config/ftmodule.h b/builds/amiga/include/config/ftmodule.h
index 5873bab74..5873bab74 100644
--- a/builds/amiga/include/freetype/config/ftmodule.h
+++ b/builds/amiga/include/config/ftmodule.h
diff --git a/builds/amiga/makefile b/builds/amiga/makefile
index 379883dee..8a1e4c61b 100644
--- a/builds/amiga/makefile
+++ b/builds/amiga/makefile
@@ -5,7 +5,7 @@
#
-# Copyright 2005, 2006, 2007, 2009 by
+# Copyright 2005-2007, 2009, 2013 by
# Werner Lemberg and Detlef Würkner.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -43,7 +43,7 @@
#
# link your programs with libft2_ppc.a and either ftsystem.ppc.o or ftsystempure.ppc.o
# (and either ftdebug.ppc.o or ftdebugpure.ppc.o if you enabled FT_DEBUG_LEVEL_ERROR or
-# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
+# FT_DEBUG_LEVEL_TRACE in include/config/ftoption.h).
all: libft2_ppc.a ftsystem.ppc.o ftsystempure.ppc.o
diff --git a/builds/amiga/makefile.os4 b/builds/amiga/makefile.os4
index 13758bceb..a2e6ffced 100644
--- a/builds/amiga/makefile.os4
+++ b/builds/amiga/makefile.os4
@@ -4,7 +4,7 @@
#
-# Copyright 2005, 2006, 2007, 2009 by
+# Copyright 2005-2007, 2009, 2013 by
# Werner Lemberg and Detlef Würkner.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -40,7 +40,7 @@
#
# link your programs with libft2_ppc.a and either ftsystem.ppc.o or ftsystempure.ppc.o
# (and either ftdebug.ppc.o or ftdebugpure.ppc.o if you enabled FT_DEBUG_LEVEL_ERROR or
-# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
+# FT_DEBUG_LEVEL_TRACE in include/config/ftoption.h).
all: assign libft2_ppc.a ftsystem.ppc.o ftsystempure.ppc.o
diff --git a/builds/amiga/smakefile b/builds/amiga/smakefile
index 097aec9b0..aee7fb9d4 100644
--- a/builds/amiga/smakefile
+++ b/builds/amiga/smakefile
@@ -3,7 +3,7 @@
#
-# Copyright 2005,2006, 2007, 2009 by
+# Copyright 2005-2007, 2009, 2013 by
# Werner Lemberg and Detlef Würkner.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -40,7 +40,7 @@
#
# link your programs with ft2_680x0.lib and either ftsystem.o or ftsystempure.o
# (and either ftdebug.o or ftdebugpure.o if you enabled FT_DEBUG_LEVEL_ERROR or
-# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
+# FT_DEBUG_LEVEL_TRACE in include/config/ftoption.h).
OBJBASE = ftbase.o ftbbox.o ftbdf.o ftbitmap.o ftcid.o ftfstype.o ftgasp.o \
ftglyph.o ftgxval.o ftlcdfil.o ftmm.o ftotval.o ftpatent.o ftpfr.o \
diff --git a/builds/amiga/src/base/ftdebug.c b/builds/amiga/src/base/ftdebug.c
index 4e13a6a6f..39688af78 100644
--- a/builds/amiga/src/base/ftdebug.c
+++ b/builds/amiga/src/base/ftdebug.c
@@ -4,7 +4,7 @@
/* */
/* Debugging and logging component for amiga (body). */
/* */
-/* Copyright 1996-2001, 2002, 2004, 2005, 2013 by */
+/* Copyright 1996-2002, 2004, 2005, 2013 by */
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -176,7 +176,7 @@
/* the memory and stream components which are set to 7 and 5, */
/* respectively. */
/* */
- /* See the file <include/freetype/internal/fttrace.h> for details of the */
+ /* See the file <include/internal/fttrace.h> for details of the */
/* available toggle names. */
/* */
/* The level must be between 0 and 7; 0 means quiet (except for serious */
diff --git a/builds/detect.mk b/builds/detect.mk
index 987ae51c4..ce407baf6 100644
--- a/builds/detect.mk
+++ b/builds/detect.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2001, 2002, 2003, 2006, 2008 by
+# Copyright 1996-2003, 2006, 2008, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -17,8 +17,8 @@
# the following variables:
#
# BUILD_DIR The configuration and system-specific directory. Usually
-# `freetype/builds/$(PLATFORM)' but can be different for
-# custom builds of the library.
+# `builds/$(PLATFORM)' but can be different for custom builds
+# of the library.
#
# The following variables must be defined in system specific `detect.mk'
# files:
diff --git a/builds/freetype.mk b/builds/freetype.mk
index 1f816f847..2a58db323 100644
--- a/builds/freetype.mk
+++ b/builds/freetype.mk
@@ -97,7 +97,7 @@ BASE_DIR := $(SRC_DIR)/base
# Other derived directories.
#
-PUBLIC_DIR := $(TOP_DIR)/include/freetype
+PUBLIC_DIR := $(TOP_DIR)/include
INTERNAL_DIR := $(PUBLIC_DIR)/internal
SERVICES_DIR := $(INTERNAL_DIR)/services
CONFIG_DIR := $(PUBLIC_DIR)/config
@@ -116,8 +116,8 @@ PROJECT_LIBRARY := $(LIB_DIR)/$(LIBRARY).$A
# IMPORTANT NOTE: The architecture-dependent directory must ALWAYS be placed
# before the standard include list. Porters are then able to
# put their own version of some of the FreeType components
-# in the `freetype/builds/<system>' directory, as these
-# files will override the default sources.
+# in the `builds/<system>' directory, as these files will
+# override the default sources.
#
INCLUDES := $(subst /,$(COMPILER_SEP),$(OBJ_DIR) \
$(DEVEL_DIR) \
@@ -178,7 +178,7 @@ PUBLIC_H := $(wildcard $(PUBLIC_DIR)/*.h)
INTERNAL_H := $(wildcard $(INTERNAL_DIR)/*.h) \
$(wildcard $(SERVICES_DIR)/*.h)
CONFIG_H := $(wildcard $(CONFIG_DIR)/*.h) \
- $(wildcard $(BUILD_DIR)/freetype/config/*.h) \
+ $(wildcard $(BUILD_DIR)/config/*.h) \
$(FTMODULE_H) \
$(FTOPTION_H)
DEVEL_H := $(wildcard $(TOP_DIR)/devel/*.h)
diff --git a/builds/symbian/bld.inf b/builds/symbian/bld.inf
index dd5f559d4..bc8c1609c 100644
--- a/builds/symbian/bld.inf
+++ b/builds/symbian/bld.inf
@@ -2,7 +2,7 @@
// FreeType 2 project for the symbian platform
//
-// Copyright 2008, 2009 by
+// Copyright 2008, 2009, 2013 by
// David Turner, Robert Wilhelm, and Werner Lemberg.
//
// This file is part of the FreeType project, and may only be used, modified,
@@ -19,48 +19,48 @@ freetype.mmp
PRJ_EXPORTS
../../include/ft2build.h
-../../include/freetype/config/ftconfig.h freetype/config/ftconfig.h
-../../include/freetype/config/ftheader.h freetype/config/ftheader.h
-../../include/freetype/config/ftmodule.h freetype/config/ftmodule.h
-../../include/freetype/config/ftoption.h freetype/config/ftoption.h
-../../include/freetype/config/ftstdlib.h freetype/config/ftstdlib.h
-../../include/freetype/freetype.h freetype/freetype.h
-../../include/freetype/ftbbox.h freetype/ftbbox.h
-../../include/freetype/ftbdf.h freetype/ftbdf.h
-../../include/freetype/ftbitmap.h freetype/ftbitmap.h
-../../include/freetype/ftcache.h freetype/ftcache.h
-../../include/freetype/ftcid.h freetype/ftcid.h
-../../include/freetype/fterrdef.h freetype/fterrdef.h
-../../include/freetype/fterrors.h freetype/fterrors.h
-../../include/freetype/ftgasp.h freetype/ftgasp.h
-../../include/freetype/ftglyph.h freetype/ftglyph.h
-../../include/freetype/ftgxval.h freetype/ftgxval.h
-../../include/freetype/ftgzip.h freetype/ftgzip.h
-../../include/freetype/ftbzip2.h freetype/ftbzip2.h
-../../include/freetype/ftimage.h freetype/ftimage.h
-../../include/freetype/ftincrem.h freetype/ftincrem.h
-../../include/freetype/ftlcdfil.h freetype/ftlcdfil.h
-../../include/freetype/ftlist.h freetype/ftlist.h
-../../include/freetype/ftlzw.h freetype/ftlzw.h
-../../include/freetype/ftmac.h freetype/ftmac.h
-../../include/freetype/ftmm.h freetype/ftmm.h
-../../include/freetype/ftmodapi.h freetype/ftmodapi.h
-../../include/freetype/ftmoderr.h freetype/ftmoderr.h
-../../include/freetype/ftotval.h freetype/ftotval.h
-../../include/freetype/ftoutln.h freetype/ftoutln.h
-../../include/freetype/ftpfr.h freetype/ftpfr.h
-../../include/freetype/ftrender.h freetype/ftrender.h
-../../include/freetype/ftsizes.h freetype/ftsizes.h
-../../include/freetype/ftsnames.h freetype/ftsnames.h
-../../include/freetype/ftstroke.h freetype/ftstroke.h
-../../include/freetype/ftsynth.h freetype/ftsynth.h
-../../include/freetype/ftsystem.h freetype/ftsystem.h
-../../include/freetype/fttrigon.h freetype/fttrigon.h
-../../include/freetype/fttypes.h freetype/fttypes.h
-../../include/freetype/ftwinfnt.h freetype/ftwinfnt.h
-../../include/freetype/ftxf86.h freetype/ftxf86.h
-../../include/freetype/t1tables.h freetype/t1tables.h
-../../include/freetype/ttnameid.h freetype/ttnameid.h
-../../include/freetype/tttables.h freetype/tttables.h
-../../include/freetype/tttags.h freetype/tttags.h
-../../include/freetype/ttunpat.h freetype/ttunpat.h
+../../include/config/ftconfig.h config/ftconfig.h
+../../include/config/ftheader.h config/ftheader.h
+../../include/config/ftmodule.h config/ftmodule.h
+../../include/config/ftoption.h config/ftoption.h
+../../include/config/ftstdlib.h config/ftstdlib.h
+../../include/freetype.h freetype.h
+../../include/ftbbox.h ftbbox.h
+../../include/ftbdf.h ftbdf.h
+../../include/ftbitmap.h ftbitmap.h
+../../include/ftcache.h ftcache.h
+../../include/ftcid.h ftcid.h
+../../include/fterrdef.h fterrdef.h
+../../include/fterrors.h fterrors.h
+../../include/ftgasp.h ftgasp.h
+../../include/ftglyph.h ftglyph.h
+../../include/ftgxval.h ftgxval.h
+../../include/ftgzip.h ftgzip.h
+../../include/ftbzip2.h ftbzip2.h
+../../include/ftimage.h ftimage.h
+../../include/ftincrem.h ftincrem.h
+../../include/ftlcdfil.h ftlcdfil.h
+../../include/ftlist.h ftlist.h
+../../include/ftlzw.h ftlzw.h
+../../include/ftmac.h ftmac.h
+../../include/ftmm.h ftmm.h
+../../include/ftmodapi.h ftmodapi.h
+../../include/ftmoderr.h ftmoderr.h
+../../include/ftotval.h ftotval.h
+../../include/ftoutln.h ftoutln.h
+../../include/ftpfr.h ftpfr.h
+../../include/ftrender.h ftrender.h
+../../include/ftsizes.h ftsizes.h
+../../include/ftsnames.h ftsnames.h
+../../include/ftstroke.h ftstroke.h
+../../include/ftsynth.h ftsynth.h
+../../include/ftsystem.h ftsystem.h
+../../include/fttrigon.h fttrigon.h
+../../include/fttypes.h fttypes.h
+../../include/ftwinfnt.h ftwinfnt.h
+../../include/ftxf86.h ftxf86.h
+../../include/t1tables.h t1tables.h
+../../include/ttnameid.h ttnameid.h
+../../include/tttables.h tttables.h
+../../include/tttags.h tttags.h
+../../include/ttunpat.h ttunpat.h
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index 03b6e28d5..968202853 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2001, 2003, 2006, 2008-2010, 2012 by
+# Copyright 1996-2001, 2003, 2006, 2008-2010, 2012, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -176,7 +176,7 @@ include $(TOP_DIR)/builds/modules.mk
# we check for `dist', not `distclean'
ifneq ($(findstring distx,$(MAKECMDGOALS)x),)
- FT_H := include/freetype/freetype.h
+ FT_H := include/freetype.h
major := $(shell sed -n 's/.*FREETYPE_MAJOR[^0-9]*\([0-9]\+\)/\1/p' < $(FT_H))
minor := $(shell sed -n 's/.*FREETYPE_MINOR[^0-9]*\([0-9]\+\)/\1/p' < $(FT_H))
diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in
index 171741ecc..e4c504d04 100644
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -119,13 +119,13 @@ else
fi
if test "$echo_ft_version" = "yes" ; then
- major=`grep define ${SYSROOT}$includedir/freetype2/freetype/freetype.h \
+ major=`grep define ${SYSROOT}$includedir/freetype2/freetype.h \
| grep FREETYPE_MAJOR \
| sed 's/.*[ ]\([0-9][0-9]*\).*/\1/'`
- minor=`grep define ${SYSROOT}$includedir/freetype2/freetype/freetype.h \
+ minor=`grep define ${SYSROOT}$includedir/freetype2/freetype.h \
| grep FREETYPE_MINOR \
| sed 's/.*[ ]\([0-9][0-9]*\).*/\1/'`
- patch=`grep define ${SYSROOT}$includedir/freetype2/freetype/freetype.h \
+ patch=`grep define ${SYSROOT}$includedir/freetype2/freetype.h \
| grep FREETYPE_PATCH \
| sed 's/.*[ ]\([0-9][0-9]*\).*/\1/'`
echo $major.$minor.$patch
@@ -133,11 +133,7 @@ fi
if test "$echo_cflags" = "yes" ; then
cflags="-I${SYSROOT}$includedir/freetype2"
- if test "${SYSROOT}$includedir" != "/usr/include" ; then
- echo $cflags -I${SYSROOT}$includedir
- else
- echo $cflags
- fi
+ echo $cflags
fi
if test "$echo_libs" = "yes" ; then
diff --git a/builds/unix/freetype2.in b/builds/unix/freetype2.in
index 7955f89d1..5e545b6fb 100644
--- a/builds/unix/freetype2.in
+++ b/builds/unix/freetype2.in
@@ -1,7 +1,7 @@
prefix="%prefix%"
exec_prefix="%exec_prefix%"
libdir="%libdir%"
-includedir="%includedir%"
+includedir="%includedir%/freetype2"
Name: FreeType 2
Description: A free, high-quality, and portable font engine.
@@ -9,4 +9,4 @@ Version: %ft_version%
Requires:
Libs: -L${libdir} -lfreetype
Libs.private: %LIBZ% %LIBBZ2% %LIBPNG% %FT2_EXTRA_LIBS%
-Cflags: -I${includedir}/freetype2 -I${includedir}
+Cflags: -I${includedir}
diff --git a/builds/unix/ft2unix.h b/builds/unix/ft2unix.h
index 6a3b8d90e..af52e5e3e 100644
--- a/builds/unix/ft2unix.h
+++ b/builds/unix/ft2unix.h
@@ -25,27 +25,6 @@
/* returned by the `freetype-config --cflags' or `pkg-config --cflags' */
/* command) is in your compilation include path. */
/* */
- /* We don't need to do anything special in this release. However, for */
- /* a future FreeType 2 release, the following installation changes will */
- /* be performed: */
- /* */
- /* - The contents of `freetype-2.x/include/freetype' will be installed */
- /* to `/usr/local/include/freetype2' instead of */
- /* `/usr/local/include/freetype2/freetype'. */
- /* */
- /* - This file will #include <freetype2/config/ftheader.h>, instead */
- /* of <freetype/config/ftheader.h>. */
- /* */
- /* - The contents of `ftheader.h' will be processed with `sed' to */
- /* replace all `<freetype/xxx>' with `<freetype2/xxx>'. */
- /* */
- /* - Adding `/usr/local/include/freetype2' to your compilation include */
- /* path will not be necessary anymore. */
- /* */
- /* These changes will be transparent to client applications which use */
- /* freetype-config (or pkg-config). No modifications will be necessary */
- /* to compile with the new scheme. */
- /* */
/*************************************************************************/
@@ -53,7 +32,7 @@
#define __FT2_BUILD_UNIX_H__
/* `<prefix>/include/freetype2' must be in your current inclusion path */
-#include <freetype/config/ftheader.h>
+#include <config/ftheader.h>
#endif /* __FT2_BUILD_UNIX_H__ */
diff --git a/builds/unix/ftconfig.in b/builds/unix/ftconfig.in
index 9919cd9df..ddaea25d6 100644
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -27,9 +27,9 @@
/* Note however that if some specific modifications are needed, we */
/* advise you to place a modified copy in your build directory. */
/* */
- /* The build directory is usually `freetype/builds/<system>', and */
- /* contains system-specific files that are always included first when */
- /* building the library. */
+ /* The build directory is usually `builds/<system>', and contains */
+ /* system-specific files that are always included first when building */
+ /* the library. */
/* */
/*************************************************************************/
@@ -52,7 +52,7 @@ FT_BEGIN_HEADER
/* These macros can be toggled to suit a specific system. The current */
/* ones are defaults used to compile FreeType in an ANSI C environment */
/* (16bit compilers are also supported). Copy this file to your own */
- /* `freetype/builds/<system>' directory, and edit it to port the engine. */
+ /* `builds/<system>' directory, and edit it to port the engine. */
/* */
/*************************************************************************/
@@ -86,7 +86,7 @@ FT_BEGIN_HEADER
#else /* !FT_USE_AUTOCONF_SIZEOF_TYPES */
/* Following cpp computation of the bit length of int and long */
- /* is copied from default include/freetype/config/ftconfig.h. */
+ /* is copied from default include/config/ftconfig.h. */
/* If any improvement is required for this file, it should be */
/* applied to the original header file for the builders that */
/* does not use configure script. */
diff --git a/builds/unix/ftsystem.c b/builds/unix/ftsystem.c
index 92c7d9211..3ddc64f19 100644
--- a/builds/unix/ftsystem.c
+++ b/builds/unix/ftsystem.c
@@ -268,9 +268,9 @@
/* XXX: TODO -- real 64bit platform support */
/* */
- /* `stream->size' is typedef'd to unsigned long (in */
- /* freetype/ftsystem.h); `stat_buf.st_size', however, is usually */
- /* typedef'd to off_t (in sys/stat.h). */
+ /* `stream->size' is typedef'd to unsigned long (in `ftsystem.h'); */
+ /* `stat_buf.st_size', however, is usually typedef'd to off_t */
+ /* (in sys/stat.h). */
/* On some platforms, the former is 32bit and the latter is 64bit. */
/* To avoid overflow caused by fonts in huge files larger than */
/* 2GB, do a test. Temporary fix proposed by Sean McBride. */
diff --git a/builds/unix/install.mk b/builds/unix/install.mk
index 056f46cd1..bd6c68d43 100644
--- a/builds/unix/install.mk
+++ b/builds/unix/install.mk
@@ -24,35 +24,36 @@
# Unix installation and deinstallation targets.
#
-# Note that we no longer install internal headers, and we remove any
-# `internal' subdirectory found in `$(includedir)/freetype2/freetype'.
+# Note that we remove any data in the `freetype' subdirectory found in
+# `$(includedir)/freetype2', which was the previous location of the header
+# files up to version 2.5.0.
#
install: $(PROJECT_LIBRARY)
- $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
- $(DESTDIR)$(libdir)/pkgconfig \
- $(DESTDIR)$(includedir)/freetype2/freetype/config \
- $(DESTDIR)$(bindir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(libdir)/pkgconfig \
+ $(DESTDIR)$(includedir)/freetype2/config \
+ $(DESTDIR)$(bindir) \
$(DESTDIR)$(datadir)/aclocal
$(LIBTOOL) --mode=install $(INSTALL) \
$(PROJECT_LIBRARY) $(DESTDIR)$(libdir)
- -for P in $(PUBLIC_H) ; do \
- $(INSTALL_DATA) \
- $$P $(DESTDIR)$(includedir)/freetype2/freetype ; \
+ -for P in $(PUBLIC_H) ; do \
+ $(INSTALL_DATA) \
+ $$P $(DESTDIR)$(includedir)/freetype2 ; \
done
- -for P in $(CONFIG_H) ; do \
- $(INSTALL_DATA) \
- $$P $(DESTDIR)$(includedir)/freetype2/freetype/config ; \
+ -for P in $(CONFIG_H) ; do \
+ $(INSTALL_DATA) \
+ $$P $(DESTDIR)$(includedir)/freetype2/config ; \
done
- -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/cache/*
- -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/cache
- -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/internal/*
- -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/internal
+ -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/config/*
+ -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/config
+ -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/*
+ -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype
$(INSTALL_DATA) $(BUILD_DIR)/ft2unix.h \
$(DESTDIR)$(includedir)/ft2build.h
- $(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h \
- $(DESTDIR)$(includedir)/freetype2/freetype/config/ftconfig.h
- $(INSTALL_DATA) $(OBJ_DIR)/ftmodule.h \
- $(DESTDIR)$(includedir)/freetype2/freetype/config/ftmodule.h
+ $(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h \
+ $(DESTDIR)$(includedir)/freetype2/config/ftconfig.h
+ $(INSTALL_DATA) $(OBJ_DIR)/ftmodule.h \
+ $(DESTDIR)$(includedir)/freetype2/config/ftmodule.h
$(INSTALL_SCRIPT) -m 755 $(OBJ_BUILD)/freetype-config \
$(DESTDIR)$(bindir)/freetype-config
$(INSTALL_SCRIPT) -m 644 $(BUILD_DIR)/freetype2.m4 \
@@ -63,12 +64,10 @@ install: $(PROJECT_LIBRARY)
uninstall:
-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/$(LIBRARY).$A
- -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/config/*
- -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/config
- -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/*
- -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype
+ -$(DELETE) $(DESTDIR)$(includedir)/freetype2/config/*
+ -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/config
+ -$(DELETE) $(DESTDIR)$(includedir)/freetype2/*
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2
- -$(DELETE) $(DESTDIR)$(includedir)/ft2build.h
-$(DELETE) $(DESTDIR)$(bindir)/freetype-config
-$(DELETE) $(DESTDIR)$(datadir)/aclocal/freetype2.m4
-$(DELETE) $(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
diff --git a/builds/vms/ftconfig.h b/builds/vms/ftconfig.h
index 9a066245b..3fb8f84fd 100644
--- a/builds/vms/ftconfig.h
+++ b/builds/vms/ftconfig.h
@@ -27,9 +27,9 @@
/* Note however that if some specific modifications are needed, we */
/* advise you to place a modified copy in your build directory. */
/* */
- /* The build directory is usually `freetype/builds/<system>', and */
- /* contains system-specific files that are always included first when */
- /* building the library. */
+ /* The build directory is usually `builds/<system>', and contains */
+ /* system-specific files that are always included first when building */
+ /* the library. */
/* */
/*************************************************************************/
@@ -51,7 +51,7 @@ FT_BEGIN_HEADER
/* These macros can be toggled to suit a specific system. The current */
/* ones are defaults used to compile FreeType in an ANSI C environment */
/* (16bit compilers are also supported). Copy this file to your own */
- /* `freetype/builds/<system>' directory, and edit it to port the engine. */
+ /* `builds/<system>' directory, and edit it to port the engine. */
/* */
/*************************************************************************/
diff --git a/builds/wince/ftdebug.c b/builds/wince/ftdebug.c
index 354f4f0a7..24f965828 100644
--- a/builds/wince/ftdebug.c
+++ b/builds/wince/ftdebug.c
@@ -4,7 +4,7 @@
/* */
/* Debugging and logging component for WinCE (body). */
/* */
-/* Copyright 1996-2001, 2002, 2005, 2008, 2009, 2013 by */
+/* Copyright 1996-2002, 2005, 2008, 2009, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -148,8 +148,8 @@
/* for the memory and stream components which are set to 6 and 5, */
/* respectively. */
/* */
- /* See the file <freetype/internal/fttrace.h> for details of the */
- /* available toggle names. */
+ /* See the file <internal/fttrace.h> for details of the available toggle */
+ /* names. */
/* */
/* The level must be between 0 and 6; 0 means quiet (except for serious */
/* runtime errors), and 6 means _very_ verbose. */
diff --git a/builds/wince/vc2005-ce/freetype.vcproj b/builds/wince/vc2005-ce/freetype.vcproj
index f7e022e77..eb06a0c7c 100644
--- a/builds/wince/vc2005-ce/freetype.vcproj
+++ b/builds/wince/vc2005-ce/freetype.vcproj
@@ -3822,15 +3822,15 @@
<Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl">
<File RelativePath="..\..\..\include\ft2build.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftconfig.h">
+ <File RelativePath="..\..\..\include\config\ftconfig.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftheader.h">
+ <File RelativePath="..\..\..\include\config\ftheader.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftmodule.h">
+ <File RelativePath="..\..\..\include\config\ftmodule.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftoption.h">
+ <File RelativePath="..\..\..\include\config\ftoption.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftstdlib.h">
+ <File RelativePath="..\..\..\include\config\ftstdlib.h">
</File>
</Filter>
</Files>
diff --git a/builds/wince/vc2008-ce/freetype.vcproj b/builds/wince/vc2008-ce/freetype.vcproj
index 7920751a3..22c00f117 100644
--- a/builds/wince/vc2008-ce/freetype.vcproj
+++ b/builds/wince/vc2008-ce/freetype.vcproj
@@ -13469,23 +13469,23 @@
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftconfig.h"
+ RelativePath="..\..\..\include\config\ftconfig.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftheader.h"
+ RelativePath="..\..\..\include\config\ftheader.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftmodule.h"
+ RelativePath="..\..\..\include\config\ftmodule.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftoption.h"
+ RelativePath="..\..\..\include\config\ftoption.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftstdlib.h"
+ RelativePath="..\..\..\include\config\ftstdlib.h"
>
</File>
</Filter>
diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c
index 58b7f89ec..dd2c2ad7c 100644
--- a/builds/windows/ftdebug.c
+++ b/builds/windows/ftdebug.c
@@ -4,7 +4,7 @@
/* */
/* Debugging and logging component for Win32 (body). */
/* */
-/* Copyright 1996-2001, 2002, 2005, 2008, 2009, 2013 by */
+/* Copyright 1996-2002, 2005, 2008, 2009, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -137,8 +137,8 @@
/* for the memory and stream components which are set to 6 and 5, */
/* respectively. */
/* */
- /* See the file <freetype/internal/fttrace.h> for details of the */
- /* available toggle names. */
+ /* See the file <internal/fttrace.h> for details of the available toggle */
+ /* names. */
/* */
/* The level must be between 0 and 6; 0 means quiet (except for serious */
/* runtime errors), and 6 means _very_ verbose. */
diff --git a/builds/windows/vc2005/freetype.vcproj b/builds/windows/vc2005/freetype.vcproj
index a7da85a46..b4efbb97f 100644
--- a/builds/windows/vc2005/freetype.vcproj
+++ b/builds/windows/vc2005/freetype.vcproj
@@ -629,15 +629,15 @@
<Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl">
<File RelativePath="..\..\..\include\ft2build.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftconfig.h">
+ <File RelativePath="..\..\..\include\config\ftconfig.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftheader.h">
+ <File RelativePath="..\..\..\include\config\ftheader.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftmodule.h">
+ <File RelativePath="..\..\..\include\config\ftmodule.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftoption.h">
+ <File RelativePath="..\..\..\include\config\ftoption.h">
</File>
- <File RelativePath="..\..\..\include\freetype\config\ftstdlib.h">
+ <File RelativePath="..\..\..\include\config\ftstdlib.h">
</File>
</Filter>
</Files>
diff --git a/builds/windows/vc2008/freetype.vcproj b/builds/windows/vc2008/freetype.vcproj
index bd76a2968..f49a1f964 100644
--- a/builds/windows/vc2008/freetype.vcproj
+++ b/builds/windows/vc2008/freetype.vcproj
@@ -2154,23 +2154,23 @@
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftconfig.h"
+ RelativePath="..\..\..\include\config\ftconfig.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftheader.h"
+ RelativePath="..\..\..\include\config\ftheader.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftmodule.h"
+ RelativePath="..\..\..\include\config\ftmodule.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftoption.h"
+ RelativePath="..\..\..\include\config\ftoption.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftstdlib.h"
+ RelativePath="..\..\..\include\config\ftstdlib.h"
>
</File>
</Filter>
diff --git a/builds/windows/vc2010/freetype.vcxproj b/builds/windows/vc2010/freetype.vcxproj
index a91a123f1..6cd12881a 100644
--- a/builds/windows/vc2010/freetype.vcxproj
+++ b/builds/windows/vc2010/freetype.vcxproj
@@ -1565,11 +1565,11 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\include\ft2build.h" />
- <ClInclude Include="..\..\..\include\freetype\config\ftconfig.h" />
- <ClInclude Include="..\..\..\include\freetype\config\ftheader.h" />
- <ClInclude Include="..\..\..\include\freetype\config\ftmodule.h" />
- <ClInclude Include="..\..\..\include\freetype\config\ftoption.h" />
- <ClInclude Include="..\..\..\include\freetype\config\ftstdlib.h" />
+ <ClInclude Include="..\..\..\include\config\ftconfig.h" />
+ <ClInclude Include="..\..\..\include\config\ftheader.h" />
+ <ClInclude Include="..\..\..\include\config\ftmodule.h" />
+ <ClInclude Include="..\..\..\include\config\ftoption.h" />
+ <ClInclude Include="..\..\..\include\config\ftstdlib.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/builds/windows/vc2010/freetype.vcxproj.filters b/builds/windows/vc2010/freetype.vcxproj.filters
index a3a9f1991..99fc43f22 100644
--- a/builds/windows/vc2010/freetype.vcxproj.filters
+++ b/builds/windows/vc2010/freetype.vcxproj.filters
@@ -136,19 +136,19 @@
<ClInclude Include="..\..\..\include\ft2build.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\include\freetype\config\ftconfig.h">
+ <ClInclude Include="..\..\..\include\config\ftconfig.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\include\freetype\config\ftheader.h">
+ <ClInclude Include="..\..\..\include\config\ftheader.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\include\freetype\config\ftmodule.h">
+ <ClInclude Include="..\..\..\include\config\ftmodule.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\include\freetype\config\ftoption.h">
+ <ClInclude Include="..\..\..\include\config\ftoption.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\include\freetype\config\ftstdlib.h">
+ <ClInclude Include="..\..\..\include\config\ftstdlib.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
diff --git a/builds/windows/visualc/freetype.dsp b/builds/windows/visualc/freetype.dsp
index 516e47f3c..7ce05369e 100644
--- a/builds/windows/visualc/freetype.dsp
+++ b/builds/windows/visualc/freetype.dsp
@@ -92,7 +92,7 @@ LIB32=link.exe -lib
# PROP Output_Dir "..\..\..\objs\debug_mt"
# PROP Intermediate_Dir "..\..\..\objs\debug_mt"
# PROP Target_Dir ""
-# ADD BASE CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /GZ /c
+# ADD BASE CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\include\\" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /GZ /c
# SUBTRACT BASE CPP /X
# ADD CPP /MTd /Za /W4 /GX /Z7 /Od /I "..\..\..\include" /D "_DEBUG" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT2_BUILD_LIBRARY" /FD /GZ /c
# SUBTRACT CPP /nologo /X /YX
@@ -117,7 +117,7 @@ LIB32=link.exe -lib
# PROP Output_Dir "..\..\..\objs\release_mt"
# PROP Intermediate_Dir "..\..\..\objs\release_mt"
# PROP Target_Dir ""
-# ADD BASE CPP /nologo /Za /W3 /GX /O2 /I "..\freetype\include\\" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /c
+# ADD BASE CPP /nologo /Za /W3 /GX /O2 /I "..\include\\" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /c
# ADD CPP /MT /Za /W4 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT2_BUILD_LIBRARY" /FD /c
# SUBTRACT CPP /nologo /Z<none> /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
@@ -377,23 +377,23 @@ SOURCE=..\..\..\include\ft2build.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftconfig.h
+SOURCE=..\..\..\include\config\ftconfig.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftheader.h
+SOURCE=..\..\..\include\config\ftheader.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftmodule.h
+SOURCE=..\..\..\include\config\ftmodule.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftoption.h
+SOURCE=..\..\..\include\config\ftoption.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftstdlib.h
+SOURCE=..\..\..\include\config\ftstdlib.h
# End Source File
# End Group
# End Target
diff --git a/builds/windows/visualc/freetype.vcproj b/builds/windows/visualc/freetype.vcproj
index dc5e67ad4..a1dbeec74 100644
--- a/builds/windows/visualc/freetype.vcproj
+++ b/builds/windows/visualc/freetype.vcproj
@@ -2153,23 +2153,23 @@
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftconfig.h"
+ RelativePath="..\..\..\include\config\ftconfig.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftheader.h"
+ RelativePath="..\..\..\include\config\ftheader.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftmodule.h"
+ RelativePath="..\..\..\include\config\ftmodule.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftoption.h"
+ RelativePath="..\..\..\include\config\ftoption.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftstdlib.h"
+ RelativePath="..\..\..\include\config\ftstdlib.h"
>
</File>
</Filter>
diff --git a/builds/windows/visualce/freetype.dsp b/builds/windows/visualce/freetype.dsp
index 516e47f3c..7ce05369e 100644
--- a/builds/windows/visualce/freetype.dsp
+++ b/builds/windows/visualce/freetype.dsp
@@ -92,7 +92,7 @@ LIB32=link.exe -lib
# PROP Output_Dir "..\..\..\objs\debug_mt"
# PROP Intermediate_Dir "..\..\..\objs\debug_mt"
# PROP Target_Dir ""
-# ADD BASE CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /GZ /c
+# ADD BASE CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\include\\" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /GZ /c
# SUBTRACT BASE CPP /X
# ADD CPP /MTd /Za /W4 /GX /Z7 /Od /I "..\..\..\include" /D "_DEBUG" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT2_BUILD_LIBRARY" /FD /GZ /c
# SUBTRACT CPP /nologo /X /YX
@@ -117,7 +117,7 @@ LIB32=link.exe -lib
# PROP Output_Dir "..\..\..\objs\release_mt"
# PROP Intermediate_Dir "..\..\..\objs\release_mt"
# PROP Target_Dir ""
-# ADD BASE CPP /nologo /Za /W3 /GX /O2 /I "..\freetype\include\\" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /c
+# ADD BASE CPP /nologo /Za /W3 /GX /O2 /I "..\include\\" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /c
# ADD CPP /MT /Za /W4 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT2_BUILD_LIBRARY" /FD /c
# SUBTRACT CPP /nologo /Z<none> /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
@@ -377,23 +377,23 @@ SOURCE=..\..\..\include\ft2build.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftconfig.h
+SOURCE=..\..\..\include\config\ftconfig.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftheader.h
+SOURCE=..\..\..\include\config\ftheader.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftmodule.h
+SOURCE=..\..\..\include\config\ftmodule.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftoption.h
+SOURCE=..\..\..\include\config\ftoption.h
# End Source File
# Begin Source File
-SOURCE=..\..\..\include\freetype\config\ftstdlib.h
+SOURCE=..\..\..\include\config\ftstdlib.h
# End Source File
# End Group
# End Target
diff --git a/builds/windows/visualce/freetype.vcproj b/builds/windows/visualce/freetype.vcproj
index 88f51679b..eab5b1ca3 100644
--- a/builds/windows/visualce/freetype.vcproj
+++ b/builds/windows/visualce/freetype.vcproj
@@ -13859,23 +13859,23 @@
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftconfig.h"
+ RelativePath="..\..\..\include\config\ftconfig.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftheader.h"
+ RelativePath="..\..\..\include\config\ftheader.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftmodule.h"
+ RelativePath="..\..\..\include\config\ftmodule.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftoption.h"
+ RelativePath="..\..\..\include\config\ftoption.h"
>
</File>
<File
- RelativePath="..\..\..\include\freetype\config\ftstdlib.h"
+ RelativePath="..\..\..\include\config\ftstdlib.h"
>
</File>
</Filter>
diff --git a/devel/ft2build.h b/devel/ft2build.h
index c1d38c35a..0f586d956 100644
--- a/devel/ft2build.h
+++ b/devel/ft2build.h
@@ -31,9 +31,9 @@
#ifndef __FT2_BUILD_DEVEL_H__
#define __FT2_BUILD_DEVEL_H__
-#define FT_CONFIG_OPTIONS_H <ftoption.h>
+#define FT_CONFIG_OPTIONS_H <ftoption.h>
-#include <freetype/config/ftheader.h>
+#include <config/ftheader.h>
#endif /* __FT2_BUILD_DEVEL_H__ */
diff --git a/devel/ftoption.h b/devel/ftoption.h
index 220625df9..27d1bd9a5 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -38,9 +38,9 @@ FT_BEGIN_HEADER
/* library from a single source directory. */
/* */
/* - You can put a copy of this file in your build directory, more */
- /* precisely in `$BUILD/freetype/config/ftoption.h', where `$BUILD' */
- /* is the name of a directory that is included _before_ the FreeType */
- /* include path during compilation. */
+ /* precisely in `$BUILD/config/ftoption.h', where `$BUILD' is the */
+ /* name of a directory that is included _before_ the FreeType include */
+ /* path during compilation. */
/* */
/* The default FreeType Makefiles and Jamfiles use the build */
/* directory `builds/<system>' by default, but you can easily change */
@@ -51,7 +51,7 @@ FT_BEGIN_HEADER
/* locate this file during the build. For example, */
/* */
/* #define FT_CONFIG_OPTIONS_H <myftoptions.h> */
- /* #include <freetype/config/ftheader.h> */
+ /* #include <config/ftheader.h> */
/* */
/* will use `$BUILD/myftoptions.h' instead of this file for macro */
/* definitions. */
@@ -59,7 +59,7 @@ FT_BEGIN_HEADER
/* Note also that you can similarly pre-define the macro */
/* FT_CONFIG_MODULES_H used to locate the file listing of the modules */
/* that are statically linked to the library at compile time. By */
- /* default, this file is <freetype/config/ftmodule.h>. */
+ /* default, this file is <config/ftmodule.h>. */
/* */
/* We highly recommend using the third method whenever possible. */
/* */
@@ -528,7 +528,7 @@ FT_BEGIN_HEADER
/* does not contain any glyph name though. */
/* */
/* Accessing SFNT names is done through the functions declared in */
- /* `freetype/ftsnames.h'. */
+ /* `ftsnames.h'. */
/* */
#define TT_CONFIG_OPTION_SFNT_NAMES
diff --git a/docs/CUSTOMIZE b/docs/CUSTOMIZE
index 396eda38e..dfadb4658 100644
--- a/docs/CUSTOMIZE
+++ b/docs/CUSTOMIZE
@@ -8,10 +8,9 @@ How to customize the compilation of the library
I. Configuration macros
- The file found in `include/freetype/config/ftoption.h' contains a
- list of commented configuration macros that can be toggled by
- developers to indicate which features should be active while
- building the library.
+ The file found in `include/config/ftoption.h' contains a list of
+ commented configuration macros that can be toggled by developers to
+ indicate which features should be active while building the library.
These options range from debug level to availability of certain
features, like native TrueType hinting through a bytecode
@@ -36,9 +35,9 @@ II. Modules list
can keep the source files `clean'.
If you don't use GNU make you have to manually edit the file
- `include/freetype/config/ftmodule.h' (which is *not* used with if
- compiled with GNU make) to add or remove the drivers and components
- you want to compile into the library. See `INSTALL.ANY' for more
+ `include/config/ftmodule.h' (which is *not* used with if compiled
+ with GNU make) to add or remove the drivers and components you want
+ to compile into the library. See `INSTALL.ANY' for more
information.
@@ -96,19 +95,16 @@ IV. Overriding default configuration and module headers
#include FT_CONFIG_OPTIONS_H
#include FT_CONFIG_MODULES_H
- are compiled. Their default values being
- <freetype/config/ftoption.h> and <freetype/config/ftmodule.h>, you
- can do something like:
+ are compiled. Their default values being <config/ftoption.h> and
+ <config/ftmodule.h>, you can do something like:
custom/
- freetype/
- config/
- ftoption.h => custom options header
- ftmodule.h => custom modules list
+ config/
+ ftoption.h => custom options header
+ ftmodule.h => custom modules list
include/ => normal FreeType 2 include
- freetype/
- ...
+ ...
then change the C include path to always give the path to `custom'
before the FreeType 2 `include'.
@@ -126,7 +122,7 @@ IV. Overriding default configuration and module headers
#define FT_CONFIG_OPTIONS_H <custom/my-ftoption.h>
#define FT_CONFIG_MODULES_H <custom/my-ftmodule.h>
- #include <freetype/config/ftheader.h>
+ #include <config/ftheader.h>
#endif /* __FT2_BUILD_MY_PLATFORM_H__ */
@@ -142,7 +138,7 @@ IV. Overriding default configuration and module headers
----------------------------------------------------------------------
-Copyright 2003, 2005, 2006, 2012 by
+Copyright 2003, 2005, 2006, 2012, 2013 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
diff --git a/docs/DEBUG b/docs/DEBUG
index 3d6acd3bb..d8c79d187 100644
--- a/docs/DEBUG
+++ b/docs/DEBUG
@@ -4,63 +4,63 @@ Debugging within the FreeType sources
I. Configuration macros
-----------------------
-There are several ways to enable debugging features in a FreeType 2
-builds. This is controlled through the definition of special macros
+There are several ways to enable debugging features in a FreeType 2
+builds. This is controlled through the definition of special macros
located in the file `ftoptions.h'. The macros are:
FT_DEBUG_LEVEL_ERROR
- #define this macro if you want to compile the FT_ERROR macro calls
- to print error messages during program execution. This will not
- stop the program. Very useful to spot invalid fonts during
+ #define this macro if you want to compile the FT_ERROR macro calls
+ to print error messages during program execution. This will not
+ stop the program. Very useful to spot invalid fonts during
development and to code workarounds for them.
FT_DEBUG_LEVEL_TRACE
- #define this macro if you want to compile both macros FT_ERROR and
- FT_TRACE. This also includes the variants FT_TRACE0, FT_TRACE1,
+ #define this macro if you want to compile both macros FT_ERROR and
+ FT_TRACE. This also includes the variants FT_TRACE0, FT_TRACE1,
FT_TRACE2, ..., FT_TRACE7.
- The trace macros are used to send debugging messages when an
- appropriate `debug level' is configured at runtime through the
+ The trace macros are used to send debugging messages when an
+ appropriate `debug level' is configured at runtime through the
FT2_DEBUG environment variable (more on this later).
FT_DEBUG_MEMORY
- If this macro is #defined, the FreeType engine is linked with a
- small but effective debugging memory manager that tracks all
+ If this macro is #defined, the FreeType engine is linked with a
+ small but effective debugging memory manager that tracks all
allocations and frees that are performed within the font engine.
- When the FT2_DEBUG_MEMORY environment variable is defined at
- runtime, a call to FT_Done_FreeType will dump memory statistics,
- including the list of leaked memory blocks with the source locations
- where these were allocated. It is always a very good idea to define
- this in development builds. This works with _any_ program linked to
- FreeType, but requires a big deal of memory (the debugging memory
- manager never frees the blocks to the heap in order to detect double
- frees).
+ When the FT2_DEBUG_MEMORY environment variable is defined at
+ runtime, a call to FT_Done_FreeType will dump memory statistics,
+ including the list of leaked memory blocks with the source
+ locations where these were allocated. It is always a very good
+ idea to define this in development builds. This works with _any_
+ program linked to FreeType, but requires a big deal of memory (the
+ debugging memory manager never frees the blocks to the heap in
+ order to detect double frees).
- When FT2_DEBUG_MEMORY isn't defined at runtime, the debugging memory
- manager is ignored, and performance is unaffected.
+ When FT2_DEBUG_MEMORY isn't defined at runtime, the debugging
+ memory manager is ignored, and performance is unaffected.
II. Debugging macros
--------------------
-Several macros can be used within the FreeType sources to help debugging
-its code:
+Several macros can be used within the FreeType sources to help
+debugging its code:
1. FT_ERROR(( ... ))
- This macro is used to send debug messages that indicate relatively
- serious errors (like broken font files), but will not stop the
- execution of the running program. Its code is compiled only when
- either FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined in
+ This macro is used to send debug messages that indicate relatively
+ serious errors (like broken font files), but will not stop the
+ execution of the running program. Its code is compiled only when
+ either FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined in
`ftoption.h'.
- Note that you have to use a printf-like signature, but with double
+ Note that you have to use a printf-like signature, but with double
parentheses, like in
FT_ERROR(( "your %s is not %s\n", "foo", "bar" ));
@@ -68,128 +68,130 @@ its code:
2. FT_ASSERT( condition )
- This macro is used to check strong assertions at runtime. If its
- condition isn't TRUE, the program will abort with a panic message.
- Its code is compiled when either FT_DEBUG_LEVEL_ERROR or
- FT_DEBUG_LEVEL_TRACE are defined. You don't need double parentheses
- here. For example
+ This macro is used to check strong assertions at runtime. If its
+ condition isn't TRUE, the program will abort with a panic message.
+ Its code is compiled when either FT_DEBUG_LEVEL_ERROR or
+ FT_DEBUG_LEVEL_TRACE are defined. You don't need double
+ parentheses here. For example
FT_ASSERT( ptr != NULL );
3. FT_TRACE( level, (message...) )
- The FT_TRACE macro is used to send general-purpose debugging
- messages during program execution. This macro uses an *implicit*
- macro named FT_COMPONENT used to name the current FreeType component
- being run.
+ The FT_TRACE macro is used to send general-purpose debugging
+ messages during program execution. This macro uses an *implicit*
+ macro named FT_COMPONENT used to name the current FreeType
+ component being run.
- The developer should always define FT_COMPONENT as appropriate, for
- example as in
+ The developer should always define FT_COMPONENT as appropriate,
+ for example as in
#undef FT_COMPONENT
#define FT_COMPONENT trace_io
- The value of the FT_COMPONENT macro is an enumeration named
- trace_XXXX where XXXX is one of the component names defined in the
- internal file `freetype/internal/fttrace.h'. If you modify FreeType
- source and insert new trace_XXXX macro, you must register it in
- fttrace.h. If you insert or remove many trace macros, you can check
- the undefined or the unused trace macro by src/tools/chktrcmp.py.
+ The value of the FT_COMPONENT macro is an enumeration named
+ `trace_XXXX' where `XXXX' is one of the component names defined in
+ the internal file `internal/fttrace.h'. If you modify FreeType
+ source and insert new `trace_XXXX' macro, you must register it in
+ `fttrace.h'. If you insert or remove many trace macros, you can
+ check the undefined or the unused trace macro by
+ `src/tools/chktrcmp.py'.
- Each such component is assigned a `debug level', ranging from 0
- to 7, through the use of the FT2_DEBUG environment variable
+ Each such component is assigned a `debug level', ranging from 0 to
+ 7, through the use of the FT2_DEBUG environment variable
(described below) when a program linked with FreeType starts.
- When FT_TRACE is called, its level is compared to the one of the
- corresponding component. Messages with trace levels *higher* than
+ When FT_TRACE is called, its level is compared to the one of the
+ corresponding component. Messages with trace levels *higher* than
the corresponding component level are filtered and never printed.
- This means that trace messages with level 0 are always printed,
- those with level 2 are only printed when the component level is *at
- least* 2.
+ This means that trace messages with level 0 are always printed,
+ those with level 2 are only printed when the component level is
+ *at least* 2.
- The second parameter to FT_TRACE must contain parentheses and
+ The second parameter to FT_TRACE must contain parentheses and
correspond to a printf-like call, as in
FT_TRACE( 2, ( "your %s is not %s\n", "foo", "bar" ) )
- The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2, ..., FT_TRACE7
- can be used with constant level indices, and are much cleaner to
- use, as in
+ The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2, ...,
+ FT_TRACE7 can be used with constant level indices, and are much
+ cleaner to use, as in
- FT_TRACE2(( "your %s is not %s\n", "foo", "bar" ));
+ FT_TRACE2(( "your %s is not %s\n", "foo", "bar" ));
III. Environment variables
--------------------------
-The following environment variables control debugging output and
+The following environment variables control debugging output and
behaviour of FreeType at runtime.
FT2_DEBUG
- This variable is only used when FreeType is built with
- FT_DEBUG_LEVEL_TRACE defined. It contains a list of component level
- definitions, following this format:
+ This variable is only used when FreeType is built with
+ FT_DEBUG_LEVEL_TRACE defined. It contains a list of component
+ level definitions, following this format:
- component1:level1 component2:level2 component3:level3 ...
+ component1:level1 component2:level2 component3:level3 ...
- where `componentX' is the name of a tracing component, as defined in
- `fttrace.h', but without the `trace_' prefix. `levelX' is the
+ where `componentX' is the name of a tracing component, as defined
+ in `fttrace.h', but without the `trace_' prefix. `levelX' is the
corresponding level to use at runtime.
- `any' is a special component name that will be interpreted as
+ `any' is a special component name that will be interpreted as
`any/all components'. For example, the following definitions
- set FT2_DEBUG=any:2 memory:5 io:4 (on Windows)
- export FT2_DEBUG="any:2 memory:5 io:4" (on Linux with bash)
+ set FT2_DEBUG=any:2 memory:5 io:4 (on Windows)
+ export FT2_DEBUG="any:2 memory:5 io:4" (on Linux with bash)
- both stipulate that all components should have level 2, except for
- the memory and io components which will be set to trace levels 5 and
- 4, respectively.
+ both stipulate that all components should have level 2, except for
+ the memory and io components which will be set to trace levels 5
+ and 4, respectively.
FT2_DEBUG_MEMORY
- This environment variable, when defined, tells FreeType to use a
- debugging memory manager that will track leaking memory blocks as
- well as other common errors like double frees. It is also capable
- of reporting _where_ the leaking blocks were allocated, which
- considerably saves time when debugging new additions to the library.
+ This environment variable, when defined, tells FreeType to use a
+ debugging memory manager that will track leaking memory blocks as
+ well as other common errors like double frees. It is also capable
+ of reporting _where_ the leaking blocks were allocated, which
+ considerably saves time when debugging new additions to the
+ library.
- This code is only compiled when FreeType is built with the
- FT_DEBUG_MEMORY macro #defined in `ftoption.h' though, it will be
+ This code is only compiled when FreeType is built with the
+ FT_DEBUG_MEMORY macro #defined in `ftoption.h' though, it will be
ignored in other builds.
FT2_ALLOC_TOTAL_MAX
- This variable is ignored if FT2_DEBUG_MEMORY is not defined. It
- allows you to specify a maximum heap size for all memory allocations
- performed by FreeType. This is very useful to test the robustness
- of the font engine and programs that use it in tight memory
- conditions.
+ This variable is ignored if FT2_DEBUG_MEMORY is not defined. It
+ allows you to specify a maximum heap size for all memory
+ allocations performed by FreeType. This is very useful to test
+ the robustness of the font engine and programs that use it in
+ tight memory conditions.
- If it is undefined, or if its value is not strictly positive, then
+ If it is undefined, or if its value is not strictly positive, then
no allocation bounds are checked at runtime.
FT2_ALLOC_COUNT_MAX
- This variable is ignored if FT2_DEBUG_MEMORY is not defined. It
- allows you to specify a maximum number of memory allocations
- performed by FreeType before returning the error
- FT_Err_Out_Of_Memory. This is useful for debugging and testing the
- engine's robustness.
+ This variable is ignored if FT2_DEBUG_MEMORY is not defined. It
+ allows you to specify a maximum number of memory allocations
+ performed by FreeType before returning the error
+ FT_Err_Out_Of_Memory. This is useful for debugging and testing
+ the engine's robustness.
- If it is undefined, or if its value is not strictly positive, then
+ If it is undefined, or if its value is not strictly positive, then
no allocation bounds are checked at runtime.
------------------------------------------------------------------------
-Copyright 2002, 2003, 2004, 2005, 2009 by
+Copyright 2002-2005, 2009, 2013 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
diff --git a/docs/INSTALL.ANY b/docs/INSTALL.ANY
index 80f161c64..8aa394f1f 100644
--- a/docs/INSTALL.ANY
+++ b/docs/INSTALL.ANY
@@ -33,25 +33,25 @@ I. Standard procedure
src/base/ftbase.c
- src/base/ftbbox.c -- recommended, see <freetype/ftbbox.h>
- src/base/ftglyph.c -- recommended, see <freetype/ftglyph.h>
+ src/base/ftbbox.c -- recommended, see <ftbbox.h>
+ src/base/ftglyph.c -- recommended, see <ftglyph.h>
- src/base/ftbdf.c -- optional, see <freetype/ftbdf.h>
- src/base/ftbitmap.c -- optional, see <freetype/ftbitmap.h>
- src/base/ftcid.c -- optional, see <freetype/ftcid.h>
+ src/base/ftbdf.c -- optional, see <ftbdf.h>
+ src/base/ftbitmap.c -- optional, see <ftbitmap.h>
+ src/base/ftcid.c -- optional, see <ftcid.h>
src/base/ftfstype.c -- optional
- src/base/ftgasp.c -- optional, see <freetype/ftgasp.h>
- src/base/ftgxval.c -- optional, see <freetype/ftgxval.h>
- src/base/ftlcdfil.c -- optional, see <freetype/ftlcdfil.h>
- src/base/ftmm.c -- optional, see <freetype/ftmm.h>
- src/base/ftotval.c -- optional, see <freetype/ftotval.h>
+ src/base/ftgasp.c -- optional, see <ftgasp.h>
+ src/base/ftgxval.c -- optional, see <ftgxval.h>
+ src/base/ftlcdfil.c -- optional, see <ftlcdfil.h>
+ src/base/ftmm.c -- optional, see <ftmm.h>
+ src/base/ftotval.c -- optional, see <ftotval.h>
src/base/ftpatent.c -- optional
- src/base/ftpfr.c -- optional, see <freetype/ftpfr.h>
- src/base/ftstroke.c -- optional, see <freetype/ftstroke.h>
- src/base/ftsynth.c -- optional, see <freetype/ftsynth.h>
- src/base/fttype1.c -- optional, see <freetype/t1tables.h>
- src/base/ftwinfnt.c -- optional, see <freetype/ftwinfnt.h>
- src/base/ftxf86.c -- optional, see <freetype/ftxf86.h>
+ src/base/ftpfr.c -- optional, see <ftpfr.h>
+ src/base/ftstroke.c -- optional, see <ftstroke.h>
+ src/base/ftsynth.c -- optional, see <ftsynth.h>
+ src/base/fttype1.c -- optional, see <t1tables.h>
+ src/base/ftwinfnt.c -- optional, see <ftwinfnt.h>
+ src/base/ftxf86.c -- optional, see <ftxf86.h>
src/base/ftmac.c -- only on the Macintosh
@@ -143,7 +143,7 @@ II. Support for flat-directory compilation
----------------------------------------------------------------------
-Copyright 2003, 2005, 2006, 2009, 2010 by
+Copyright 2003, 2005, 2006, 2009, 2010, 2013 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
diff --git a/docs/release b/docs/release
index 65ce078e8..b0ae5df90 100644
--- a/docs/release
+++ b/docs/release
@@ -1,7 +1,7 @@
How to prepare a new release
----------------------------
-. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
+. include/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
and FREETYPE_PATCH.
. Update version numbers in all files where necessary (for example, do
diff --git a/include/freetype/config/ftconfig.h b/include/config/ftconfig.h
index dd192100c..0770e7878 100644
--- a/include/freetype/config/ftconfig.h
+++ b/include/config/ftconfig.h
@@ -27,11 +27,11 @@
/* Note however that if some specific modifications are needed, we */
/* advise you to place a modified copy in your build directory. */
/* */
- /* The build directory is usually `freetype/builds/<system>', and */
- /* contains system-specific files that are always included first when */
- /* building the library. */
+ /* The build directory is usually `builds/<system>', and contains */
+ /* system-specific files that are always included first when building */
+ /* the library. */
/* */
- /* This ANSI version should stay in `include/freetype/config'. */
+ /* This ANSI version should stay in `include/config/'. */
/* */
/*************************************************************************/
@@ -53,7 +53,7 @@ FT_BEGIN_HEADER
/* These macros can be toggled to suit a specific system. The current */
/* ones are defaults used to compile FreeType in an ANSI C environment */
/* (16bit compilers are also supported). Copy this file to your own */
- /* `freetype/builds/<system>' directory, and edit it to port the engine. */
+ /* `builds/<system>' directory, and edit it to port the engine. */
/* */
/*************************************************************************/
diff --git a/include/freetype/config/ftheader.h b/include/config/ftheader.h
index 8371a3161..b62362992 100644
--- a/include/freetype/config/ftheader.h
+++ b/include/config/ftheader.h
@@ -107,7 +107,7 @@
*
*/
#ifndef FT_CONFIG_CONFIG_H
-#define FT_CONFIG_CONFIG_H <freetype/config/ftconfig.h>
+#define FT_CONFIG_CONFIG_H <config/ftconfig.h>
#endif
@@ -122,7 +122,7 @@
*
*/
#ifndef FT_CONFIG_STANDARD_LIBRARY_H
-#define FT_CONFIG_STANDARD_LIBRARY_H <freetype/config/ftstdlib.h>
+#define FT_CONFIG_STANDARD_LIBRARY_H <config/ftstdlib.h>
#endif
@@ -137,7 +137,7 @@
*
*/
#ifndef FT_CONFIG_OPTIONS_H
-#define FT_CONFIG_OPTIONS_H <freetype/config/ftoption.h>
+#define FT_CONFIG_OPTIONS_H <config/ftoption.h>
#endif
@@ -153,7 +153,7 @@
*
*/
#ifndef FT_CONFIG_MODULES_H
-#define FT_CONFIG_MODULES_H <freetype/config/ftmodule.h>
+#define FT_CONFIG_MODULES_H <config/ftmodule.h>
#endif
/* */
@@ -170,7 +170,7 @@
* base FreeType~2 API.
*
*/
-#define FT_FREETYPE_H <freetype/freetype.h>
+#define FT_FREETYPE_H <freetype.h>
/*************************************************************************
@@ -185,7 +185,7 @@
* It is included by @FT_FREETYPE_H.
*
*/
-#define FT_ERRORS_H <freetype/fterrors.h>
+#define FT_ERRORS_H <fterrors.h>
/*************************************************************************
@@ -198,7 +198,7 @@
* list of FreeType~2 module error offsets (and messages).
*
*/
-#define FT_MODULE_ERRORS_H <freetype/ftmoderr.h>
+#define FT_MODULE_ERRORS_H <ftmoderr.h>
/*************************************************************************
@@ -214,7 +214,7 @@
* It is included by @FT_FREETYPE_H.
*
*/
-#define FT_SYSTEM_H <freetype/ftsystem.h>
+#define FT_SYSTEM_H <ftsystem.h>
/*************************************************************************
@@ -230,7 +230,7 @@
* It is included by @FT_FREETYPE_H.
*
*/
-#define FT_IMAGE_H <freetype/ftimage.h>
+#define FT_IMAGE_H <ftimage.h>
/*************************************************************************
@@ -245,7 +245,7 @@
* It is included by @FT_FREETYPE_H.
*
*/
-#define FT_TYPES_H <freetype/fttypes.h>
+#define FT_TYPES_H <fttypes.h>
/*************************************************************************
@@ -260,7 +260,7 @@
* (Most applications will never need to include this file.)
*
*/
-#define FT_LIST_H <freetype/ftlist.h>
+#define FT_LIST_H <ftlist.h>
/*************************************************************************
@@ -273,7 +273,7 @@
* scalable outline management API of FreeType~2.
*
*/
-#define FT_OUTLINE_H <freetype/ftoutln.h>
+#define FT_OUTLINE_H <ftoutln.h>
/*************************************************************************
@@ -286,7 +286,7 @@
* API which manages multiple @FT_Size objects per face.
*
*/
-#define FT_SIZES_H <freetype/ftsizes.h>
+#define FT_SIZES_H <ftsizes.h>
/*************************************************************************
@@ -299,7 +299,7 @@
* module management API of FreeType~2.
*
*/
-#define FT_MODULE_H <freetype/ftmodapi.h>
+#define FT_MODULE_H <ftmodapi.h>
/*************************************************************************
@@ -312,7 +312,7 @@
* renderer module management API of FreeType~2.
*
*/
-#define FT_RENDER_H <freetype/ftrender.h>
+#define FT_RENDER_H <ftrender.h>
/*************************************************************************
@@ -325,7 +325,7 @@
* structures and macros related to the auto-hinting module.
*
*/
-#define FT_AUTOHINTER_H <freetype/ftautoh.h>
+#define FT_AUTOHINTER_H <ftautoh.h>
/*************************************************************************
@@ -338,7 +338,7 @@
* structures and macros related to the CFF driver module.
*
*/
-#define FT_CFF_DRIVER_H <freetype/ftcffdrv.h>
+#define FT_CFF_DRIVER_H <ftcffdrv.h>
/*************************************************************************
@@ -351,7 +351,7 @@
* structures and macros related to the TrueType driver module.
*
*/
-#define FT_TRUETYPE_DRIVER_H <freetype/ftttdrv.h>
+#define FT_TRUETYPE_DRIVER_H <ftttdrv.h>
/*************************************************************************
@@ -364,7 +364,7 @@
* types and API specific to the Type~1 format.
*
*/
-#define FT_TYPE1_TABLES_H <freetype/t1tables.h>
+#define FT_TYPE1_TABLES_H <t1tables.h>
/*************************************************************************
@@ -379,7 +379,7 @@
* definitions, taken from the TrueType and OpenType specifications.
*
*/
-#define FT_TRUETYPE_IDS_H <freetype/ttnameid.h>
+#define FT_TRUETYPE_IDS_H <ttnameid.h>
/*************************************************************************
@@ -392,7 +392,7 @@
* types and API specific to the TrueType (as well as OpenType) format.
*
*/
-#define FT_TRUETYPE_TABLES_H <freetype/tttables.h>
+#define FT_TRUETYPE_TABLES_H <tttables.h>
/*************************************************************************
@@ -406,7 +406,7 @@
* SFNT-based font formats (i.e., TrueType and OpenType).
*
*/
-#define FT_TRUETYPE_TAGS_H <freetype/tttags.h>
+#define FT_TRUETYPE_TAGS_H <tttags.h>
/*************************************************************************
@@ -420,7 +420,7 @@
* face.
*
*/
-#define FT_BDF_H <freetype/ftbdf.h>
+#define FT_BDF_H <ftbdf.h>
/*************************************************************************
@@ -434,7 +434,7 @@
* face.
*
*/
-#define FT_CID_H <freetype/ftcid.h>
+#define FT_CID_H <ftcid.h>
/*************************************************************************
@@ -447,7 +447,7 @@
* definitions of an API which supports gzip-compressed files.
*
*/
-#define FT_GZIP_H <freetype/ftgzip.h>
+#define FT_GZIP_H <ftgzip.h>
/*************************************************************************
@@ -460,7 +460,7 @@
* definitions of an API which supports LZW-compressed files.
*
*/
-#define FT_LZW_H <freetype/ftlzw.h>
+#define FT_LZW_H <ftlzw.h>
/*************************************************************************
@@ -473,7 +473,7 @@
* definitions of an API which supports bzip2-compressed files.
*
*/
-#define FT_BZIP2_H <freetype/ftbzip2.h>
+#define FT_BZIP2_H <ftbzip2.h>
/*************************************************************************
@@ -486,7 +486,7 @@
* definitions of an API which supports Windows FNT files.
*
*/
-#define FT_WINFONTS_H <freetype/ftwinfnt.h>
+#define FT_WINFONTS_H <ftwinfnt.h>
/*************************************************************************
@@ -499,7 +499,7 @@
* API of the optional glyph management component.
*
*/
-#define FT_GLYPH_H <freetype/ftglyph.h>
+#define FT_GLYPH_H <ftglyph.h>
/*************************************************************************
@@ -512,7 +512,7 @@
* API of the optional bitmap conversion component.
*
*/
-#define FT_BITMAP_H <freetype/ftbitmap.h>
+#define FT_BITMAP_H <ftbitmap.h>
/*************************************************************************
@@ -525,7 +525,7 @@
* API of the optional exact bounding box computation routines.
*
*/
-#define FT_BBOX_H <freetype/ftbbox.h>
+#define FT_BBOX_H <ftbbox.h>
/*************************************************************************
@@ -538,7 +538,7 @@
* API of the optional FreeType~2 cache sub-system.
*
*/
-#define FT_CACHE_H <freetype/ftcache.h>
+#define FT_CACHE_H <ftcache.h>
/*************************************************************************
@@ -612,7 +612,7 @@
* compiled on the Mac (note that the base API still works though).
*
*/
-#define FT_MAC_H <freetype/ftmac.h>
+#define FT_MAC_H <ftmac.h>
/*************************************************************************
@@ -625,7 +625,7 @@
* optional multiple-masters management API of FreeType~2.
*
*/
-#define FT_MULTIPLE_MASTERS_H <freetype/ftmm.h>
+#define FT_MULTIPLE_MASTERS_H <ftmm.h>
/*************************************************************************
@@ -639,7 +639,7 @@
* SFNT-based font formats (i.e., TrueType and OpenType).
*
*/
-#define FT_SFNT_NAMES_H <freetype/ftsnames.h>
+#define FT_SFNT_NAMES_H <ftsnames.h>
/*************************************************************************
@@ -653,7 +653,7 @@
* GPOS, GSUB, JSTF).
*
*/
-#define FT_OPENTYPE_VALIDATE_H <freetype/ftotval.h>
+#define FT_OPENTYPE_VALIDATE_H <ftotval.h>
/*************************************************************************
@@ -667,7 +667,7 @@
* mort, morx, bsln, just, kern, opbd, trak, prop).
*
*/
-#define FT_GX_VALIDATE_H <freetype/ftgxval.h>
+#define FT_GX_VALIDATE_H <ftgxval.h>
/*************************************************************************
@@ -680,7 +680,7 @@
* FreeType~2 API which accesses PFR-specific data.
*
*/
-#define FT_PFR_H <freetype/ftpfr.h>
+#define FT_PFR_H <ftpfr.h>
/*************************************************************************
@@ -692,7 +692,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which provides functions to stroke outline paths.
*/
-#define FT_STROKER_H <freetype/ftstroke.h>
+#define FT_STROKER_H <ftstroke.h>
/*************************************************************************
@@ -704,7 +704,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which performs artificial obliquing and emboldening.
*/
-#define FT_SYNTHESIS_H <freetype/ftsynth.h>
+#define FT_SYNTHESIS_H <ftsynth.h>
/*************************************************************************
@@ -717,7 +717,7 @@
* FreeType~2 API which provides functions specific to the XFree86 and
* X.Org X11 servers.
*/
-#define FT_XFREE86_H <freetype/ftxf86.h>
+#define FT_XFREE86_H <ftxf86.h>
/*************************************************************************
@@ -730,7 +730,7 @@
* FreeType~2 API which performs trigonometric computations (e.g.,
* cosines and arc tangents).
*/
-#define FT_TRIGONOMETRY_H <freetype/fttrigon.h>
+#define FT_TRIGONOMETRY_H <fttrigon.h>
/*************************************************************************
@@ -742,7 +742,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which performs color filtering for subpixel rendering.
*/
-#define FT_LCD_FILTER_H <freetype/ftlcdfil.h>
+#define FT_LCD_FILTER_H <ftlcdfil.h>
/*************************************************************************
@@ -754,7 +754,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which performs color filtering for subpixel rendering.
*/
-#define FT_UNPATENTED_HINTING_H <freetype/ttunpat.h>
+#define FT_UNPATENTED_HINTING_H <ttunpat.h>
/*************************************************************************
@@ -766,7 +766,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which performs color filtering for subpixel rendering.
*/
-#define FT_INCREMENTAL_H <freetype/ftincrem.h>
+#define FT_INCREMENTAL_H <ftincrem.h>
/*************************************************************************
@@ -778,7 +778,7 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which returns entries from the TrueType GASP table.
*/
-#define FT_GASP_H <freetype/ftgasp.h>
+#define FT_GASP_H <ftgasp.h>
/*************************************************************************
@@ -790,38 +790,38 @@
* A macro used in #include statements to name the file containing the
* FreeType~2 API which returns individual and ranged glyph advances.
*/
-#define FT_ADVANCES_H <freetype/ftadvanc.h>
+#define FT_ADVANCES_H <ftadvanc.h>
/* */
-#define FT_ERROR_DEFINITIONS_H <freetype/fterrdef.h>
+#define FT_ERROR_DEFINITIONS_H <fterrdef.h>
/* The internals of the cache sub-system are no longer exposed. We */
/* default to FT_CACHE_H at the moment just in case, but we know of */
/* no rogue client that uses them. */
/* */
-#define FT_CACHE_MANAGER_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_MRU_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_MANAGER_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_CACHE_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_GLYPH_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_IMAGE_H <freetype/ftcache.h>
-#define FT_CACHE_INTERNAL_SBITS_H <freetype/ftcache.h>
+#define FT_CACHE_MANAGER_H <ftcache.h>
+#define FT_CACHE_INTERNAL_MRU_H <ftcache.h>
+#define FT_CACHE_INTERNAL_MANAGER_H <ftcache.h>
+#define FT_CACHE_INTERNAL_CACHE_H <ftcache.h>
+#define FT_CACHE_INTERNAL_GLYPH_H <ftcache.h>
+#define FT_CACHE_INTERNAL_IMAGE_H <ftcache.h>
+#define FT_CACHE_INTERNAL_SBITS_H <ftcache.h>
-#define FT_INCREMENTAL_H <freetype/ftincrem.h>
+#define FT_INCREMENTAL_H <ftincrem.h>
-#define FT_TRUETYPE_UNPATENTED_H <freetype/ttunpat.h>
+#define FT_TRUETYPE_UNPATENTED_H <ttunpat.h>
/*
- * Include internal headers definitions from <freetype/internal/...>
+ * Include internal headers definitions from <internal/...>
* only when building the library.
*/
#ifdef FT2_BUILD_LIBRARY
-#define FT_INTERNAL_INTERNAL_H <freetype/internal/internal.h>
+#define FT_INTERNAL_INTERNAL_H <internal/internal.h>
#include FT_INTERNAL_INTERNAL_H
#endif /* FT2_BUILD_LIBRARY */
diff --git a/include/freetype/config/ftmodule.h b/include/config/ftmodule.h
index 76d271a74..76d271a74 100644
--- a/include/freetype/config/ftmodule.h
+++ b/include/config/ftmodule.h
diff --git a/include/freetype/config/ftoption.h b/include/config/ftoption.h
index 0883c69e4..fe2ba15b4 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/config/ftoption.h
@@ -38,9 +38,9 @@ FT_BEGIN_HEADER
/* library from a single source directory. */
/* */
/* - You can put a copy of this file in your build directory, more */
- /* precisely in `$BUILD/freetype/config/ftoption.h', where `$BUILD' */
- /* is the name of a directory that is included _before_ the FreeType */
- /* include path during compilation. */
+ /* precisely in `$BUILD/config/ftoption.h', where `$BUILD' is the */
+ /* name of a directory that is included _before_ the FreeType include */
+ /* path during compilation. */
/* */
/* The default FreeType Makefiles and Jamfiles use the build */
/* directory `builds/<system>' by default, but you can easily change */
@@ -51,7 +51,7 @@ FT_BEGIN_HEADER
/* locate this file during the build. For example, */
/* */
/* #define FT_CONFIG_OPTIONS_H <myftoptions.h> */
- /* #include <freetype/config/ftheader.h> */
+ /* #include <config/ftheader.h> */
/* */
/* will use `$BUILD/myftoptions.h' instead of this file for macro */
/* definitions. */
@@ -59,7 +59,7 @@ FT_BEGIN_HEADER
/* Note also that you can similarly pre-define the macro */
/* FT_CONFIG_MODULES_H used to locate the file listing of the modules */
/* that are statically linked to the library at compile time. By */
- /* default, this file is <freetype/config/ftmodule.h>. */
+ /* default, this file is <config/ftmodule.h>. */
/* */
/* We highly recommend using the third method whenever possible. */
/* */
@@ -528,7 +528,7 @@ FT_BEGIN_HEADER
/* does not contain any glyph name though. */
/* */
/* Accessing SFNT names is done through the functions declared in */
- /* `freetype/ftsnames.h'. */
+ /* `ftsnames.h'. */
/* */
#define TT_CONFIG_OPTION_SFNT_NAMES
diff --git a/include/freetype/config/ftstdlib.h b/include/config/ftstdlib.h
index b940efc42..b940efc42 100644
--- a/include/freetype/config/ftstdlib.h
+++ b/include/config/ftstdlib.h
diff --git a/include/freetype/freetype.h b/include/freetype.h
index 1797bbee1..d2eba4a61 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype.h
@@ -3027,7 +3027,7 @@ FT_BEGIN_HEADER
/* */
/* This function is not compiled within the library if the config */
/* macro `FT_CONFIG_OPTION_NO_GLYPH_NAMES' is defined in */
- /* `include/freetype/config/ftoptions.h'. */
+ /* `ftoptions.h'. */
/* */
FT_EXPORT( FT_Error )
FT_Get_Glyph_Name( FT_Face face,
diff --git a/include/ft2build.h b/include/ft2build.h
index 923d887df..fafe50afd 100644
--- a/include/ft2build.h
+++ b/include/ft2build.h
@@ -5,7 +5,7 @@
/* FreeType 2 build and setup macros. */
/* (Generic version) */
/* */
-/* Copyright 1996-2001, 2006 by */
+/* Copyright 1996-2001, 2006, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -31,7 +31,7 @@
#ifndef __FT2_BUILD_GENERIC_H__
#define __FT2_BUILD_GENERIC_H__
-#include <freetype/config/ftheader.h>
+#include <config/ftheader.h>
#endif /* __FT2_BUILD_GENERIC_H__ */
diff --git a/include/freetype/ftadvanc.h b/include/ftadvanc.h
index 8f7e2fce5..8f7e2fce5 100644
--- a/include/freetype/ftadvanc.h
+++ b/include/ftadvanc.h
diff --git a/include/freetype/ftautoh.h b/include/ftautoh.h
index bf97b3f24..bf97b3f24 100644
--- a/include/freetype/ftautoh.h
+++ b/include/ftautoh.h
diff --git a/include/freetype/ftbbox.h b/include/ftbbox.h
index 8938841a6..8938841a6 100644
--- a/include/freetype/ftbbox.h
+++ b/include/ftbbox.h
diff --git a/include/freetype/ftbdf.h b/include/ftbdf.h
index 4f8baf840..4f8baf840 100644
--- a/include/freetype/ftbdf.h
+++ b/include/ftbdf.h
diff --git a/include/freetype/ftbitmap.h b/include/ftbitmap.h
index 7dbf5ba3f..7dbf5ba3f 100644
--- a/include/freetype/ftbitmap.h
+++ b/include/ftbitmap.h
diff --git a/include/freetype/ftbzip2.h b/include/ftbzip2.h
index 1bf81b15e..1bf81b15e 100644
--- a/include/freetype/ftbzip2.h
+++ b/include/ftbzip2.h
diff --git a/include/freetype/ftcache.h b/include/ftcache.h
index a5d7100a3..a5d7100a3 100644
--- a/include/freetype/ftcache.h
+++ b/include/ftcache.h
diff --git a/include/freetype/ftcffdrv.h b/include/ftcffdrv.h
index e4d039d02..e4d039d02 100644
--- a/include/freetype/ftcffdrv.h
+++ b/include/ftcffdrv.h
diff --git a/include/freetype/ftchapters.h b/include/ftchapters.h
index 4b1059a85..4b1059a85 100644
--- a/include/freetype/ftchapters.h
+++ b/include/ftchapters.h
diff --git a/include/freetype/ftcid.h b/include/ftcid.h
index 203a30caf..203a30caf 100644
--- a/include/freetype/ftcid.h
+++ b/include/ftcid.h
diff --git a/include/freetype/fterrdef.h b/include/fterrdef.h
index 76c7b9e36..76c7b9e36 100644
--- a/include/freetype/fterrdef.h
+++ b/include/fterrdef.h
diff --git a/include/freetype/fterrors.h b/include/fterrors.h
index 0fa3e4dce..0fa3e4dce 100644
--- a/include/freetype/fterrors.h
+++ b/include/fterrors.h
diff --git a/include/freetype/ftgasp.h b/include/ftgasp.h
index 453d4fa42..453d4fa42 100644
--- a/include/freetype/ftgasp.h
+++ b/include/ftgasp.h
diff --git a/include/freetype/ftglyph.h b/include/ftglyph.h
index 2d30ed9de..2d30ed9de 100644
--- a/include/freetype/ftglyph.h
+++ b/include/ftglyph.h
diff --git a/include/freetype/ftgxval.h b/include/ftgxval.h
index 6d38e327a..6d38e327a 100644
--- a/include/freetype/ftgxval.h
+++ b/include/ftgxval.h
diff --git a/include/freetype/ftgzip.h b/include/ftgzip.h
index 78e726999..78e726999 100644
--- a/include/freetype/ftgzip.h
+++ b/include/ftgzip.h
diff --git a/include/freetype/ftimage.h b/include/ftimage.h
index 14ab5c46a..ea71a78ef 100644
--- a/include/freetype/ftimage.h
+++ b/include/ftimage.h
@@ -836,8 +836,8 @@ FT_BEGIN_HEADER
/* a a bitmap. This section contains the public API for rasters. */
/* */
/* Note that in FreeType 2, all rasters are now encapsulated within */
- /* specific modules called `renderers'. See `freetype/ftrender.h' for */
- /* more details on renderers. */
+ /* specific modules called `renderers'. See `ftrender.h' for more */
+ /* details on renderers. */
/* */
/*************************************************************************/
diff --git a/include/freetype/ftincrem.h b/include/ftincrem.h
index aaf689ff1..aaf689ff1 100644
--- a/include/freetype/ftincrem.h
+++ b/include/ftincrem.h
diff --git a/include/freetype/ftlcdfil.h b/include/ftlcdfil.h
index 39206f019..39206f019 100644
--- a/include/freetype/ftlcdfil.h
+++ b/include/ftlcdfil.h
diff --git a/include/freetype/ftlist.h b/include/ftlist.h
index 241e21e55..241e21e55 100644
--- a/include/freetype/ftlist.h
+++ b/include/ftlist.h
diff --git a/include/freetype/ftlzw.h b/include/ftlzw.h
index 00d40169a..00d40169a 100644
--- a/include/freetype/ftlzw.h
+++ b/include/ftlzw.h
diff --git a/include/freetype/ftmac.h b/include/ftmac.h
index ad0d347f9..42874fe6f 100644
--- a/include/freetype/ftmac.h
+++ b/include/ftmac.h
@@ -18,7 +18,7 @@
/***************************************************************************/
/* */
-/* NOTE: Include this file after <freetype/freetype.h> and after any */
+/* NOTE: Include this file after FT_FREETYPE_H and after any */
/* Mac-specific headers (because this header uses Mac types such as */
/* Handle, FSSpec, FSRef, etc.) */
/* */
diff --git a/include/freetype/ftmm.h b/include/ftmm.h
index 837975a0b..837975a0b 100644
--- a/include/freetype/ftmm.h
+++ b/include/ftmm.h
diff --git a/include/freetype/ftmodapi.h b/include/ftmodapi.h
index 22878f8c6..22878f8c6 100644
--- a/include/freetype/ftmodapi.h
+++ b/include/ftmodapi.h
diff --git a/include/freetype/ftmoderr.h b/include/ftmoderr.h
index 5a27db151..5a27db151 100644
--- a/include/freetype/ftmoderr.h
+++ b/include/ftmoderr.h
diff --git a/include/freetype/ftotval.h b/include/ftotval.h
index bb52dc4a0..bb52dc4a0 100644
--- a/include/freetype/ftotval.h
+++ b/include/ftotval.h
diff --git a/include/freetype/ftoutln.h b/include/ftoutln.h
index 8c7c57d99..8c7c57d99 100644
--- a/include/freetype/ftoutln.h
+++ b/include/ftoutln.h
diff --git a/include/freetype/ftpfr.h b/include/ftpfr.h
index 0b7b7d427..0b7b7d427 100644
--- a/include/freetype/ftpfr.h
+++ b/include/ftpfr.h
diff --git a/include/freetype/ftrender.h b/include/ftrender.h
index dd0229b81..dd0229b81 100644
--- a/include/freetype/ftrender.h
+++ b/include/ftrender.h
diff --git a/include/freetype/ftsizes.h b/include/ftsizes.h
index 416704570..416704570 100644
--- a/include/freetype/ftsizes.h
+++ b/include/ftsizes.h
diff --git a/include/freetype/ftsnames.h b/include/ftsnames.h
index 88af44035..88af44035 100644
--- a/include/freetype/ftsnames.h
+++ b/include/ftsnames.h
diff --git a/include/freetype/ftstroke.h b/include/ftstroke.h
index a498e4a88..a498e4a88 100644
--- a/include/freetype/ftstroke.h
+++ b/include/ftstroke.h
diff --git a/include/freetype/ftsynth.h b/include/ftsynth.h
index 839ab5e40..839ab5e40 100644
--- a/include/freetype/ftsynth.h
+++ b/include/ftsynth.h
diff --git a/include/freetype/ftsystem.h b/include/ftsystem.h
index e07460c55..e07460c55 100644
--- a/include/freetype/ftsystem.h
+++ b/include/ftsystem.h
diff --git a/include/freetype/fttrigon.h b/include/fttrigon.h
index 65143cb8c..65143cb8c 100644
--- a/include/freetype/fttrigon.h
+++ b/include/fttrigon.h
diff --git a/include/freetype/ftttdrv.h b/include/ftttdrv.h
index 8d9c16c19..8d9c16c19 100644
--- a/include/freetype/ftttdrv.h
+++ b/include/ftttdrv.h
diff --git a/include/freetype/fttypes.h b/include/fttypes.h
index bd944a493..bd944a493 100644
--- a/include/freetype/fttypes.h
+++ b/include/fttypes.h
diff --git a/include/freetype/ftwinfnt.h b/include/ftwinfnt.h
index 0b6735179..0b6735179 100644
--- a/include/freetype/ftwinfnt.h
+++ b/include/ftwinfnt.h
diff --git a/include/freetype/ftxf86.h b/include/ftxf86.h
index 493cccdd0..493cccdd0 100644
--- a/include/freetype/ftxf86.h
+++ b/include/ftxf86.h
diff --git a/include/freetype/internal/autohint.h b/include/internal/autohint.h
index 545de938c..545de938c 100644
--- a/include/freetype/internal/autohint.h
+++ b/include/internal/autohint.h
diff --git a/include/freetype/internal/ftcalc.h b/include/internal/ftcalc.h
index 03bd68eb1..03bd68eb1 100644
--- a/include/freetype/internal/ftcalc.h
+++ b/include/internal/ftcalc.h
diff --git a/include/freetype/internal/ftdebug.h b/include/internal/ftdebug.h
index 58a3916d7..58a3916d7 100644
--- a/include/freetype/internal/ftdebug.h
+++ b/include/internal/ftdebug.h
diff --git a/include/freetype/internal/ftdriver.h b/include/internal/ftdriver.h
index 940218e62..940218e62 100644
--- a/include/freetype/internal/ftdriver.h
+++ b/include/internal/ftdriver.h
diff --git a/include/freetype/internal/ftgloadr.h b/include/internal/ftgloadr.h
index ce4dc6c9c..ce4dc6c9c 100644
--- a/include/freetype/internal/ftgloadr.h
+++ b/include/internal/ftgloadr.h
diff --git a/include/freetype/internal/ftmemory.h b/include/internal/ftmemory.h
index 3d51aeec6..3d51aeec6 100644
--- a/include/freetype/internal/ftmemory.h
+++ b/include/internal/ftmemory.h
diff --git a/include/freetype/internal/ftobjs.h b/include/internal/ftobjs.h
index 701c850eb..701c850eb 100644
--- a/include/freetype/internal/ftobjs.h
+++ b/include/internal/ftobjs.h
diff --git a/include/freetype/internal/ftpic.h b/include/internal/ftpic.h
index 485ce7a24..485ce7a24 100644
--- a/include/freetype/internal/ftpic.h
+++ b/include/internal/ftpic.h
diff --git a/include/freetype/internal/ftrfork.h b/include/internal/ftrfork.h
index 6307f2d0c..6307f2d0c 100644
--- a/include/freetype/internal/ftrfork.h
+++ b/include/internal/ftrfork.h
diff --git a/include/freetype/internal/ftserv.h b/include/internal/ftserv.h
index cd5fbd0fa..1203ec812 100644
--- a/include/freetype/internal/ftserv.h
+++ b/include/internal/ftserv.h
@@ -734,24 +734,24 @@ FT_BEGIN_HEADER
* The header files containing the services.
*/
-#define FT_SERVICE_BDF_H <freetype/internal/services/svbdf.h>
-#define FT_SERVICE_CID_H <freetype/internal/services/svcid.h>
-#define FT_SERVICE_GLYPH_DICT_H <freetype/internal/services/svgldict.h>
-#define FT_SERVICE_GX_VALIDATE_H <freetype/internal/services/svgxval.h>
-#define FT_SERVICE_KERNING_H <freetype/internal/services/svkern.h>
-#define FT_SERVICE_MULTIPLE_MASTERS_H <freetype/internal/services/svmm.h>
-#define FT_SERVICE_OPENTYPE_VALIDATE_H <freetype/internal/services/svotval.h>
-#define FT_SERVICE_PFR_H <freetype/internal/services/svpfr.h>
-#define FT_SERVICE_POSTSCRIPT_CMAPS_H <freetype/internal/services/svpscmap.h>
-#define FT_SERVICE_POSTSCRIPT_INFO_H <freetype/internal/services/svpsinfo.h>
-#define FT_SERVICE_POSTSCRIPT_NAME_H <freetype/internal/services/svpostnm.h>
-#define FT_SERVICE_PROPERTIES_H <freetype/internal/services/svprop.h>
-#define FT_SERVICE_SFNT_H <freetype/internal/services/svsfnt.h>
-#define FT_SERVICE_TRUETYPE_ENGINE_H <freetype/internal/services/svtteng.h>
-#define FT_SERVICE_TT_CMAP_H <freetype/internal/services/svttcmap.h>
-#define FT_SERVICE_WINFNT_H <freetype/internal/services/svwinfnt.h>
-#define FT_SERVICE_XFREE86_NAME_H <freetype/internal/services/svxf86nm.h>
-#define FT_SERVICE_TRUETYPE_GLYF_H <freetype/internal/services/svttglyf.h>
+#define FT_SERVICE_BDF_H <internal/services/svbdf.h>
+#define FT_SERVICE_CID_H <internal/services/svcid.h>
+#define FT_SERVICE_GLYPH_DICT_H <internal/services/svgldict.h>
+#define FT_SERVICE_GX_VALIDATE_H <internal/services/svgxval.h>
+#define FT_SERVICE_KERNING_H <internal/services/svkern.h>
+#define FT_SERVICE_MULTIPLE_MASTERS_H <internal/services/svmm.h>
+#define FT_SERVICE_OPENTYPE_VALIDATE_H <internal/services/svotval.h>
+#define FT_SERVICE_PFR_H <internal/services/svpfr.h>
+#define FT_SERVICE_POSTSCRIPT_CMAPS_H <internal/services/svpscmap.h>
+#define FT_SERVICE_POSTSCRIPT_INFO_H <internal/services/svpsinfo.h>
+#define FT_SERVICE_POSTSCRIPT_NAME_H <internal/services/svpostnm.h>
+#define FT_SERVICE_PROPERTIES_H <internal/services/svprop.h>
+#define FT_SERVICE_SFNT_H <internal/services/svsfnt.h>
+#define FT_SERVICE_TRUETYPE_ENGINE_H <internal/services/svtteng.h>
+#define FT_SERVICE_TT_CMAP_H <internal/services/svttcmap.h>
+#define FT_SERVICE_WINFNT_H <internal/services/svwinfnt.h>
+#define FT_SERVICE_XFREE86_NAME_H <internal/services/svxf86nm.h>
+#define FT_SERVICE_TRUETYPE_GLYF_H <internal/services/svttglyf.h>
/* */
diff --git a/include/freetype/internal/ftstream.h b/include/internal/ftstream.h
index 266185832..266185832 100644
--- a/include/freetype/internal/ftstream.h
+++ b/include/internal/ftstream.h
diff --git a/include/freetype/internal/fttrace.h b/include/internal/fttrace.h
index a9d98b60a..a9d98b60a 100644
--- a/include/freetype/internal/fttrace.h
+++ b/include/internal/fttrace.h
diff --git a/include/freetype/internal/ftvalid.h b/include/internal/ftvalid.h
index 12ad03685..12ad03685 100644
--- a/include/freetype/internal/ftvalid.h
+++ b/include/internal/ftvalid.h
diff --git a/include/freetype/internal/internal.h b/include/internal/internal.h
index 262afcfa8..e0ddb06b7 100644
--- a/include/freetype/internal/internal.h
+++ b/include/internal/internal.h
@@ -24,28 +24,28 @@
/*************************************************************************/
-#define FT_INTERNAL_OBJECTS_H <freetype/internal/ftobjs.h>
-#define FT_INTERNAL_PIC_H <freetype/internal/ftpic.h>
-#define FT_INTERNAL_STREAM_H <freetype/internal/ftstream.h>
-#define FT_INTERNAL_MEMORY_H <freetype/internal/ftmemory.h>
-#define FT_INTERNAL_DEBUG_H <freetype/internal/ftdebug.h>
-#define FT_INTERNAL_CALC_H <freetype/internal/ftcalc.h>
-#define FT_INTERNAL_DRIVER_H <freetype/internal/ftdriver.h>
-#define FT_INTERNAL_TRACE_H <freetype/internal/fttrace.h>
-#define FT_INTERNAL_GLYPH_LOADER_H <freetype/internal/ftgloadr.h>
-#define FT_INTERNAL_SFNT_H <freetype/internal/sfnt.h>
-#define FT_INTERNAL_SERVICE_H <freetype/internal/ftserv.h>
-#define FT_INTERNAL_RFORK_H <freetype/internal/ftrfork.h>
-#define FT_INTERNAL_VALIDATE_H <freetype/internal/ftvalid.h>
-
-#define FT_INTERNAL_TRUETYPE_TYPES_H <freetype/internal/tttypes.h>
-#define FT_INTERNAL_TYPE1_TYPES_H <freetype/internal/t1types.h>
-
-#define FT_INTERNAL_POSTSCRIPT_AUX_H <freetype/internal/psaux.h>
-#define FT_INTERNAL_POSTSCRIPT_HINTS_H <freetype/internal/pshints.h>
-#define FT_INTERNAL_POSTSCRIPT_GLOBALS_H <freetype/internal/psglobal.h>
-
-#define FT_INTERNAL_AUTOHINT_H <freetype/internal/autohint.h>
+#define FT_INTERNAL_OBJECTS_H <internal/ftobjs.h>
+#define FT_INTERNAL_PIC_H <internal/ftpic.h>
+#define FT_INTERNAL_STREAM_H <internal/ftstream.h>
+#define FT_INTERNAL_MEMORY_H <internal/ftmemory.h>
+#define FT_INTERNAL_DEBUG_H <internal/ftdebug.h>
+#define FT_INTERNAL_CALC_H <internal/ftcalc.h>
+#define FT_INTERNAL_DRIVER_H <internal/ftdriver.h>
+#define FT_INTERNAL_TRACE_H <internal/fttrace.h>
+#define FT_INTERNAL_GLYPH_LOADER_H <internal/ftgloadr.h>
+#define FT_INTERNAL_SFNT_H <internal/sfnt.h>
+#define FT_INTERNAL_SERVICE_H <internal/ftserv.h>
+#define FT_INTERNAL_RFORK_H <internal/ftrfork.h>
+#define FT_INTERNAL_VALIDATE_H <internal/ftvalid.h>
+
+#define FT_INTERNAL_TRUETYPE_TYPES_H <internal/tttypes.h>
+#define FT_INTERNAL_TYPE1_TYPES_H <internal/t1types.h>
+
+#define FT_INTERNAL_POSTSCRIPT_AUX_H <internal/psaux.h>
+#define FT_INTERNAL_POSTSCRIPT_HINTS_H <internal/pshints.h>
+#define FT_INTERNAL_POSTSCRIPT_GLOBALS_H <internal/psglobal.h>
+
+#define FT_INTERNAL_AUTOHINT_H <internal/autohint.h>
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
diff --git a/include/freetype/internal/psaux.h b/include/internal/psaux.h
index e903114f8..e903114f8 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/internal/psaux.h
diff --git a/include/freetype/internal/pshints.h b/include/internal/pshints.h
index 3fb18dc2d..3fb18dc2d 100644
--- a/include/freetype/internal/pshints.h
+++ b/include/internal/pshints.h
diff --git a/include/freetype/internal/services/svbdf.h b/include/internal/services/svbdf.h
index 0974752a7..0974752a7 100644
--- a/include/freetype/internal/services/svbdf.h
+++ b/include/internal/services/svbdf.h
diff --git a/include/freetype/internal/services/svcid.h b/include/internal/services/svcid.h
index 6be3f9374..6be3f9374 100644
--- a/include/freetype/internal/services/svcid.h
+++ b/include/internal/services/svcid.h
diff --git a/include/freetype/internal/services/svgldict.h b/include/internal/services/svgldict.h
index 1d1253472..1d1253472 100644
--- a/include/freetype/internal/services/svgldict.h
+++ b/include/internal/services/svgldict.h
diff --git a/include/freetype/internal/services/svgxval.h b/include/internal/services/svgxval.h
index 2cdab5065..2cdab5065 100644
--- a/include/freetype/internal/services/svgxval.h
+++ b/include/internal/services/svgxval.h
diff --git a/include/freetype/internal/services/svkern.h b/include/internal/services/svkern.h
index 1488adf49..1488adf49 100644
--- a/include/freetype/internal/services/svkern.h
+++ b/include/internal/services/svkern.h
diff --git a/include/freetype/internal/services/svmm.h b/include/internal/services/svmm.h
index b08a663d6..b08a663d6 100644
--- a/include/freetype/internal/services/svmm.h
+++ b/include/internal/services/svmm.h
diff --git a/include/freetype/internal/services/svotval.h b/include/internal/services/svotval.h
index 970bbd575..970bbd575 100644
--- a/include/freetype/internal/services/svotval.h
+++ b/include/internal/services/svotval.h
diff --git a/include/freetype/internal/services/svpfr.h b/include/internal/services/svpfr.h
index 462786f9c..462786f9c 100644
--- a/include/freetype/internal/services/svpfr.h
+++ b/include/internal/services/svpfr.h
diff --git a/include/freetype/internal/services/svpostnm.h b/include/internal/services/svpostnm.h
index a76b4fe05..a76b4fe05 100644
--- a/include/freetype/internal/services/svpostnm.h
+++ b/include/internal/services/svpostnm.h
diff --git a/include/freetype/internal/services/svprop.h b/include/internal/services/svprop.h
index 22da0bbc6..22da0bbc6 100644
--- a/include/freetype/internal/services/svprop.h
+++ b/include/internal/services/svprop.h
diff --git a/include/freetype/internal/services/svpscmap.h b/include/internal/services/svpscmap.h
index 030948ea6..030948ea6 100644
--- a/include/freetype/internal/services/svpscmap.h
+++ b/include/internal/services/svpscmap.h
diff --git a/include/freetype/internal/services/svpsinfo.h b/include/internal/services/svpsinfo.h
index 4bfb50671..4bfb50671 100644
--- a/include/freetype/internal/services/svpsinfo.h
+++ b/include/internal/services/svpsinfo.h
diff --git a/include/freetype/internal/services/svsfnt.h b/include/internal/services/svsfnt.h
index d3835aa1c..d3835aa1c 100644
--- a/include/freetype/internal/services/svsfnt.h
+++ b/include/internal/services/svsfnt.h
diff --git a/include/freetype/internal/services/svttcmap.h b/include/internal/services/svttcmap.h
index 83994aaf8..4370f4c2d 100644
--- a/include/freetype/internal/services/svttcmap.h
+++ b/include/internal/services/svttcmap.h
@@ -7,7 +7,7 @@
/* Copyright 2003 by */
/* Masatake YAMATO, Redhat K.K. */
/* */
-/* Copyright 2003, 2008, 2009, 2012 by */
+/* Copyright 2003, 2008, 2009, 2012, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -47,7 +47,7 @@ FT_BEGIN_HEADER
/* <Fields> */
/* language :: */
/* The language ID used in Mac fonts. Definitions of values are in */
- /* freetype/ttnameid.h. */
+ /* `ttnameid.h'. */
/* */
/* format :: */
/* The cmap format. OpenType 1.5 defines the formats 0 (byte */
diff --git a/include/freetype/internal/services/svtteng.h b/include/internal/services/svtteng.h
index 58e02a6f9..58e02a6f9 100644
--- a/include/freetype/internal/services/svtteng.h
+++ b/include/internal/services/svtteng.h
diff --git a/include/freetype/internal/services/svttglyf.h b/include/internal/services/svttglyf.h
index 369eb8421..369eb8421 100644
--- a/include/freetype/internal/services/svttglyf.h
+++ b/include/internal/services/svttglyf.h
diff --git a/include/freetype/internal/services/svwinfnt.h b/include/internal/services/svwinfnt.h
index 57f7765d9..57f7765d9 100644
--- a/include/freetype/internal/services/svwinfnt.h
+++ b/include/internal/services/svwinfnt.h
diff --git a/include/freetype/internal/services/svxf86nm.h b/include/internal/services/svxf86nm.h
index ca5d884a8..ca5d884a8 100644
--- a/include/freetype/internal/services/svxf86nm.h
+++ b/include/internal/services/svxf86nm.h
diff --git a/include/freetype/internal/sfnt.h b/include/internal/sfnt.h
index 6b5e41f1a..6b5e41f1a 100644
--- a/include/freetype/internal/sfnt.h
+++ b/include/internal/sfnt.h
diff --git a/include/freetype/internal/t1types.h b/include/internal/t1types.h
index e20237c14..e20237c14 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/internal/t1types.h
diff --git a/include/freetype/internal/tttypes.h b/include/internal/tttypes.h
index f4da3f956..f4da3f956 100644
--- a/include/freetype/internal/tttypes.h
+++ b/include/internal/tttypes.h
diff --git a/include/freetype/t1tables.h b/include/t1tables.h
index a14255e5f..a14255e5f 100644
--- a/include/freetype/t1tables.h
+++ b/include/t1tables.h
diff --git a/include/freetype/ttnameid.h b/include/ttnameid.h
index 9711d1d94..9711d1d94 100644
--- a/include/freetype/ttnameid.h
+++ b/include/ttnameid.h
diff --git a/include/freetype/tttables.h b/include/tttables.h
index 8d4b202c1..a2077be1a 100644
--- a/include/freetype/tttables.h
+++ b/include/tttables.h
@@ -740,7 +740,7 @@ FT_BEGIN_HEADER
/* */
/* <Description> */
/* Return TrueType/sfnt specific cmap language ID. Definitions of */
- /* language ID values are in `freetype/ttnameid.h'. */
+ /* language ID values are in `ttnameid.h'. */
/* */
/* <Input> */
/* charmap :: */
diff --git a/include/freetype/tttags.h b/include/tttags.h
index d59aa19a3..d59aa19a3 100644
--- a/include/freetype/tttags.h
+++ b/include/tttags.h
diff --git a/include/freetype/ttunpat.h b/include/ttunpat.h
index a0162759b..a0162759b 100644
--- a/include/freetype/ttunpat.h
+++ b/include/ttunpat.h
diff --git a/modules.cfg b/modules.cfg
index a85378ee7..4e5259445 100644
--- a/modules.cfg
+++ b/modules.cfg
@@ -1,6 +1,6 @@
# modules.cfg
#
-# Copyright 2005-2007, 2009-2011 by
+# Copyright 2005-2007, 2009-2011, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -19,7 +19,7 @@
# activate a module, remove the comment character.
#
# Note that many modules and components are further controlled with macros
-# in the file `include/freetype/config/ftoption.h'.
+# in the file `include/config/ftoption.h'.
####
@@ -85,7 +85,7 @@ HINTING_MODULES += autofit
HINTING_MODULES += pshinter
# The TrueType hinting engine doesn't have a module of its own but is
-# controlled in file include/freetype/config/ftoption.h
+# controlled in file include/config/ftoption.h
# (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends).
@@ -106,7 +106,7 @@ RASTER_MODULES += smooth
# FreeType's cache sub-system (quite stable but still in beta -- this means
# that its public API is subject to change if necessary). See
-# include/freetype/ftcache.h. Needs ftglyph.c.
+# include/ftcache.h. Needs ftglyph.c.
AUX_MODULES += cache
# TrueType GX/AAT table validation. Needs ftgxval.c below.
@@ -114,17 +114,17 @@ AUX_MODULES += cache
# Support for streams compressed with gzip (files with suffix .gz).
#
-# See include/freetype/ftgzip.h for the API.
+# See include/ftgzip.h for the API.
AUX_MODULES += gzip
# Support for streams compressed with LZW (files with suffix .Z).
#
-# See include/freetype/ftlzw.h for the API.
+# See include/ftlzw.h for the API.
AUX_MODULES += lzw
# Support for streams compressed with bzip2 (files with suffix .bz2).
#
-# See include/freetype/ftbzip2.h for the API.
+# See include/ftbzip2.h for the API.
AUX_MODULES += bzip2
# OpenType table validation. Needs ftotval.c below.
@@ -149,95 +149,95 @@ AUX_MODULES += psnames
# Exact bounding box calculation.
#
-# See include/freetype/ftbbox.h for the API.
+# See include/ftbbox.h for the API.
BASE_EXTENSIONS += ftbbox.c
# Access BDF-specific strings. Needs BDF font driver.
#
-# See include/freetype/ftbdf.h for the API.
+# See include/ftbdf.h for the API.
BASE_EXTENSIONS += ftbdf.c
# Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into
# 8bpp format, and for emboldening of bitmap glyphs.
#
-# See include/freetype/ftbitmap.h for the API.
+# See include/ftbitmap.h for the API.
BASE_EXTENSIONS += ftbitmap.c
# Access CID font information.
#
-# See include/freetype/ftcid.h for the API.
+# See include/ftcid.h for the API.
BASE_EXTENSIONS += ftcid.c
# Access FSType information. Needs fttype1.c.
#
-# See include/freetype/freetype.h for the API.
+# See include/freetype.h for the API.
BASE_EXTENSIONS += ftfstype.c
# Support for GASP table queries.
#
-# See include/freetype/ftgasp.h for the API.
+# See include/ftgasp.h for the API.
BASE_EXTENSIONS += ftgasp.c
# Convenience functions to handle glyphs. Needs ftbitmap.c.
#
-# See include/freetype/ftglyph.h for the API.
+# See include/ftglyph.h for the API.
BASE_EXTENSIONS += ftglyph.c
# Interface for gxvalid module.
#
-# See include/freetype/ftgxval.h for the API.
+# See include/ftgxval.h for the API.
BASE_EXTENSIONS += ftgxval.c
# Support for LCD color filtering of subpixel bitmaps.
#
-# See include/freetype/ftlcdfil.h for the API.
+# See include/ftlcdfil.h for the API.
BASE_EXTENSIONS += ftlcdfil.c
# Multiple Master font interface.
#
-# See include/freetype/ftmm.h for the API.
+# See include/ftmm.h for the API.
BASE_EXTENSIONS += ftmm.c
# Interface for otvalid module.
#
-# See include/freetype/ftotval.h for the API.
+# See include/ftotval.h for the API.
BASE_EXTENSIONS += ftotval.c
# Support for FT_Face_CheckTrueTypePatents.
#
-# See include/freetype/freetype.h for the API.
+# See include/freetype.h for the API.
BASE_EXTENSIONS += ftpatent.c
# Interface for accessing PFR-specific data. Needs PFR font driver.
#
-# See include/freetype/ftpfr.h for the API.
+# See include/ftpfr.h for the API.
BASE_EXTENSIONS += ftpfr.c
# Path stroker. Needs ftglyph.c.
#
-# See include/freetype/ftstroke.h for the API.
+# See include/ftstroke.h for the API.
BASE_EXTENSIONS += ftstroke.c
# Support for synthetic embolding and slanting of fonts. Needs ftbitmap.c.
#
-# See include/freetype/ftsynth.h for the API.
+# See include/ftsynth.h for the API.
BASE_EXTENSIONS += ftsynth.c
# Interface to access data specific to PostScript Type 1 and Type 2 (CFF)
# fonts.
#
-# See include/freetype/t1tables.h for the API.
+# See include/t1tables.h for the API.
BASE_EXTENSIONS += fttype1.c
# Interface for accessing data specific to Windows FNT files. Needs winfnt
# driver.
#
-# See include/freetype/ftwinfnt.h for the API.
+# See include/ftwinfnt.h for the API.
BASE_EXTENSIONS += ftwinfnt.c
# Support functions for X11.
#
-# See include/freetype/ftxf86.h for the API.
+# See include/ftxf86.h for the API.
BASE_EXTENSIONS += ftxf86.c
####
diff --git a/src/Jamfile b/src/Jamfile
index 76ee0f46e..1cc06858c 100644
--- a/src/Jamfile
+++ b/src/Jamfile
@@ -1,6 +1,6 @@
# FreeType 2 src Jamfile
#
-# Copyright 2001, 2002 by
+# Copyright 2001, 2002, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -11,7 +11,7 @@
SubDir FT2_TOP $(FT2_SRC_DIR) ;
-# The file <freetype/internal/internal.h> is used to define macros that are
+# The file <internal/internal.h> is used to define macros that are
# later used in #include statements. It needs to be parsed in order to
# record these definitions.
#
diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c
index b9156d15e..39ac6add0 100644
--- a/src/base/ftdebug.c
+++ b/src/base/ftdebug.c
@@ -152,7 +152,7 @@
/* the memory and stream components which are set to 7 and 5, */
/* respectively. */
/* */
- /* See the file <include/freetype/internal/fttrace.h> for details of the */
+ /* See the file <include/internal/fttrace.h> for details of the */
/* available toggle names. */
/* */
/* The level must be between 0 and 7; 0 means quiet (except for serious */
diff --git a/src/base/ftinit.c b/src/base/ftinit.c
index 85f321fd2..6176273f0 100644
--- a/src/base/ftinit.c
+++ b/src/base/ftinit.c
@@ -23,8 +23,8 @@
/* FT_Add_Default_Modules(): */
/* This function is used to add the set of default modules to a */
/* fresh new library object. The set is taken from the header file */
- /* `freetype/config/ftmodule.h'. See the document `FreeType 2.0 */
- /* Build System' for more information. */
+ /* `config/ftmodule.h'. See the document `FreeType 2.0 Build */
+ /* System' for more information. */
/* */
/* FT_Init_FreeType(): */
/* This function creates a system object for the current platform, */
diff --git a/src/base/rules.mk b/src/base/rules.mk
index e93219115..874533754 100644
--- a/src/base/rules.mk
+++ b/src/base/rules.mk
@@ -19,8 +19,8 @@
# BASE_OBJ_S: The single-object base layer.
# BASE_OBJ_M: A list of all objects for a multiple-objects build.
# BASE_EXT_OBJ: A list of base layer extensions, i.e., components found
-# in `freetype/src/base' which are not compiled within the
-# base layer proper.
+# in `src/base' which are not compiled within the base
+# layer proper.
BASE_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(SRC_DIR)/base)
diff --git a/src/cache/Jamfile b/src/cache/Jamfile
index 340cff774..656399137 100644
--- a/src/cache/Jamfile
+++ b/src/cache/Jamfile
@@ -1,6 +1,6 @@
# FreeType 2 src/cache Jamfile
#
-# Copyright 2001, 2003, 2004 by
+# Copyright 2001, 2003, 2004, 2013 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -11,7 +11,7 @@
SubDir FT2_TOP $(FT2_SRC_DIR) cache ;
-# The file <freetype/ftcache.h> contains some macro definitions that are
+# The file <ftcache.h> contains some macro definitions that are
# later used in #include statements related to the cache sub-system. It
# needs to be parsed through a HDRMACRO rule for macro definitions.
#
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index bbd503d97..8aa11133a 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -24,8 +24,8 @@
/* */
/* - copy `src/raster/ftraster.c' (this file) to your current directory */
/* */
- /* - copy `include/freetype/ftimage.h' and `src/raster/ftmisc.h' */
- /* to your current directory */
+ /* - copy `include/ftimage.h' and `src/raster/ftmisc.h' to your current */
+ /* directory */
/* */
/* - compile `ftraster' with the _STANDALONE_ macro defined, as in */
/* */
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 5262da5cd..2c51e9f6e 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -24,8 +24,8 @@
/* */
/* - copy `src/smooth/ftgrays.c' (this file) to your current directory */
/* */
- /* - copy `include/freetype/ftimage.h' and `src/smooth/ftgrays.h' to the */
- /* same directory */
+ /* - copy `include/ftimage.h' and `src/smooth/ftgrays.h' to the same */
+ /* directory */
/* */
/* - compile `ftgrays' with the _STANDALONE_ macro defined, as in */
/* */
diff --git a/src/tools/chktrcmp.py b/src/tools/chktrcmp.py
index d0f342e6b..ce6500c7e 100755
--- a/src/tools/chktrcmp.py
+++ b/src/tools/chktrcmp.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#
# Check trace components in FreeType 2 source.
-# Author: suzuki toshiya, 2009
+# Author: suzuki toshiya, 2009, 2013
#
# This code is explicitly into the public domain.
@@ -15,7 +15,7 @@ USED_COMPONENT = {}
KNOWN_COMPONENT = {}
SRC_FILE_DIRS = [ "src" ]
-TRACE_DEF_FILES = [ "include/freetype/internal/fttrace.h" ]
+TRACE_DEF_FILES = [ "include/internal/fttrace.h" ]
# --------------------------------------------------------------
diff --git a/vms_make.com b/vms_make.com
index 1aa83e7e3..8d8fdf771 100644
--- a/vms_make.com
+++ b/vms_make.com
@@ -1,6 +1,6 @@
$! make Freetype2 under OpenVMS
$!
-$! Copyright 2003, 2004, 2006, 2007 by
+$! Copyright 2003, 2004, 2006, 2007, 2013 by
$! David Turner, Robert Wilhelm, and Werner Lemberg.
$!
$! This file is part of the FreeType project, and may only be used, modified,
@@ -172,7 +172,7 @@ $ deck
all :
- define freetype [--.include.freetype]
+ define freetype [--.include]
define psaux [-.psaux]
define autofit [-.autofit]
define autohint [-.autohint]