summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-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);