diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-10 22:15:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-10 22:15:19 +0000 |
commit | 0142df5588f7ae88bbfd9671423c5314083fbb02 (patch) | |
tree | cd084a1107b152f83cd01a4f3f4a147bae8857f3 /Build/source/texk/web2c/pdftexdir | |
parent | 8781d3094f85f4ea7a4bf4280a0d8728ca49de41 (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')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ttf2afm.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index d03504f67d6..8bffd71a72b 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,9 @@ +2021-01-10 Karl Berry <karl@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@freefriends.org> * ttf2afm.c (make_name): let's exclude iscntrl() per Thanh, 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); |