Commit bf550ca8 authored by Ben Wagner's avatar Ben Wagner Committed by Commit Bot

Roll src/third_party/freetype/src/ 578bcf103..96b5e5009 (23 commits)

https://chromium.googlesource.com/chromium/src/third_party/freetype2.git/+log/578bcf103a12..96b5e500909c

$ git log 578bcf103..96b5e5009 --date=short --no-merges --format='%ad %ae %s'
2018-08-10 bungeman * src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435).
2018-08-10 ramakrishnan.nikhil Minor formatting.
2018-08-10 wl * src/base/ftobjs.c (FT_Render_Glyph_Internal): Improve tracing.
2018-08-10 wl Fix clang warnings.
2018-08-09 apodtele [raster, smooth] Reinstate bitmap size limits.
2018-08-08 apodtele [pcf] Revert massive unsigning.
2018-08-08 wl [smooth] Improve tracing.
2018-08-08 wl Add internal functions `FT_Trace_Disable' and `FT_Trace_Enable'.
2018-08-08 wl Debugging improvements.
2018-08-08 apodtele [pcf] Massive unsigning (part 2).
2018-08-08 apodtele [pcf] Massive unsigning (part 1).
2018-08-07 apodtele * src/pcf/pcfread.c (pcf_get_bitmaps): Unsign `offsets' and `bitmapSizes'.
2018-08-06 wl More comment formattings.
2018-08-06 wl * devel/ftoption.h: Synchronize with main `ftoption.h'.
2018-08-06 apodtele [pcf] Use unsigned types.
2018-08-06 wl Minor comment formatting.
2018-08-05 wl * src/truetype/ttgload.c (compute_glyph_metrics): Fix overflow.
2018-08-04 wl Ditto.
2018-08-04 wl * src/truetype/ttinterp.c (opcode_name): Fix typos.
2018-08-04 wl Fix clang warnings.
2018-07-31 wl * src/cid/cidtoken.h: Handle `XUID' keyword.
2018-07-31 wl [cid] Trace PostScript dictionaries.
2018-07-31 wl Minor documentation improvement.

Created with:
  roll-dep src/third_party/freetype/src
R=bungeman@chromium.org,drott@chromium.org

CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux_chromium_msan_rel_ng

Bug: chromium:777151,pdfium:1131
Change-Id: Ib958a34663b7c1fa9dbdf63b54ac51cc21d14eea
PDFium-Issue: pdfium:1133
Reviewed-on: https://chromium-review.googlesource.com/1171575
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: default avatarDominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582548}
parent 6390cab0
...@@ -157,7 +157,7 @@ vars = { ...@@ -157,7 +157,7 @@ vars = {
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling freetype # the commit queue can handle CLs rolling freetype
# and whatever else without interference from each other. # and whatever else without interference from each other.
'freetype_revision': '578bcf103a12fb742cdb314565819011d1ac12a7', 'freetype_revision': '96b5e500909cfce39ff78feabefd8063a229b951',
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling HarfBuzz # the commit queue can handle CLs rolling HarfBuzz
# and whatever else without interference from each other. # and whatever else without interference from each other.
......
...@@ -63,6 +63,7 @@ source_set("freetype_source") { ...@@ -63,6 +63,7 @@ source_set("freetype_source") {
"src/src/base/ftbase.c", "src/src/base/ftbase.c",
"src/src/base/ftbbox.c", "src/src/base/ftbbox.c",
"src/src/base/ftbitmap.c", "src/src/base/ftbitmap.c",
"src/src/base/ftdebug.c",
"src/src/base/ftfstype.c", "src/src/base/ftfstype.c",
"src/src/base/ftgasp.c", "src/src/base/ftgasp.c",
"src/src/base/ftglyph.c", "src/src/base/ftglyph.c",
......
Name: FreeType Name: FreeType
URL: http://www.freetype.org/ URL: http://www.freetype.org/
Version: VER-2-9-1-143 Version: VER-2-9-1-166
Revision: 578bcf103a12fb742cdb314565819011d1ac12a7 Revision: 96b5e500909cfce39ff78feabefd8063a229b951
License: Custom license "inspired by the BSD, Artistic, and IJG (Independent License: Custom license "inspired by the BSD, Artistic, and IJG (Independent
JPEG Group) licenses" JPEG Group) licenses"
License File: src/docs/FTL.TXT License File: src/docs/FTL.TXT
......
...@@ -50,8 +50,10 @@ FT_BEGIN_HEADER ...@@ -50,8 +50,10 @@ FT_BEGIN_HEADER
* slightly to pre-define the macro FT_CONFIG_OPTIONS_H used to * slightly to pre-define the macro FT_CONFIG_OPTIONS_H used to
* locate this file during the build. For example, * locate this file during the build. For example,
* *
* {
* #define FT_CONFIG_OPTIONS_H <myftoptions.h> * #define FT_CONFIG_OPTIONS_H <myftoptions.h>
* #include <freetype/config/ftheader.h> * #include <freetype/config/ftheader.h>
* }
* *
* will use `$BUILD/myftoptions.h' instead of this file for macro * will use `$BUILD/myftoptions.h' instead of this file for macro
* definitions. * definitions.
...@@ -75,36 +77,39 @@ FT_BEGIN_HEADER ...@@ -75,36 +77,39 @@ FT_BEGIN_HEADER
/*************************************************************************/ /*************************************************************************/
/*#***********************************************************************/ /*#************************************************************************
/* */ *
/* If you enable this configuration option, FreeType recognizes an */ * If you enable this configuration option, FreeType recognizes an
/* environment variable called `FREETYPE_PROPERTIES', which can be used */ * environment variable called `FREETYPE_PROPERTIES', which can be used to
/* to control the various font drivers and modules. The controllable */ * control the various font drivers and modules. The controllable
/* properties are listed in the section @properties. */ * properties are listed in the section @properties.
/* */ *
/* You have to undefine this configuration option on platforms that lack */ * You have to undefine this configuration option on platforms that lack
/* the concept of environment variables (and thus don't have the */ * the concept of environment variables (and thus don't have the `getenv'
/* `getenv' function), for example Windows CE. */ * function), for example Windows CE.
/* */ *
/* `FREETYPE_PROPERTIES' has the following syntax form (broken here into */ * `FREETYPE_PROPERTIES' has the following syntax form (broken here into
/* multiple lines for better readability). */ * multiple lines for better readability).
/* */ *
/* { */ * {
/* <optional whitespace> */ * <optional whitespace>
/* <module-name1> ':' */ * <module-name1> ':'
/* <property-name1> '=' <property-value1> */ * <property-name1> '=' <property-value1>
/* <whitespace> */ * <whitespace>
/* <module-name2> ':' */ * <module-name2> ':'
/* <property-name2> '=' <property-value2> */ * <property-name2> '=' <property-value2>
/* ... */ * ...
/* } */ * }
/* */ *
/* Example: */ * Example:
/* */ *
/* FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ */ * {
/* cff:no-stem-darkening=1 \ */ * FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
/* autofitter:warping=1 */ * cff:no-stem-darkening=1 \
/* */ * autofitter:warping=1
* }
*
*/
#define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES #define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES
...@@ -350,8 +355,7 @@ FT_BEGIN_HEADER ...@@ -350,8 +355,7 @@ FT_BEGIN_HEADER
* *
* Guessing methods to access embedded resource forks * Guessing methods to access embedded resource forks
* *
* Enable extra Mac fonts support on non-Mac platforms (e.g. * Enable extra Mac fonts support on non-Mac platforms (e.g., GNU/Linux).
* GNU/Linux).
* *
* Resource forks which include fonts data are stored sometimes in * Resource forks which include fonts data are stored sometimes in
* locations which users or developers don't expected. In some cases, * locations which users or developers don't expected. In some cases,
...@@ -428,22 +432,28 @@ FT_BEGIN_HEADER ...@@ -428,22 +432,28 @@ FT_BEGIN_HEADER
* boolean variables (consequently, you should *never* enable this * boolean variables (consequently, you should *never* enable this
* while compiling in `release' mode): * while compiling in `release' mode):
* *
* {
* _af_debug_disable_horz_hints * _af_debug_disable_horz_hints
* _af_debug_disable_vert_hints * _af_debug_disable_vert_hints
* _af_debug_disable_blue_hints * _af_debug_disable_blue_hints
* }
* *
* Additionally, the following functions provide dumps of various * Additionally, the following functions provide dumps of various
* internal autofit structures to stdout (using `printf'): * internal autofit structures to stdout (using `printf'):
* *
* {
* af_glyph_hints_dump_points * af_glyph_hints_dump_points
* af_glyph_hints_dump_segments * af_glyph_hints_dump_segments
* af_glyph_hints_dump_edges * af_glyph_hints_dump_edges
* af_glyph_hints_get_num_segments * af_glyph_hints_get_num_segments
* af_glyph_hints_get_segment_offset * af_glyph_hints_get_segment_offset
* }
* *
* As an argument, they use another global variable: * As an argument, they use another global variable:
* *
* {
* _af_debug_hints * _af_debug_hints
* }
* *
* Please have a look at the `ftgrid' demo program to see how those * Please have a look at the `ftgrid' demo program to see how those
* variables and macros should be used. * variables and macros should be used.
...@@ -916,9 +926,11 @@ FT_BEGIN_HEADER ...@@ -916,9 +926,11 @@ FT_BEGIN_HEADER
* like Fedora that did not un-patch the following change (which was * like Fedora that did not un-patch the following change (which was
* present in FreeType between versions 2.4.6 and 2.7.1, inclusive). * present in FreeType between versions 2.4.6 and 2.7.1, inclusive).
* *
* {
* 2011-07-16 Steven Chu <steven.f.chu@gmail.com> * 2011-07-16 Steven Chu <steven.f.chu@gmail.com>
* *
* [truetype] Fix metrics on size request for scalable fonts. * [truetype] Fix metrics on size request for scalable fonts.
* }
* *
* This problematic commit is now reverted (more or less). * This problematic commit is now reverted (more or less).
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment