From 6845a4fb0147117e8517d66f18792ca7acdbe06e Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Tue, 26 Mar 2013 08:57:05 +0200 Subject: Update bundled FreeType sources to 2.3.12 Most important changes: * SFNT cmap 13 table format support; * fixed glitches when rasterizing stretched TTF (xsize!=ysize); * various fixes in Type1, CFF, and PCF drivers Change-Id: Ib9e2210ffbd0daa2fdbf518ea87f4be502de6b48 Reviewed-by: Thiago Macieira Reviewed-by: Lars Knoll --- src/3rdparty/freetype/docs/CHANGES | 79 ++++ src/3rdparty/freetype/docs/DEBUG | 7 +- src/3rdparty/freetype/docs/INSTALL.ANY | 10 +- src/3rdparty/freetype/docs/LICENSE.TXT | 9 +- src/3rdparty/freetype/docs/VERSION.DLL | 5 +- .../docs/reference/ft2-base_interface.html | 162 ++++++- .../freetype/docs/reference/ft2-basic_types.html | 229 +++++++++- .../freetype/docs/reference/ft2-bdf_fonts.html | 12 +- .../docs/reference/ft2-bitmap_handling.html | 4 +- .../docs/reference/ft2-cache_subsystem.html | 76 +++- .../freetype/docs/reference/ft2-cid_fonts.html | 4 +- .../freetype/docs/reference/ft2-computations.html | 44 +- .../freetype/docs/reference/ft2-font_formats.html | 5 +- .../freetype/docs/reference/ft2-gasp_table.html | 4 +- .../docs/reference/ft2-glyph_management.html | 30 +- .../freetype/docs/reference/ft2-glyph_stroker.html | 14 +- .../docs/reference/ft2-glyph_variants.html | 4 +- .../freetype/docs/reference/ft2-gx_validation.html | 12 +- src/3rdparty/freetype/docs/reference/ft2-gzip.html | 4 +- .../docs/reference/ft2-header_file_macros.html | 214 ++++++++- .../freetype/docs/reference/ft2-incremental.html | 42 +- .../freetype/docs/reference/ft2-index.html | 494 ++++++++++----------- .../freetype/docs/reference/ft2-lcd_filtering.html | 4 +- .../docs/reference/ft2-list_processing.html | 20 +- src/3rdparty/freetype/docs/reference/ft2-lzw.html | 4 +- .../freetype/docs/reference/ft2-mac_specific.html | 4 +- .../docs/reference/ft2-module_management.html | 5 +- .../docs/reference/ft2-multiple_masters.html | 4 +- .../freetype/docs/reference/ft2-ot_validation.html | 4 +- .../docs/reference/ft2-outline_processing.html | 37 +- .../freetype/docs/reference/ft2-pfr_fonts.html | 4 +- .../freetype/docs/reference/ft2-quick_advance.html | 12 +- .../freetype/docs/reference/ft2-raster.html | 16 +- .../freetype/docs/reference/ft2-sfnt_names.html | 50 ++- .../docs/reference/ft2-sizes_management.html | 4 +- .../docs/reference/ft2-system_interface.html | 20 +- src/3rdparty/freetype/docs/reference/ft2-toc.html | 6 +- .../docs/reference/ft2-truetype_engine.html | 4 +- .../docs/reference/ft2-truetype_tables.html | 12 +- .../freetype/docs/reference/ft2-type1_tables.html | 60 ++- .../docs/reference/ft2-user_allocation.html | 4 +- .../freetype/docs/reference/ft2-version.html | 6 +- .../freetype/docs/reference/ft2-winfnt_fonts.html | 12 +- src/3rdparty/freetype/docs/release | 89 ++-- 44 files changed, 1459 insertions(+), 386 deletions(-) (limited to 'src/3rdparty/freetype/docs') diff --git a/src/3rdparty/freetype/docs/CHANGES b/src/3rdparty/freetype/docs/CHANGES index 9eb68c2924..018d16c577 100644 --- a/src/3rdparty/freetype/docs/CHANGES +++ b/src/3rdparty/freetype/docs/CHANGES @@ -1,3 +1,82 @@ +CHANGES BETWEEN 2.3.11 and 2.3.12 + + I. IMPORTANT CHANGES + + - For `FT_Open_Face', new parameters are available to ignore + preferred family names: FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY and + FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY. + + II. MISCELLANEOUS + + - Support for incremental font loading (controlled with the + FT_CONFIG_OPTION_INCREMENTAL macro) is now active by default. + + - Better support for vertical metrics. + + - Various minor bug fixes. + + +====================================================================== + +CHANGES BETWEEN 2.3.10 and 2.3.11 + + I. IMPORTANT BUG FIXES + + - Version 2.3.10 broke PCF support. + + +====================================================================== + +CHANGES BETWEEN 2.3.10 and 2.3.9 + + I. IMPORTANT BUG FIXES + + - If all ASCII digits in a font have the same (unscaled) width, + the autohinter respects this and won't change it. + + - TrueType fonts are now rasterized correctly if the horizontal + and vertical resolution differ. + + - Type 1 fonts are now handled with increased precision internally + to avoid serious rounding issues if non-integral coordinates are + encountered. + + - Horizontally condensed CFF fonts (using the font matrix) were + rendered incorrectly. This bug has been introduced after + release 2.3.5. + + + II. IMPORTANT CHANGES + + - Support for the SFNT cmap 13 table format (as defined by the new + OpenType 1.6 specification) has been added. + + - B/W rasterization of well-hinted TrueType fonts at small sizes + has been greatly improved. + + - Calculation of vertical metrics in OpenType fonts has been + improved. + + + III. MISCELLANEOUS + + - It is now possible to change the emboldening factor in the + `ftview' demo program with keys `e' and `E'. + + - It is now possible to change the slant value in the `ftview' + demo program with keys `s' and `S'. + + - The 5-levels grayscale mode of the `ftraster' module (which + FreeType doesn't use by default) was broken since version 2.3.0. + + - Compilation of the `ftgrays' and `ftraster' modules was broken + in stand-alone mode. + + - Various fixes for compilation on 64bit and 16bit architectures. + + +====================================================================== + CHANGES BETWEEN 2.3.9 and 2.3.8 I. IMPORTANT BUG FIXES diff --git a/src/3rdparty/freetype/docs/DEBUG b/src/3rdparty/freetype/docs/DEBUG index 1fccc21c46..3d6acd3bb0 100644 --- a/src/3rdparty/freetype/docs/DEBUG +++ b/src/3rdparty/freetype/docs/DEBUG @@ -92,7 +92,10 @@ its code: 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'. + 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. Each such component is assigned a `debug level', ranging from 0 to 7, through the use of the FT2_DEBUG environment variable @@ -186,7 +189,7 @@ behaviour of FreeType at runtime. ------------------------------------------------------------------------ -Copyright 2002, 2003, 2004, 2005 by +Copyright 2002, 2003, 2004, 2005, 2009 by David Turner, Robert Wilhelm, and Werner Lemberg. This file is part of the FreeType project, and may only be used, diff --git a/src/3rdparty/freetype/docs/INSTALL.ANY b/src/3rdparty/freetype/docs/INSTALL.ANY index 86e94d585f..44b785c67e 100644 --- a/src/3rdparty/freetype/docs/INSTALL.ANY +++ b/src/3rdparty/freetype/docs/INSTALL.ANY @@ -127,10 +127,10 @@ II. Support for flat-directory compilation 2. Compile sources - cc -c -Ifreetype2/include ftsystem.c - cc -c -Ifreetype2/include ftinit.c - cc -c -Ifreetype2/include ftdebug.c - cc -c -Ifreetype2/include ftbase.c + cc -c -Ifreetype2/include -DFT2_BUILD_LIBRARY ftsystem.c + cc -c -Ifreetype2/include -DFT2_BUILD_LIBRARY ftinit.c + cc -c -Ifreetype2/include -DFT2_BUILD_LIBRARY ftdebug.c + cc -c -Ifreetype2/include -DFT2_BUILD_LIBRARY ftbase.c etc. You don't need to define the FT_FLAT_COMPILATION macro (as this @@ -138,7 +138,7 @@ II. Support for flat-directory compilation ---------------------------------------------------------------------- -Copyright 2003, 2005, 2006, 2009 by +Copyright 2003, 2005, 2006, 2009, 2010 by David Turner, Robert Wilhelm, and Werner Lemberg. This file is part of the FreeType project, and may only be used, diff --git a/src/3rdparty/freetype/docs/LICENSE.TXT b/src/3rdparty/freetype/docs/LICENSE.TXT index 102a03d651..abebbcc780 100644 --- a/src/3rdparty/freetype/docs/LICENSE.TXT +++ b/src/3rdparty/freetype/docs/LICENSE.TXT @@ -20,9 +20,12 @@ any of your projects or products. GPL. Note that the FTL is incompatible with the GPL due to its advertisement clause. -The contributed PCF driver comes with a license similar to that of the X -Window System. It is compatible to the above two licenses (see file -src/pcf/readme). +The contributed BDF and PCF drivers come with a license similar to that +of the X Window System. It is compatible to the above two licenses (see +file src/bdf/README and src/pcf/README). + +The gzip module uses the zlib license (see src/gzip/zlib.h) which too is +compatible to the above two licenses. --- end of LICENSE.TXT --- diff --git a/src/3rdparty/freetype/docs/VERSION.DLL b/src/3rdparty/freetype/docs/VERSION.DLL index 6b028b12f9..bb55c3dda9 100644 --- a/src/3rdparty/freetype/docs/VERSION.DLL +++ b/src/3rdparty/freetype/docs/VERSION.DLL @@ -53,6 +53,9 @@ systems, but not all of them: release libtool so ------------------------------- + 2.3.12 10.0.4 6.4.0 + 2.3.11 9.22.3 6.3.22 + 2.3.10 9.21.3 6.3.21 2.3.9 9.20.3 6.3.20 2.3.8 9.19.3 6.3.19 2.3.7 9.18.3 6.3.18 @@ -122,7 +125,7 @@ other release numbers. ------------------------------------------------------------------------ -Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by +Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by David Turner, Robert Wilhelm, and Werner Lemberg. This file is part of the FreeType project, and may only be used, diff --git a/src/3rdparty/freetype/docs/reference/ft2-base_interface.html b/src/3rdparty/freetype/docs/reference/ft2-base_interface.html index 27f454b675..08f2a81b84 100644 --- a/src/3rdparty/freetype/docs/reference/ft2-base_interface.html +++ b/src/3rdparty/freetype/docs/reference/ft2-base_interface.html @@ -3,7 +3,7 @@ -FreeType-2.3.9 API Reference +FreeType-2.3.12 API Reference