diff --git a/ChangeLog b/ChangeLog
index 671862c1c..809613628 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2008-06-10 Werner Lemberg
- freetype235.lib - release build; single threaded - freetype235_D.lib - debug build; single threaded - freetype235MT.lib - release build; multi-threaded - freetype235MT_D.lib - debug build; multi-threaded+ freetype236.lib - release build; single threaded + freetype236_D.lib - debug build; single threaded + freetype236MT.lib - release build; multi-threaded + freetype236MT_D.lib - debug build; multi-threaded
Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
diff --git a/builds/win32/visualce/freetype.dsp b/builds/win32/visualce/freetype.dsp
index 4d83de346..c8b76e8f5 100644
--- a/builds/win32/visualce/freetype.dsp
+++ b/builds/win32/visualce/freetype.dsp
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype235.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Debug"
@@ -78,7 +78,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype235_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Debug Multithreaded"
@@ -102,8 +102,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo /out:"lib\freetype235_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype235MT_D.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype236_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT_D.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Release Multithreaded"
@@ -126,8 +126,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo /out:"lib\freetype235.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype235MT.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype236.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Release Singlethreaded"
@@ -151,8 +151,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype235.lib"
-# ADD LIB32 /out:"..\..\..\objs\freetype235ST.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236.lib"
+# ADD LIB32 /out:"..\..\..\objs\freetype236ST.lib"
# SUBTRACT LIB32 /nologo
!ELSEIF "$(CFG)" == "freetype - Win32 Debug Singlethreaded"
@@ -177,8 +177,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype235_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype235ST_D.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236ST_D.lib"
!ENDIF
diff --git a/builds/win32/visualce/freetype.vcproj b/builds/win32/visualce/freetype.vcproj
index c9c176750..109542feb 100644
--- a/builds/win32/visualce/freetype.vcproj
+++ b/builds/win32/visualce/freetype.vcproj
@@ -87,7 +87,7 @@
/>
- freetype235.lib - release build; single threaded - freetype235_D.lib - debug build; single threaded - freetype235MT.lib - release build; multi-threaded - freetype235MT_D.lib - debug build; multi-threaded+ freetype236.lib - release build; single threaded + freetype236_D.lib - debug build; single threaded + freetype236MT.lib - release build; multi-threaded + freetype236MT_D.lib - debug build; multi-threaded
Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
diff --git a/docs/CHANGES b/docs/CHANGES
index f163b4374..8129ec7fb 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -3,6 +3,9 @@ CHANGES BETWEEN 2.3.6 and 2.3.5
I. IMPORTANT BUG FIXES
+ - A bunch of potential security problems have been found. All
+ users should update.
+
- Microsoft Unicode cmaps in TrueType fonts are now always
preferred over Apple cmaps. This is not a bug per se, but there
exist some buggy fonts created for MS which have broken Apple
@@ -50,6 +53,11 @@ CHANGES BETWEEN 2.3.6 and 2.3.5
- Debugging output of the various FT_TRACEX macros is now sent to
stderr.
+ - The `ftview' demo program now provides artificial slanting too.
+
+ - The `ftvalid' demo program has a new option `-f' to select the
+ font index.
+
======================================================================
diff --git a/docs/VERSION.DLL b/docs/VERSION.DLL
index db8de0e89..527543147 100644
--- a/docs/VERSION.DLL
+++ b/docs/VERSION.DLL
@@ -53,6 +53,7 @@ systems, but not all of them:
release libtool so
-------------------------------
+ 2.3.6 9.17.3 6.3.17
2.3.5 9.16.3 6.3.16
2.3.4 9.15.3 6.3.15
2.3.3 9.14.3 6.3.14
@@ -118,7 +119,7 @@ other release numbers.
------------------------------------------------------------------------
-Copyright 2002, 2003, 2004, 2005, 2006, 2007 by
+Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index ec28d24a1..32d531945 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -3601,7 +3601,7 @@ FT_BEGIN_HEADER
*/
#define FREETYPE_MAJOR 2
#define FREETYPE_MINOR 3
-#define FREETYPE_PATCH 5
+#define FREETYPE_PATCH 6
/*************************************************************************/
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h
index 0e33709c3..67b7a420c 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -564,9 +564,6 @@ FT_BEGIN_HEADER
FT_Vector last;
- FT_Fixed scale_x; /* obsolete */
- FT_Fixed scale_y; /* obsolete */
-
FT_Pos pos_x;
FT_Pos pos_y;
diff --git a/src/cff/cffgload.h b/src/cff/cffgload.h
index f4f774078..d661f9e70 100644
--- a/src/cff/cffgload.h
+++ b/src/cff/cffgload.h
@@ -90,9 +90,6 @@ FT_BEGIN_HEADER
FT_Vector last;
- FT_Fixed scale_x; /* obsolete */
- FT_Fixed scale_y; /* obsolete */
-
FT_Pos pos_x;
FT_Pos pos_y;
diff --git a/src/cff/cffobjs.h b/src/cff/cffobjs.h
index 87bd767ad..3c81cee00 100644
--- a/src/cff/cffobjs.h
+++ b/src/cff/cffobjs.h
@@ -25,6 +25,7 @@
#include "cfftypes.h"
#include FT_INTERNAL_TRUETYPE_TYPES_H
#include FT_SERVICE_POSTSCRIPT_CMAPS_H
+#include FT_INTERNAL_POSTSCRIPT_HINTS_H
FT_BEGIN_HEADER
diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index ce207bcca..d6d77dd08 100644
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -19,6 +19,7 @@
#include