texlive[59744] branches/branch2021/Build/source/texk/web2c/pdftexdir:

commits+karl at tug.org commits+karl at tug.org
Mon Jun 28 23:57:06 CEST 2021


Revision: 59744
          http://tug.org/svn/texlive?view=revision&revision=59744
Author:   karl
Date:     2021-06-28 23:57:05 +0200 (Mon, 28 Jun 2021)
Log Message:
-----------
sync to branch: pdftex 1.40.23 post-release fix for sharable fmt

Modified Paths:
--------------
    branches/branch2021/Build/source/texk/web2c/pdftexdir/ChangeLog
    branches/branch2021/Build/source/texk/web2c/pdftexdir/NEWS
    branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex.web
    branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex_version.h
    branches/branch2021/Build/source/texk/web2c/pdftexdir/ptexlib.h

Modified: branches/branch2021/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- branches/branch2021/Build/source/texk/web2c/pdftexdir/ChangeLog	2021-06-28 21:55:37 UTC (rev 59743)
+++ branches/branch2021/Build/source/texk/web2c/pdftexdir/ChangeLog	2021-06-28 21:57:05 UTC (rev 59744)
@@ -1,3 +1,30 @@
+2021-02-17  Karl Berry  <karl at tug.org>
+
+        * NEWS,
+        * pdftex_version.h,
+        * pdftex.web (pdftex_revision, pdftex_version_string):
+        version [1.40.]23 for post-TL21 fmt fix.
+	
+2021-01-04  Thanh Han The  <hanthethanh at gmail.com>
+
+	* pdftex.web (letter_space_font): use explicit \fontdimen6 (quad)
+	if specified:
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-June/004335.html
+
+	And avoid problem when single-character command
+	is used with \letterspacefont:
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-June/004336.html
+	
+	Both reports from Robert Schlict.
+	(pdftex r853, r854)	
+
+2021-06-15  Marcel Fabian Krueger  <tex at 2krueger.de>
+
+	* ptexlib.h (glyph_unicode_entry): use integer, not long,
+	to allow dumping without making .fmt platform dependent.
+	See surrounding thread at:
+	https://tug.org/pipermail/tex-live/2021-June/047132.html
+
 2021-03-23  Karl Berry  <karl at tug.org>
 
 	* TL'21.
@@ -1493,7 +1520,7 @@
 
 	* pdftex.ch (do_extension): Recover variables unused by TeX.
 
-2009-09-16  Han The Thanh <hanthethanh at gmail.com>
+2009-09-16  Thanh Han The <hanthethanh at gmail.com>
 
 	* writettf.c: patch for TTC from Liu Yubao <yubao.liu at gmail.com>
 
@@ -1531,7 +1558,7 @@
 	* pdftex.web (sup_dest_names_size): increase to 500000;
 	test document from Peter Abbott to Karl, 12 Aug 2009 12:24:43.
 
-2009-07-13  Han The Thanh <hanthethanh at gmail.com>
+2009-07-13  Thanh Han The <hanthethanh at gmail.com>
 
 	* mapfile.c: treat TTC fonts as TTF
 	* writejpg.c: fix bitmap resolution
@@ -1538,7 +1565,7 @@
 	* writettf.c: fix segfault for certain TTF fonts
 	* pdftex.web: enable pk generation by default
 
-2009-06-26  Han The Thanh <hanthethanh at gmail.com>
+2009-06-26  Thanh Han The <hanthethanh at gmail.com>
 
 	* pdftex.web: bugfix from Hartmut: fix \pdfobj file {foo} for files
 	          foo that don't end with '\n'

Modified: branches/branch2021/Build/source/texk/web2c/pdftexdir/NEWS
===================================================================
--- branches/branch2021/Build/source/texk/web2c/pdftexdir/NEWS	2021-06-28 21:55:37 UTC (rev 59743)
+++ branches/branch2021/Build/source/texk/web2c/pdftexdir/NEWS	2021-06-28 21:57:05 UTC (rev 59744)
@@ -1,3 +1,11 @@
+pdfTeX 3.141592653-2.6-1.40.23 (TeX Live 2021 post-release) (June 28, 2021)
+- changes:
+  - for letterspaced fonts, use explicit \fontdimen6 if specified.
+
+- bugfixes:
+  - make .fmt files sharable between 4/8-byte architectures.
+  - for \letterspacefont, avoid problem with single-character control sequence.
+  
 pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021) (March 23, 2021)
 - changes:
   - new primitives \pdfrunninglinkoff and \pdfrunninglinkon; e.g., for

Modified: branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex.web	2021-06-28 21:55:37 UTC (rev 59743)
+++ branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex.web	2021-06-28 21:57:05 UTC (rev 59744)
@@ -307,8 +307,8 @@
   {printed when \eTeX\ starts}
 @#
 @d pdftex_version==140 { \.{\\pdftexversion} }
- at d pdftex_revision=="22" { \.{\\pdftexrevision} }
- at d pdftex_version_string=='-1.40.22' {current \pdfTeX\ version}
+ at d pdftex_revision=="23" { \.{\\pdftexrevision} }
+ at d pdftex_version_string=='-1.40.23' {current \pdfTeX\ version}
 @#
 @d pdfTeX_banner=='This is pdfTeX, Version 3.141592653',eTeX_version_string,pdftex_version_string
    {printed when \pdfTeX\ starts}
@@ -17641,12 +17641,17 @@
     if scan_keyword("nolig") then
         set_no_ligatures(k); {disable ligatures for letter-spaced fonts}
     nw := height_base[k] - width_base[k];
+
+    if (quad(k) = 0) and (quad(f) > 0) then
+        quad(k) := quad(f);
+    if quad(k) = 0 then
+        pdf_warning("\letterspacefont", "font has zero em size (\fontdimen6)", true, true);
+
     for i := 0 to nw - 1 do
         font_info[width_base[k] + i].sc :=
             font_info[width_base[k] + i].sc + round_xn_over_d(quad(k), e, 1000);
 
     {append, e.g., '+100ls' to font name}
-    flush_str(font_name[k]);
     str_room(length(font_name[k]) + 7); {|abs(e) <= 1000|}
     old_setting := selector;
     selector := new_string;

Modified: branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex_version.h
===================================================================
--- branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex_version.h	2021-06-28 21:55:37 UTC (rev 59743)
+++ branches/branch2021/Build/source/texk/web2c/pdftexdir/pdftex_version.h	2021-06-28 21:57:05 UTC (rev 59744)
@@ -1 +1 @@
-#define PDFTEX_VERSION "1.40.22"
+#define PDFTEX_VERSION "1.40.23"

Modified: branches/branch2021/Build/source/texk/web2c/pdftexdir/ptexlib.h
===================================================================
--- branches/branch2021/Build/source/texk/web2c/pdftexdir/ptexlib.h	2021-06-28 21:55:37 UTC (rev 59743)
+++ branches/branch2021/Build/source/texk/web2c/pdftexdir/ptexlib.h	2021-06-28 21:57:05 UTC (rev 59744)
@@ -77,7 +77,7 @@
 
 typedef struct {
     char *name;                 /* glyph name */
-    long code;                  /* -1 = undefined; -2 = multiple codes, stored
+    integer code;               /* -1 = undefined; -2 = multiple codes, stored
                                    as string in unicode_seq; otherwise unicode value */
     char *unicode_seq;          /* multiple unicode sequence */
 } glyph_unicode_entry;



More information about the tex-live-commits mailing list.