diff --git a/ChangeLog b/ChangeLog
index 58b6a1671..04394f9ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2011-07-29 Werner Lemberg This directory contains project files for Visual C++, named
freetype.vcproj, and Visual Studio, called freetype.sln. It
-compiles the following libraries from the FreeType 2.4.5 sources:
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_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/vc2008/freetype.vcproj b/builds/win32/vc2008/freetype.vcproj
index 5d798a932..7dad23118 100644
--- a/builds/win32/vc2008/freetype.vcproj
+++ b/builds/win32/vc2008/freetype.vcproj
@@ -70,7 +70,7 @@
/>
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_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/vc2010/freetype.vcxproj b/builds/win32/vc2010/freetype.vcxproj
index 1c2316244..15e701589 100644
--- a/builds/win32/vc2010/freetype.vcxproj
+++ b/builds/win32/vc2010/freetype.vcxproj
@@ -95,12 +95,12 @@
This directory contains a project file for Visual C++, named
freetype.vcxproj, and Visual Studio, called freetype.sln. It
-compiles the following libraries from the FreeType 2.4.5 sources:
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_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/visualc/freetype.dsp b/builds/win32/visualc/freetype.dsp
index a2d3ac877..268696760 100644
--- a/builds/win32/visualc/freetype.dsp
+++ b/builds/win32/visualc/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\freetype245.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246.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\freetype245_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246_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\freetype245_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245MT_D.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype246_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246MT_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\freetype245.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245MT.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype246.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246MT.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\freetype245.lib"
-# ADD LIB32 /out:"..\..\..\objs\freetype245ST.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype246.lib"
+# ADD LIB32 /out:"..\..\..\objs\freetype246ST.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\freetype245_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245ST_D.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype246_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246ST_D.lib"
!ENDIF
diff --git a/builds/win32/visualc/freetype.vcproj b/builds/win32/visualc/freetype.vcproj
index b6e99cf63..8ec4df665 100644
--- a/builds/win32/visualc/freetype.vcproj
+++ b/builds/win32/visualc/freetype.vcproj
@@ -69,7 +69,7 @@
/>
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_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 a2d3ac877..268696760 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\freetype245.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246.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\freetype245_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246_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\freetype245_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245MT_D.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype246_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246MT_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\freetype245.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245MT.lib"
+# ADD BASE LIB32 /nologo /out:"lib\freetype246.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246MT.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\freetype245.lib"
-# ADD LIB32 /out:"..\..\..\objs\freetype245ST.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype246.lib"
+# ADD LIB32 /out:"..\..\..\objs\freetype246ST.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\freetype245_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype245ST_D.lib"
+# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype246_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype246ST_D.lib"
!ENDIF
diff --git a/builds/win32/visualce/freetype.vcproj b/builds/win32/visualce/freetype.vcproj
index 47b3eb728..46426866d 100644
--- a/builds/win32/visualce/freetype.vcproj
+++ b/builds/win32/visualce/freetype.vcproj
@@ -87,7 +87,7 @@
/>
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_D.lib - debug build; multi-threaded
Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
diff --git a/builds/wince/vc2005-ce/freetype.vcproj b/builds/wince/vc2005-ce/freetype.vcproj
index 761c7af9f..4267cc20c 100644
--- a/builds/wince/vc2005-ce/freetype.vcproj
+++ b/builds/wince/vc2005-ce/freetype.vcproj
@@ -21,7 +21,7 @@
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_D.lib - debug build; multi-threaded
Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
diff --git a/builds/wince/vc2008-ce/freetype.vcproj b/builds/wince/vc2008-ce/freetype.vcproj
index 548d19979..85b5c114a 100644
--- a/builds/wince/vc2008-ce/freetype.vcproj
+++ b/builds/wince/vc2008-ce/freetype.vcproj
@@ -88,7 +88,7 @@
/>
- freetype245.lib - release build; single threaded - freetype245_D.lib - debug build; single threaded - freetype245MT.lib - release build; multi-threaded - freetype245MT_D.lib - debug build; multi-threaded+ freetype246.lib - release build; single threaded + freetype246_D.lib - debug build; single threaded + freetype246MT.lib - release build; multi-threaded + freetype246MT_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 d09410088..70ce80081 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,7 +1,16 @@ -CHANGES BETWEEN 2.4.4 and 2.4.5 +CHANGES BETWEEN 2.4.5 and 2.4.6 I. IMPORTANT BUG FIXES + - For TrueType based fonts, the ascender and descender values were + incorrect sometimes (off by a pixel if the ppem value was not a + multiple of 5). Depending on the use you might now experience + a different layout; the change should result in better, more + consistent line spacing. + + - Fix CVE-2011-0226 which causes a vulnerability while handling + Type 1 fonts. + - BDF fonts containing glyphs with negative values for ENCODING were incorrectly rejected. This bug has been introduced in FreeType version 2.2.0. diff --git a/docs/VERSION.DLL b/docs/VERSION.DLL index 8c5992606..36bede99f 100644 --- a/docs/VERSION.DLL +++ b/docs/VERSION.DLL @@ -53,6 +53,7 @@ systems, but not all of them: release libtool so ------------------------------- + 2.4.6 13.1.7 6.7.1 2.4.5 13.0.7 6.7.0 2.4.4 12.2.6 6.6.2 2.4.3 12.1.6 6.6.1 diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index c506b3cec..660b3032d 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -3810,7 +3810,7 @@ FT_BEGIN_HEADER */ #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 4 -#define FREETYPE_PATCH 5 +#define FREETYPE_PATCH 6 /*************************************************************************/