pdftex[864] branches/stable/source/src: sync from tl 60474

commits+karl at tug.org commits+karl at tug.org
Sat Sep 11 03:13:38 CEST 2021


Revision: 864
          http://tug.org/svn/pdftex?view=revision&revision=864
Author:   karl
Date:     2021-09-11 03:13:38 +0200 (Sat, 11 Sep 2021)
Log Message:
-----------
sync from tl 60474

Modified Paths:
--------------
    branches/stable/source/src/build-aux/config.sub
    branches/stable/source/src/libs/README
    branches/stable/source/src/texk/web2c/pdftexdir/ChangeLog
    branches/stable/source/src/texk/web2c/pdftexdir/NEWS
    branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web

Modified: branches/stable/source/src/build-aux/config.sub
===================================================================
--- branches/stable/source/src/build-aux/config.sub	2021-09-03 19:39:10 UTC (rev 863)
+++ branches/stable/source/src/build-aux/config.sub	2021-09-11 01:13:38 UTC (rev 864)
@@ -4,7 +4,7 @@
 
 # shellcheck disable=SC2006,SC2268 # see below for rationale
 
-timestamp='2021-07-03'
+timestamp='2021-08-14'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -121,9 +121,11 @@
 
 # Split fields of configuration type
 # shellcheck disable=SC2162
+saved_IFS=$IFS
 IFS="-" read field1 field2 field3 field4 <<EOF
 $1
 EOF
+IFS=$saved_IFS
 
 # Separate into logical components for further validation
 case $1 in
@@ -172,6 +174,10 @@
 						basic_machine=$field1
 						basic_os=$field2
 						;;
+					zephyr*)
+						basic_machine=$field1-unknown
+						basic_os=$field2
+						;;
 					# Manufacturers
 					dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
 					| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
@@ -931,9 +937,11 @@
 
 	*-*)
 		# shellcheck disable=SC2162
+		saved_IFS=$IFS
 		IFS="-" read cpu vendor <<EOF
 $basic_machine
 EOF
+		IFS=$saved_IFS
 		;;
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and
@@ -1313,9 +1321,11 @@
 		;;
 	*-*)
 		# shellcheck disable=SC2162
+		saved_IFS=$IFS
 		IFS="-" read kernel os <<EOF
 $basic_os
 EOF
+		IFS=$saved_IFS
 		;;
 	# Default OS when just kernel was specified
 	nto*)
@@ -1697,7 +1707,7 @@
 # Now, validate our (potentially fixed-up) OS.
 case $os in
 	# Sometimes we do "kernel-libc", so those need to count as OSes.
-	musl* | newlib* | uclibc*)
+	musl* | newlib* | relibc* | uclibc*)
 		;;
 	# Likewise for "kernel-abi"
 	eabi* | gnueabi*)
@@ -1738,7 +1748,7 @@
 	     | skyos* | haiku* | rdos* | toppers* | drops* | es* \
 	     | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
 	     | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
-	     | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*)
+	     | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
 		;;
 	# This one is extra strict with allowed versions
 	sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1755,11 +1765,12 @@
 # As a final step for OS-related things, validate the OS-kernel combination
 # (given a valid OS), if there is a kernel.
 case $kernel-$os in
-	linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* )
+	linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
+		   | linux-musl* | linux-relibc* | linux-uclibc* )
 		;;
 	uclinux-uclibc* )
 		;;
-	-dietlibc* | -newlib* | -musl* | -uclibc* )
+	-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
 		# These are just libc implementations, not actual OSes, and thus
 		# require a kernel.
 		echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2

Modified: branches/stable/source/src/libs/README
===================================================================
--- branches/stable/source/src/libs/README	2021-09-03 19:39:10 UTC (rev 863)
+++ branches/stable/source/src/libs/README	2021-09-11 01:13:38 UTC (rev 864)
@@ -1,4 +1,4 @@
-$Id: README 60036 2021-07-24 14:14:14Z takuji $
+$Id: README 60451 2021-09-08 02:37:35Z kakuto $
 Public domain.  Originally created by Karl Berry, 2005.
 
 Libraries we compile for TeX Live.
@@ -12,10 +12,10 @@
 cairo 1.16.0 - checked 20oct18
   http://cairographics.org/releases/
 
-freetype2 2.10.4 - checked 21oct20
-  http://savannah.nongnu.org/download/freetype/
+freetype2 2.11.0 - checked 01sep21
+  http://download.savannah.gnu.org/releases/freetype/
 
-gd 2.3.1 - checked 03feb21
+gd 2.3.2 - checked 28aug21
   https://github.com/libgd/libgd/releases
 
 gmp 6.2.1 - checked 15nov20
@@ -25,8 +25,8 @@
   http://sourceforge.net/projects/silgraphite/files/graphite2/
   (requires C++11)
 
-harfbuzz 2.8.1 - checked 06may21
-  https://github.com/harfbuzz/harfbuzz/releases/download/2.8.1/
+harfbuzz 2.9.1 - checked 08sep21
+  https://github.com/harfbuzz/harfbuzz/releases/download/2.9.1/
 
 icu 68.2 - checked 13feb21
   http://download.icu-project.org/files/icu4c/

Modified: branches/stable/source/src/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- branches/stable/source/src/texk/web2c/pdftexdir/ChangeLog	2021-09-03 19:39:10 UTC (rev 863)
+++ branches/stable/source/src/texk/web2c/pdftexdir/ChangeLog	2021-09-11 01:13:38 UTC (rev 864)
@@ -1,8 +1,26 @@
+2021-09-03  Thanh Han The  <hanthethanh at gmail.com>
+
+	* pdftex.web (prev_tail): new global.
+	(tail_append): maintain it.
+	(insert_before_tail): new macro.
+	(If |tmp_k1| is not null...): insert auto-kern before a
+	null discretionary inserted by |wrapup| (i.e., explicit hyphen)
+	if appropriate. Report (2) from Robert Schlicht.
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
+	
+2021-09-03  Thanh Han The  <hanthethanh at gmail.com>
+
+	* pdftex.web (append_discretionary): insert autokern
+	(\pdfprependkern/pdfappendkern) after
+	hyphen char inserted by hyphenation. Report (3) from Robert Schlicht.
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
+
 2021-08-21  Thanh Han The  <hanthethanh at gmail.com>
 
 	* pdftex.web (cp_skipable): make autokerns "skipable", so character
 	protrusion works with chars having autokern
-	(\pdfprependkern/\pdfappendkern).
+	(\pdfprependkern/\pdfappendkern). Report (1) and patch from
+	Robert Schlicht,
 	https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
 
 2021-07-13  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>

Modified: branches/stable/source/src/texk/web2c/pdftexdir/NEWS
===================================================================
--- branches/stable/source/src/texk/web2c/pdftexdir/NEWS	2021-09-03 19:39:10 UTC (rev 863)
+++ branches/stable/source/src/texk/web2c/pdftexdir/NEWS	2021-09-11 01:13:38 UTC (rev 864)
@@ -6,7 +6,7 @@
   - make .fmt files sharable between 4/8-byte architectures.
   - for \letterspacefont, avoid problem with single-character control sequence.
   - for characters with autokern (\pdfappendkern and \pdfprependkern),
-    still do protrusion.
+    still do protrusion; likewise autokern implicit and explicit hyphens.
   
 pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021) (March 23, 2021)
 - changes:

Modified: branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web	2021-09-03 19:39:10 UTC (rev 863)
+++ branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web	2021-09-11 01:13:38 UTC (rev 864)
@@ -24395,7 +24395,8 @@
             (replace_count(#) = 0)) {an empty |disc_node|}
         or ((type(#) = math_node) and (width(#) = 0))
         or ((type(#) = kern_node) and
-            ((width(#) = 0) or (subtype(#) = normal) or (subtype(#) = auto_kern)))
+            ((width(#) = 0) or (subtype(#) = normal)
+             or (subtype(#) = auto_kern)))
         or ((type(#) = glue_node) and (glue_ptr(#) = zero_glue))
         or ((type(#) = hlist_node) and (width(#) = 0) and (height(#) = 0) and
             (depth(#) = 0) and (list_ptr(#) = null))
@@ -28832,7 +28833,7 @@
 if tmp_k1 <> null then begin
     wrapup(rt_hit); {Note: |wrapup| might insert a null discretionary}
     save_tail := tail;
-    {insert auto-kern before a null discretionary inserted by |wrapup| if appropriated}
+    {insert auto-kern before a null discretionary inserted by |wrapup| if appropriate}
     if (not is_char_node(tail))
         and (type(tail) = disc_node)
         and (replace_count(tail) = 0)



More information about the pdftex-commits mailing list.