summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-26 00:07:47 +0000
committerKarl Berry <karl@freefriends.org>2011-04-26 00:07:47 +0000
commit0e0d5cb11ca9df79249a3dcd65d7fb33ff3ff043 (patch)
treeda0d439b3e3a61d0b501d49082dc473348cda576
parentc5246ff50fdd38a17dcf68ea994dbeaa5a26c358 (diff)
zhmetrics map file in runtime (25apr11)
git-svn-id: svn://tug.org/texlive/trunk@22207 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/fonts/zhmetrics/ttfonts.map32
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds7
2 files changed, 35 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/fonts/zhmetrics/ttfonts.map b/Master/texmf-dist/source/fonts/zhmetrics/ttfonts.map
new file mode 100644
index 00000000000..2fd19ba3847
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/zhmetrics/ttfonts.map
@@ -0,0 +1,32 @@
+% Windows Chinese font map for ttf2pk
+
+gbk@UGBK@ simsun.ttc Fontindex=0 Pid = 3 Eid = 1
+gbksong@UGBK@ simsun.ttc Fontindex=0 Pid = 3 Eid = 1
+gbkkai@UGBK@ simkai.ttf Pid = 3 Eid = 1
+gbkhei@UGBK@ simhei.ttf Pid = 3 Eid = 1
+gbkfs@UGBK@ simfang.ttf Pid = 3 Eid = 1
+gbkli@UGBK@ simli.ttf Pid = 3 Eid = 1
+gbkyou@UGBK@ simyou.ttf Pid = 3 Eid = 1
+
+cyberb@Unicode@ simsun.ttc Fontindex=0 Pid = 3 Eid = 1
+unisong@Unicode@ simsun.ttc Fontindex=0 Pid = 3 Eid = 1
+unikai@Unicode@ simkai.ttf Pid = 3 Eid = 1
+unihei@Unicode@ simhei.ttf Pid = 3 Eid = 1
+unifs@Unicode@ simfang.ttf Pid = 3 Eid = 1
+unili@Unicode@ simli.ttf Pid = 3 Eid = 1
+uniyou@Unicode@ simyou.ttf Pid = 3 Eid = 1
+
+gbksongsl@UGBK@ simsun.ttc Fontindex=0 Slant=.167 Pid = 3 Eid = 1
+gbkkaisl@UGBK@ simkai.ttf Slant=.167 Pid = 3 Eid = 1
+gbkheisl@UGBK@ simhei.ttf Slant=.167 Pid = 3 Eid = 1
+gbkfssl@UGBK@ simfang.ttf Slant=.167 Pid = 3 Eid = 1
+gbklisl@UGBK@ simli.ttf Slant=.167 Pid = 3 Eid = 1
+gbkyousl@UGBK@ simyou.ttf Slant=.167 Pid = 3 Eid = 1
+
+unisongsl@Unicode@ simsun.ttc Fontindex=0 Slant=.167 Pid = 3 Eid = 1
+unikaisl@Unicode@ simkai.ttf Slant=.167 Pid = 3 Eid = 1
+uniheisl@Unicode@ simhei.ttf Slant=.167 Pid = 3 Eid = 1
+unifssl@Unicode@ simfang.ttf Slant=.167 Pid = 3 Eid = 1
+unilisl@Unicode@ simli.ttf Slant=.167 Pid = 3 Eid = 1
+uniyousl@Unicode@ simyou.ttf Slant=.167 Pid = 3 Eid = 1
+
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 85e638e2a7e..01b99ab4e36 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1432,7 +1432,6 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'xq', 'fonts',
'xstring', 'generic',
'xunicode', 'xelatex',
- 'zhmetrics', 'fonts',
'zhspacing', 'xetex',
);
$standarddocfmt='latex';
@@ -4530,9 +4529,9 @@ sub POSTxetexpstricks {
}
sub POSTzhmetrics {
- print "POST$package - (fail to) handle ttfonts.map\n";
- &SYSTEM ("$MV $DEST/fonts/map/ttf2pk/ttfonts.map /tmp");
- print "YOU-MUST-DO! update /tmp/ttfonts.map into source/texk/ttf2pk\n";
+ # source seems better than making a doc directory just for the map file.
+ print "POST$package - move example ttfonts.map out of runtime\n";
+ &SYSTEM ("$MV $DEST/fonts/map/ttf2pk/ttfonts.map $DEST/source/fonts/zhmetrics");
}
sub POSTzhspacing {