From 0227a3f26b3b8f799d9a0ba3f1348cc2d13fb21e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 24 Oct 2011 03:18:31 +0000 Subject: add forgotten support for KanjiMap when generated updmap_cfg lines git-svn-id: svn://tug.org/texlive/trunk@24382 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPOBJ.pm | 10 ++++++++-- 1 file 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); -- cgit v1.2.3