summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texlive/updmap.pl
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-17 03:31:22 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-17 03:31:22 +0000
commit14994dcf22fab1ffdf6dd79fcc74d588fd8ac677 (patch)
treef4c72e806845d053f3185ec9d5e8a5ae47b3af14 /Master/texmf-dist/scripts/texlive/updmap.pl
parenteadae123f9389d04241f8a477da8f150f73a3f75 (diff)
updmap.pl: tfm names can contain hyphens for unicode-encoded fonts
git-svn-id: svn://tug.org/texlive/trunk@50423 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/updmap.pl')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/updmap.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl
index 5c5fc08757f..b19a5a49dd1 100755
--- a/Master/texmf-dist/scripts/texlive/updmap.pl
+++ b/Master/texmf-dist/scripts/texlive/updmap.pl
@@ -3,7 +3,7 @@
# updmap - maintain map files for outline fonts.
# (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
#
-# Copyright 2011-2017 Norbert Preining
+# Copyright 2011-2019 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
@@ -875,7 +875,7 @@ sub cidx2dvips {
# make everything single spaced
s/\s\s*/ /g;
# unicode encoded fonts are not supported
- next if (m!^\w\w* unicode !);
+ next if (m!^[\w-][\w-]* unicode !);
# now we have the following format
# <word> <word> <word> some options like -e or -s
if ($_ !~ m/([^ ][^ ]*) ([^ ][^ ]*) ([^ ][^ ]*)( (.*))?$/) {