texlive[57381] Build/source/texk/web2c/pdftexdir: make_name: accept

commits+karl at tug.org commits+karl at tug.org
Sun Jan 10 23:15:19 CET 2021


Revision: 57381
          http://tug.org/svn/texlive?view=revision&revision=57381
Author:   karl
Date:     2021-01-10 23:15:19 +0100 (Sun, 10 Jan 2021)
Log Message:
-----------
make_name: accept all chars again

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-10 22:11:48 UTC (rev 57380)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2021-01-10 22:15:19 UTC (rev 57381)
@@ -1,3 +1,9 @@
+2021-01-10  Karl Berry  <karl at freefriends.org>
+
+	* ttf2afm.c (make_name): go back to copying all characters
+	to try to placate NetBSD. No harm in it?
+	https://tug.org/pipermail/tlbuild/2021q1/004780.html
+
 2021-01-06  Karl Berry  <karl at freefriends.org>
 
 	* ttf2afm.c (make_name): let's exclude iscntrl() per Thanh,

Modified: trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-10 22:11:48 UTC (rev 57380)
+++ trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-10 22:15:19 UTC (rev 57381)
@@ -444,9 +444,7 @@
             *p = get_char();
             i++;
         }
-        /* don't copy strange characters */
-        if (!iscntrl(*p) || *p == '\r' || *p == '\n' || *p == '\t')
-            p++;
+        p++;
     }
     *p = 0;
     return xstrdup(buf);



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