From d01e06632ac47efc96bea27fba1f472d1f477953 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Jan 2021 22:40:17 +0000 Subject: copy all characters, not just printable ones git-svn-id: svn://tug.org/texlive/trunk@57335 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/ChangeLog | 5 +++++ Build/source/texk/web2c/pdftexdir/ttf2afm.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index a195a622d51..336be86ca81 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,8 @@ +2021-01-05 Karl Berry + + * ttf2afm.c (make_name): copy all characters, not just isprint(). + From Akira/Mojca. + 2021-01-04 Thanh Han The * ttf2afm.c (make_name): new fn. diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c index 7809ae34203..41b820ecf3b 100644 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c @@ -444,8 +444,7 @@ static char *make_name(long platform_id, int len) *p = get_char(); i++; } - if (isprint(*p)) /* copy only printable chars */ - p++; + p++; } *p = 0; return xstrdup(buf); -- cgit v1.2.3