Roll third_party/freetype/src/ 1a242558b..8e68439a6 (41 commits)

https://chromium.googlesource.com/chromium/src/third_party/freetype2.git/+log/1a242558be67..8e68439a6ffc

Created with:
  roll-dep third_party/freetype/src

Also modifies third_party/BUILD.gn to not treat warnings about the
unused functions from third_party/freetype/src/src/truetype/ttobjs.h
as errors.

Change-Id: Ie4ba2a3cb65b92186b97dc70fedc2f54bc55bb1b
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/97770
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nigi <nigi@chromium.org>
diff --git a/DEPS b/DEPS
index a236f5d..51f36d0 100644
--- a/DEPS
+++ b/DEPS
@@ -68,7 +68,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling freetype
   # and whatever else without interference from each other.
-  'freetype_revision': '1a242558be670626ed2ec62efb1909c000b2cae7',
+  'freetype_revision': '8e68439a6ffc9e489a70f2c278a016fe15394abf',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling Fuchsia sdk
   # and whatever else without interference from each other.
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 2f34c45..e24ea0a 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -63,6 +63,10 @@
       "FT_CONFIG_MODULES_H=\"freetype-custom-config/ftmodule.h\"",
       "FT_CONFIG_OPTIONS_H=\"freetype-custom-config/ftoption.h\"",
     ]
+    if (is_clang) {
+      # Multiple functions in freetype/src/src/truetype/ttobjs.h are unused.
+      cflags = [ "-Wno-unused-function" ]
+    }
   }
 
   # Tests may link against this even if the production library doesn't,
diff --git a/third_party/freetype/README.pdfium b/third_party/freetype/README.pdfium
index ce05144..8def27d 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-12-1-44
-Revision: 1a242558be670626ed2ec62efb1909c000b2cae7
+Version: VER-2-12-1-85
+Revision: 8e68439a6ffc9e489a70f2c278a016fe15394abf
 CPEPrefix: cpe:/a:freetype:freetype:2.12.1
 Security Critical: yes
 License: FreeType License (FTL)