diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-16 11:37:29 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-17 08:41:01 +0000 |
commit | 1c6e883306359498657d812d2d530b758448af97 (patch) | |
tree | c9d95e21971e0200e9f707dd5ab837f42d164738 /third_party | |
parent | 2e9d47ac2c9a4ebf0821d10c766fafa85e6d3cb9 (diff) | |
download | pdfium-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>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/freetype/README.pdfium | 4 | ||||
-rw-r--r-- | third_party/freetype/include/freetype-custom-config/ftoption.h | 24 |
2 files changed, 25 insertions, 3 deletions
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 */ + /* */ |