forked from firka/flutter
Update to FreeType 2.9.1 (flutter/engine#5991)
Fixes https://github.com/flutter/flutter/issues/20303
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user