Skip to content
Permalink
Browse files
8247867: Upgrade to freetype 2.10.2
Reviewed-by: bae
Backport-of: e0989c0
  • Loading branch information
Dmitry Cherepanov committed Dec 18, 2020
1 parent 2f9e458 commit 20251b703a39595b2fe10b73e49ecc6bb5422163
Show file tree
Hide file tree
Showing 274 changed files with 3,640 additions and 626 deletions.
@@ -1,4 +1,4 @@
## The FreeType Project: Freetype v2.10.1
## The FreeType Project: Freetype v2.10.2


### FreeType Notice
@@ -4,7 +4,7 @@
*
* ANSI-specific configuration file (specification only).
*
* Copyright (C) 1996-2019 by
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
*
* Build macros of the FreeType 2 library.
*
* Copyright (C) 1996-2019 by
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
*
* User-selectable configuration macros (specification only).
*
* Copyright (C) 1996-2019 by
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -292,6 +292,22 @@ FT_BEGIN_HEADER
/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */


/**************************************************************************
*
* Brotli support.
*
* FreeType uses the Brotli library to provide support for decompressing
* WOFF2 streams.
*
* Define this macro if you want to enable this 'feature'.
*
* If you use a build system like cmake or the `configure` script,
* options set by those programs have precedence, overwriting the value
* here with the configured one.
*/
/* #define FT_CONFIG_OPTION_USE_BROTLI */


/**************************************************************************
*
* Glyph Postscript Names handling
@@ -871,9 +887,11 @@ FT_BEGIN_HEADER
*
* Compile 'autofit' module with fallback Indic script support, covering
* some scripts that the 'latin' submodule of the 'autofit' module doesn't
* (yet) handle.
* (yet) handle. Currently, this needs option `AF_CONFIG_OPTION_CJK`.
*/
#ifdef AF_CONFIG_OPTION_CJK
#define AF_CONFIG_OPTION_INDIC
#endif


/**************************************************************************
@@ -5,7 +5,7 @@
* ANSI-specific library and header configuration file (specification
* only).
*
* Copyright (C) 2002-2019 by
* Copyright (C) 2002-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
*
* FreeType high-level API and common types (specification only).
*
* Copyright (C) 1996-2019 by
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -1239,7 +1239,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_HORIZONTAL( face ) \
( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL )
( !!( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) )


/**************************************************************************
@@ -1253,7 +1253,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_VERTICAL( face ) \
( (face)->face_flags & FT_FACE_FLAG_VERTICAL )
( !!( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) )


/**************************************************************************
@@ -1267,7 +1267,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_KERNING( face ) \
( (face)->face_flags & FT_FACE_FLAG_KERNING )
( !!( (face)->face_flags & FT_FACE_FLAG_KERNING ) )


/**************************************************************************
@@ -1282,7 +1282,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_SCALABLE( face ) \
( (face)->face_flags & FT_FACE_FLAG_SCALABLE )
( !!( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) )


/**************************************************************************
@@ -1301,7 +1301,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_SFNT( face ) \
( (face)->face_flags & FT_FACE_FLAG_SFNT )
( !!( (face)->face_flags & FT_FACE_FLAG_SFNT ) )


/**************************************************************************
@@ -1316,7 +1316,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_FIXED_WIDTH( face ) \
( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) )


/**************************************************************************
@@ -1331,7 +1331,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_FIXED_SIZES( face ) \
( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES )
( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) )


/**************************************************************************
@@ -1357,7 +1357,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_GLYPH_NAMES( face ) \
( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
( !!( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) )


/**************************************************************************
@@ -1372,7 +1372,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_HAS_MULTIPLE_MASTERS( face ) \
( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
( !!( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) )


/**************************************************************************
@@ -1394,7 +1394,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_NAMED_INSTANCE( face ) \
( (face)->face_index & 0x7FFF0000L )
( !!( (face)->face_index & 0x7FFF0000L ) )


/**************************************************************************
@@ -1412,7 +1412,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_VARIATION( face ) \
( (face)->face_flags & FT_FACE_FLAG_VARIATION )
( !!( (face)->face_flags & FT_FACE_FLAG_VARIATION ) )


/**************************************************************************
@@ -1429,7 +1429,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_CID_KEYED( face ) \
( (face)->face_flags & FT_FACE_FLAG_CID_KEYED )
( !!( (face)->face_flags & FT_FACE_FLAG_CID_KEYED ) )


/**************************************************************************
@@ -1443,7 +1443,7 @@ FT_BEGIN_HEADER
*
*/
#define FT_IS_TRICKY( face ) \
( (face)->face_flags & FT_FACE_FLAG_TRICKY )
( !!( (face)->face_flags & FT_FACE_FLAG_TRICKY ) )


/**************************************************************************
@@ -1460,7 +1460,7 @@ FT_BEGIN_HEADER
*