Update to FreeType 2.9.1 (flutter/engine#5991)

Fixes https://github.com/flutter/flutter/issues/20303
This commit is contained in:
Jason Simmons
2018-08-10 11:10:26 -07:00
committed by GitHub
parent 081c8f7951
commit 3f83f0e416
3 changed files with 5 additions and 4 deletions

2
DEPS
View File

@@ -350,7 +350,7 @@ deps = {
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
'src/third_party/freetype2':
Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'e23a030e9b43c648249477fdf7bf5305d2cc8f59',
Var('fuchsia_git') + '/third_party/freetype2' + '@' + '3515a77bb83002b69a2957efdbcb764de4de07da',
'src/third_party/root_certificates':
Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),

View File

@@ -67,7 +67,6 @@ FileType identifyFile(String name, Reader reader) {
if ((path.split(name).reversed.take(6).toList().reversed.join('/') == 'third_party/icu/source/extra/uconv/README') || // This specific ICU README isn't in UTF-8.
(path.split(name).reversed.take(6).toList().reversed.join('/') == 'third_party/icu/source/samples/uresb/sr.txt') || // This specific sample contains non-UTF-8 data (unlike other sr.txt files).
(path.split(name).reversed.take(2).toList().reversed.join('/') == 'builds/detect.mk') || // This specific freetype sample contains non-UTF-8 data (unlike other .mk files).
(path.split(name).reversed.take(4).toList().reversed.join('/') == 'third_party/freetype2/docs/FTL.TXT') || // This file has a copyright symbol in Latin1 in it
(path.split(name).reversed.take(3).toList().reversed.join('/') == 'third_party/cares/cares.rc')) // This file has a copyright symbol in Latin1 in it
return FileType.latin1Text;
if (path.split(name).reversed.take(6).toList().reversed.join('/') == 'dart/runtime/tests/vm/dart/bad_snapshot' || // Not any particular format

View File

@@ -520,9 +520,11 @@ class RepositoryFreetypeLicenseFile extends RepositoryLicenseFile {
r" GPL\. Note that the FTL is incompatible with GPLv2 due to its\n"
r" advertisement clause\.\n"
r"\n"
r"The contributed BDF and PCF drivers come with a license similar to that\n"
r"The contributed BDF and PCF drivers come with a license similar to that\n"
r"of the X Window System\. It is compatible to the above two licenses \(see\n"
r"file src/bdf/README and src/pcf/README\)\.\n"
r"file src/bdf/README and src/pcf/README\)\. The same holds for the files\n"
r"`fthash\.c' and `fthash\.h'; their code was part of the BDF driver in\n"
r"earlier FreeType versions\.\n"
r"\n"
r"The gzip module uses the zlib license \(see src/gzip/zlib\.h\) which too is\n"
r"compatible to the above two licenses\.\n"