texlive[57335] Build/source/texk/web2c/pdftexdir: copy all

commits+karl at tug.org commits+karl at tug.org
Tue Jan 5 23:40:17 CET 2021


Revision: 57335
          http://tug.org/svn/texlive?view=revision&revision=57335
Author:   karl
Date:     2021-01-05 23:40:17 +0100 (Tue, 05 Jan 2021)
Log Message:
-----------
copy all characters, not just printable ones

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2021-01-05 22:05:39 UTC (rev 57334)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2021-01-05 22:40:17 UTC (rev 57335)
@@ -1,3 +1,8 @@
+2021-01-05  Karl Berry  <karl at freefriends.org>
+
+	* ttf2afm.c (make_name): copy all characters, not just isprint().
+	From Akira/Mojca.
+
 2021-01-04  Thanh Han The  <hanthethanh at gmail.com>
 
 	* ttf2afm.c (make_name): new fn.

Modified: trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-05 22:05:39 UTC (rev 57334)
+++ trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-05 22:40:17 UTC (rev 57335)
@@ -444,8 +444,7 @@
             *p = get_char();
             i++;
         }
-        if (isprint(*p)) /* copy only printable chars */
-            p++;
+        p++;
     }
     *p = 0;
     return xstrdup(buf);



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