summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji.pl5
-rwxr-xr-xMaster/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl5
2 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji.pl b/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji.pl
index 307e68c96e8..167c4073abb 100755
--- a/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji.pl
+++ b/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji.pl
@@ -19,8 +19,8 @@ use Getopt::Long qw(:config no_autoabbrev ignore_case_always);
use strict;
my $prg = "updmap-setup-kanji";
-my $vers = "0.9.4";
-my $version = '$Id: updmap-setup-kanji.pl 25542 2012-03-01 02:29:35Z preining $';
+my $vers = "0.9.5";
+my $version = '$Id: updmap-setup-kanji.pl 25640 2012-03-14 22:44:37Z preining $';
my $updmap_real = "updmap-sys";
my $updmap = $updmap_real;
@@ -148,6 +148,7 @@ sub GetStatus {
if ($val =~ m/^kanjiEmbed=(.*)( \()?/) {
$STATUS = $1;
$STATUS =~ s/\s*$//;
+ $STATUS =~ s/\(.*\)$//;
$STATUS =~ s/^"(.*)"$/\1/;
} else {
printf STDERR "Cannot find status of current kanjiEmbed setting via updmap-sys --showoption!\n";
diff --git a/Master/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl b/Master/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
index 307e68c96e8..167c4073abb 100755
--- a/Master/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
+++ b/Master/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
@@ -19,8 +19,8 @@ use Getopt::Long qw(:config no_autoabbrev ignore_case_always);
use strict;
my $prg = "updmap-setup-kanji";
-my $vers = "0.9.4";
-my $version = '$Id: updmap-setup-kanji.pl 25542 2012-03-01 02:29:35Z preining $';
+my $vers = "0.9.5";
+my $version = '$Id: updmap-setup-kanji.pl 25640 2012-03-14 22:44:37Z preining $';
my $updmap_real = "updmap-sys";
my $updmap = $updmap_real;
@@ -148,6 +148,7 @@ sub GetStatus {
if ($val =~ m/^kanjiEmbed=(.*)( \()?/) {
$STATUS = $1;
$STATUS =~ s/\s*$//;
+ $STATUS =~ s/\(.*\)$//;
$STATUS =~ s/^"(.*)"$/\1/;
} else {
printf STDERR "Cannot find status of current kanjiEmbed setting via updmap-sys --showoption!\n";