diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-11 23:01:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-11 23:01:18 +0000 |
commit | 6ab248cebb379e576b6ffda9f108577fb23bd1f6 (patch) | |
tree | 0842fe73132bbc81388f1789e8affaabf46e9565 /Build/source/texk | |
parent | 1c2545cb8272c2f2e2c1af31ea972a35d1c9dbfa (diff) |
rename pdftexNoEnc to pdftexStripEnc, move use to fn.
git-svn-id: svn://tug.org/texlive/trunk@22429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/tetex/updmap.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/tetex/updmap.pl b/Build/source/texk/tetex/updmap.pl index faec62b86d4..407bac9e082 100755 --- a/Build/source/texk/tetex/updmap.pl +++ b/Build/source/texk/tetex/updmap.pl @@ -63,7 +63,7 @@ my @missing; my $writelog = 0; my $cache = 0; # don't change! my $copy; -my $pdftexNoEnc=0; +my $pdftexStripEnc=1; # initialize mktexupd my $updLSR=&mktexupd(); @@ -915,6 +915,7 @@ sub normalizeLines { # they are ignored by pdftex anyway. ############################################################################### sub to_pdftex { + return unless $pdftexStripEnc; my @in = @_; my @out; foreach my $line (@in) { @@ -1105,12 +1106,12 @@ sub mkMaps { my @pdftex_ndl14_map = @tmp3; @pdftex_ndl14_map = &normalizeLines(@pdftex_ndl14_map); - @pdftex_ndl14_map = &to_pdftex(@pdftex_ndl14_map) if ($pdftexNoEnc); + @pdftex_ndl14_map = &to_pdftex(@pdftex_ndl14_map); &writeLines(">$pdftexoutputdir/pdftex_ndl14.map", @pdftex_ndl14_map); my @pdftex_dl14_map = @tmp7; @pdftex_dl14_map = &normalizeLines(@pdftex_dl14_map); - @pdftex_dl14_map = &to_pdftex(@pdftex_dl14_map) if ($pdftexNoEnc); + @pdftex_dl14_map = &to_pdftex(@pdftex_dl14_map); &writeLines(">$pdftexoutputdir/pdftex_dl14.map", @pdftex_dl14_map); &setupSymlinks; |