summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-05 22:40:17 +0000
committerKarl Berry <karl@freefriends.org>2021-01-05 22:40:17 +0000
commitd01e06632ac47efc96bea27fba1f472d1f477953 (patch)
tree86b109ebd1e967ad9afea292af21cca15edbe1da /Build/source
parent17b165bb23c1130b25b0d82e6eb22e9323e2a5a4 (diff)
copy all characters, not just printable ones
git-svn-id: svn://tug.org/texlive/trunk@57335 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c3
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 <karl@freefriends.org>
+
+ * ttf2afm.c (make_name): copy all characters, not just isprint().
+ From Akira/Mojca.
+
2021-01-04 Thanh Han The <hanthethanh@gmail.com>
* 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);