summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/src/tools
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-08-29 06:19:44 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-08-29 06:19:44 +0000
commit0de5be92a3a0fe27e8521fc4de67e19b1057842e (patch)
treee93a390fe965486cca19498840cb8d7904252fec /Build/source/libs/freetype2/freetype-src/src/tools
parent27ce96eea3f1190bd744448cfa149e8d767af95a (diff)
revert freetype to 2.10.4
git-svn-id: svn://tug.org/texlive/trunk@60360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/tools')
-rwxr-xr-xBuild/source/libs/freetype2/freetype-src/src/tools/afblue.pl2
-rwxr-xr-xBuild/source/libs/freetype2/freetype-src/src/tools/chktrcmp.py4
-rwxr-xr-xBuild/source/libs/freetype2/freetype-src/src/tools/glnames.py2
-rw-r--r--Build/source/libs/freetype2/freetype-src/src/tools/no-copyright4
-rwxr-xr-xBuild/source/libs/freetype2/freetype-src/src/tools/update-copyright-year65
5 files changed, 29 insertions, 48 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/afblue.pl b/Build/source/libs/freetype2/freetype-src/src/tools/afblue.pl
index 954816276bf..bbc4f472c94 100755
--- a/Build/source/libs/freetype2/freetype-src/src/tools/afblue.pl
+++ b/Build/source/libs/freetype2/freetype-src/src/tools/afblue.pl
@@ -5,7 +5,7 @@
#
# Process a blue zone character data file.
#
-# Copyright (C) 2013-2021 by
+# Copyright (C) 2013-2020 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used,
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/chktrcmp.py b/Build/source/libs/freetype2/freetype-src/src/tools/chktrcmp.py
index 244a24a6c3a..4c40bdafdb5 100755
--- a/Build/source/libs/freetype2/freetype-src/src/tools/chktrcmp.py
+++ b/Build/source/libs/freetype2/freetype-src/src/tools/chktrcmp.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#
# Check trace components in FreeType 2 source.
-# Author: suzuki toshiya, 2009, 2013, 2020
+# Author: suzuki toshiya, 2009, 2013
#
# This code is explicitly into the public domain.
@@ -50,7 +50,7 @@ for i in range( 1, len( sys.argv ) ):
#
c_pathname_pat = re.compile( '^.*\.[ch]$', re.IGNORECASE )
-trace_use_pat = re.compile( '^[ \t]*#define[ \t]+FT_COMPONENT[ \t]+' )
+trace_use_pat = re.compile( '^[ \t]*#define[ \t]+FT_COMPONENT[ \t]+trace_' )
for d in SRC_FILE_DIRS:
for ( p, dlst, flst ) in os.walk( d ):
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/glnames.py b/Build/source/libs/freetype2/freetype-src/src/tools/glnames.py
index c6f2f278931..a19ce178b82 100755
--- a/Build/source/libs/freetype2/freetype-src/src/tools/glnames.py
+++ b/Build/source/libs/freetype2/freetype-src/src/tools/glnames.py
@@ -6,7 +6,7 @@
#
-# Copyright (C) 1996-2021 by
+# Copyright (C) 1996-2020 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/no-copyright b/Build/source/libs/freetype2/freetype-src/src/tools/no-copyright
index 1eaa6309674..d639aa4a84f 100644
--- a/Build/source/libs/freetype2/freetype-src/src/tools/no-copyright
+++ b/Build/source/libs/freetype2/freetype-src/src/tools/no-copyright
@@ -7,6 +7,8 @@
#
# Don't put empty lines into this file!
#
+.gitignore
+#
builds/unix/pkg.m4
#
docs/FTL.TXT
@@ -60,6 +62,4 @@ src/gzip/zutil.h
src/tools/apinames.c
src/tools/ftrandom/ftrandom.c
#
-subprojects/dlg
-#
# EOF
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/update-copyright-year b/Build/source/libs/freetype2/freetype-src/src/tools/update-copyright-year
index 69d63b60aba..c659bbafb89 100755
--- a/Build/source/libs/freetype2/freetype-src/src/tools/update-copyright-year
+++ b/Build/source/libs/freetype2/freetype-src/src/tools/update-copyright-year
@@ -2,7 +2,7 @@ eval '(exit $?0)' && eval 'exec perl -wS -i "$0" ${1+"$@"}'
& eval 'exec perl -wS -i "$0" $argv:q'
if 0;
-# Copyright (C) 2015-2021 by
+# Copyright (C) 2015-2020 by
# Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -28,20 +28,20 @@ eval '(exit $?0)' && eval 'exec perl -wS -i "$0" ${1+"$@"}'
#
# or
#
-# /* Copyright (c) 2000, 2001, 2004-2007 by */
-# /* foobar */
+# /* Copyright 2000, 2001, 2004-2007 by */
+# /* foobar */
#
# and replaces them uniformly with
#
-# Copyright (C) 2000-2021
+# Copyright 2000-2015
# foobar
#
# and
#
-# /* Copyright (C) 2000-2021 by */
-# /* foobar */
+# /* Copyright 2000-2015 by */
+# /* foobar */
#
-# (assuming that the current year is 2021). As can be seen, the line length
+# (assuming that the current year is 2015). As can be seen, the line length
# is retained if there is non-whitespace after the word `by' on the same
# line.
@@ -80,11 +80,11 @@ while (<>)
{
# Fill line to the same length (if appropriate); we skip the middle
# part but insert `(C)', three spaces, and `-'.
- my $space = length($+{space1})
- + length($+{middle})
- + length($+{space2})
+ my $space = length($+{space1}) - 1
+ + length($+{middle}) - 1
+ + length($+{space2}) - 1
+ length($+{space3})
- - (length("(C)") + 3 + 1);
+ - (length("(C)") + 1);
print "$+{begin}";
print "Copyright\ (C)\ $+{first}-$year\ by";
@@ -106,38 +106,19 @@ while (<>)
(?<end>.*)
}
{
- if ($+{first} < $year)
- {
- # Fill line to the same length (if appropriate); we insert three
- # spaces, the string `(C)', a `-', and the current year.
- my $space = length($+{space1})
- + length($+{space2})
- + length($+{space3})
- - (length($year) + length("(C)") + 3 + 1);
-
- print "$+{begin}";
- print "Copyright\ (C)\ $+{first}-$year\ by";
- # If $space is negative this inserts nothing.
- print ' ' x $space if length($+{end});
- print "$+{end}\n";
- $replaced = 1;
- }
- else
- {
- # Fill line to the same length (if appropriate); we insert three
- # spaces and the string `(C)'.
- my $space = length($+{space1})
- + length($+{space2})
- + length($+{space3})
- - (length("(C)") + 3);
+ # Fill line to the same length (if appropriate); we insert three
+ # spaces, a `-', and the current year.
+ my $space = length($+{space1}) - 1
+ + length($+{space2}) - 1
+ + length($+{space3})
+ - (length($year) + 1);
- print "$+{begin}";
- print "Copyright\ (C)\ $+{first}\ by";
- # If $space is negative this inserts nothing.
- print ' ' x $space if length($+{end});
- print "$+{end}\n";
- $replaced = 1;
- }
+ print "$+{begin}";
+ print "Copyright\ (C)\ $+{first}-$year\ by";
+ # If $space is negative this inserts nothing.
+ print ' ' x $space if length($+{end});
+ print "$+{end}\n";
+ $replaced = 1;
}ex
||
# Otherwise print line unaltered.