summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-16 11:37:29 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-17 08:41:01 +0000
commit1c6e883306359498657d812d2d530b758448af97 (patch)
treec9d95e21971e0200e9f707dd5ab837f42d164738
parent2e9d47ac2c9a4ebf0821d10c766fafa85e6d3cb9 (diff)
downloadpdfium-1c6e883306359498657d812d2d530b758448af97.tar.xz
Roll FreeType to 2.8
Update ftoption.h with new (unused by us) setting: AF_CONFIG_OPTION_TT_SIZE_METRICS Change-Id: Ia8004e1ab1e72778319d23e7dfa8cbdcbebfdd34 Reviewed-on: https://pdfium-review.googlesource.com/5555 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--DEPS2
-rw-r--r--third_party/freetype/README.pdfium4
-rw-r--r--third_party/freetype/include/freetype-custom-config/ftoption.h24
3 files changed, 26 insertions, 4 deletions
diff --git a/DEPS b/DEPS
index 633e8851e9..410883c9bd 100644
--- a/DEPS
+++ b/DEPS
@@ -10,7 +10,7 @@ vars = {
'catapult_revision': '86352b966b0245d6883e5f7df27687856978b6d7',
'clang_revision': 'ae881aab392c247eca831e079d1d45e1c200cce7',
'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
- 'freetype_revision': '5a3490e054bda8a318ebde482c7fb30213cab3d9',
+ 'freetype_revision': 'a12a34451a99cbbcad55d466940fd445171927fd',
'gen_library_loader_revision': '916d4acd8b2cde67a390737dfba90b3c37de23a1',
'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271',
'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038',
diff --git a/third_party/freetype/README.pdfium b/third_party/freetype/README.pdfium
index 2054aab7f1..b451ed9384 100644
--- a/third_party/freetype/README.pdfium
+++ b/third_party/freetype/README.pdfium
@@ -1,7 +1,7 @@
Name: FreeType
URL: http://www.freetype.org/
-Version: VER-2-7-1-updates
-Revision: 66725768cdf758cfb3f9abf03cbf5e5a77f42088
+Version: VER-2-8
+Revision: a12a34451a99cbbcad55d466940fd445171927fd
Security Critical: yes
License: FreeType License (FTL)
License File: FTL.TXT
diff --git a/third_party/freetype/include/freetype-custom-config/ftoption.h b/third_party/freetype/include/freetype-custom-config/ftoption.h
index 802beb5036..b986473fdc 100644
--- a/third_party/freetype/include/freetype-custom-config/ftoption.h
+++ b/third_party/freetype/include/freetype-custom-config/ftoption.h
@@ -877,7 +877,9 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
- /* Compile autofit module with Indic script support. */
+ /* Compile autofit module with fallback Indic script support, covering */
+ /* some scripts that the `latin' submodule of the autofit module doesn't */
+ /* (yet) handle. */
/* */
#define AF_CONFIG_OPTION_INDIC
@@ -896,6 +898,26 @@ FT_BEGIN_HEADER
/* */
#define AF_CONFIG_OPTION_USE_WARPER
+ /*************************************************************************/
+ /* */
+ /* Use TrueType-like size metrics for `light' auto-hinting. */
+ /* */
+ /* It is strongly recommended to avoid this option, which exists only to */
+ /* help some legacy applications retain its appearance and behaviour */
+ /* with respect to auto-hinted TrueType fonts. */
+ /* */
+ /* The very reason this option exists at all are GNU/Linux distributions */
+ /* 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). */
+ /* */
+ /* 2011-07-16 Steven Chu <steven.f.chu@gmail.com> */
+ /* */
+ /* [truetype] Fix metrics on size request for scalable fonts. */
+ /* */
+ /* This problematic commit is now reverted (more or less). */
+ /* */
+/* #define AF_CONFIG_OPTION_TT_SIZE_METRICS */
+
/* */