diff options
author | Norbert Preining <preining@logic.at> | 2011-10-24 03:18:31 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2011-10-24 03:18:31 +0000 |
commit | 0227a3f26b3b8f799d9a0ba3f1348cc2d13fb21e (patch) | |
tree | c55537fd7c35477a651e852c104c3e9ec652cb50 /Master | |
parent | 0506cc611facb98a93ee0d8be3c84f8bab9013ca (diff) |
add forgotten support for KanjiMap when generated updmap_cfg lines
git-svn-id: svn://tug.org/texlive/trunk@24382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index 34d7938fe0a..e42f00c2020 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -949,16 +949,22 @@ sub updmap_cfg_lines { $maps{$1} = 1; } elsif ($e =~ m/addMixedMap (.*)$/) { $maps{$1} = 2; + } elsif ($e =~ m/addKanjiMap (.*)$/) { + $maps{$1} = 3; } # others are ignored here } my @updmaplines; foreach (sort keys %maps) { next if TeXLive::TLUtils::member($_, @disabled); - if ($maps{$_} == 2) { + if ($maps{$_} == 1) { + push @updmaplines, "Map $_\n"; + } elsif ($maps{$_} == 2) { push @updmaplines, "MixedMap $_\n"; + } elsif ($maps{$_} == 3) { + push @updmaplines, "KanjiMap $_\n"; } else { - push @updmaplines, "Map $_\n"; + tlerror("Should not happen!\n"); } } return(@updmaplines); |