summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-07 20:56:01 +0000
committerKarl Berry <karl@freefriends.org>2018-04-07 20:56:01 +0000
commit70d5fea8af99c5bb4c6f4613787a7c714220369e (patch)
tree09084b9d5606cd309a2d189c7a028a378dc664f3 /Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl
parent43c95171fcbb9a071e0c4f523f697d8d65b6a945 (diff)
japanese-otf-uptex (7apr18)
git-svn-id: svn://tug.org/texlive/trunk@47352 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl')
-rwxr-xr-xMaster/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl b/Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl
index 9d460314d1b..a7095628a29 100755
--- a/Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl
+++ b/Master/texmf-dist/source/fonts/japanese-otf-uptex/script/umkvpkana.pl
@@ -152,14 +152,23 @@ sub glue_kern{
print JPL " )\n";
}
sub chars_in_type_jis{
- my ($type3add) = $ucs ? "U00B7" : "";
- my ($type5) = $ucs ? "— ― … ‥" : "— … ‥";
+ my ($type1add, $type2add, $type3add, $type5)=();
+ if ($ucs) {
+ $type1add = "UFF5F U3018 U3016 U301D U00AB U2329 U301A";
+ $type2add = "UFF60 U3019 U3017 U301F U00BB U232A U301B U301E";
+ $type3add = "U00B7";
+ $type5 = "— ― … ‥";
+ } else {
+ $type5 = "— … ‥";
+ }
print JPL <<END_OF_DATA;
(CHARSINTYPE O 1
‘ “ ( 〔 [ { 〈 《 「 『 【
+ $type1add
)
(CHARSINTYPE O 2
、 , ’ ” ) 〕 ] } 〉 》 」 』 】
+ $type2add
)
(CHARSINTYPE O 3
・ : ;
@@ -327,7 +336,7 @@ sub print_type_prop{
sub get_charwidth{
my ($i,$dvicode)=@_;
- my ($char,$eucchar,$testchar,$u,$l);
+ my ($char,$u,$l);
if (!$ucs) {
if ($dvicode>=0x2474 && $dvicode<=0x2476) {