summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/ttf2afm.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-10 22:15:19 +0000
committerKarl Berry <karl@freefriends.org>2021-01-10 22:15:19 +0000
commit0142df5588f7ae88bbfd9671423c5314083fbb02 (patch)
treecd084a1107b152f83cd01a4f3f4a147bae8857f3 /Build/source/texk/web2c/pdftexdir/ttf2afm.c
parent8781d3094f85f4ea7a4bf4280a0d8728ca49de41 (diff)
make_name: accept all chars again
git-svn-id: svn://tug.org/texlive/trunk@57381 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/ttf2afm.c')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
index e2158644e4f..41b820ecf3b 100644
--- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c
+++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
@@ -444,9 +444,7 @@ static char *make_name(long platform_id, int len)
*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);