diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2011-05-10 20:21:58 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2011-05-10 20:21:58 +0000 |
commit | 644ded78fa57f13023c91847ad7ab9e6cebb772a (patch) | |
tree | 4daa8525a62b6db0a25eda6c6c72b94bdee874d7 /Build/source | |
parent | 4faec5ef846336e0e2c3b4d50640dbd81ef275bc (diff) |
texk/tetex/updmap.pl: reverted and disabled to_pdftex()
git-svn-id: svn://tug.org/texlive/trunk@22403 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-x | Build/source/texk/tetex/updmap.pl | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/Build/source/texk/tetex/updmap.pl b/Build/source/texk/tetex/updmap.pl index 77ac6be6b58..faec62b86d4 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=1; +my $pdftexNoEnc=0; # initialize mktexupd my $updLSR=&mktexupd(); @@ -911,24 +911,20 @@ sub normalizeLines { ############################################################################### # to_pdftex() -# we could strip "PS_Encoding_Name ReEncodeFont" from map entries because -# they are ignored by pdftex anyway, but it is harmless, and creates -# spurious differences. We want fewer differences, not more. Really -# we want one map file format. +# strip "PS_Encoding_Name ReEncodeFont" from map entries because +# they are ignored by pdftex anyway. ############################################################################### sub to_pdftex { - return @_; -# -# my @in = @_; -# my @out; -# foreach my $line (@in) { -# if ($line =~ /^(.*\s+)(\S+\s+ReEncodeFont\s)(.*)/) { -# $line = "$1$3"; -# $line =~ s/\s+\"\s+\"\s+/ /; -# } -# push @out, $line; -# } -# return @out; + my @in = @_; + my @out; + foreach my $line (@in) { + if ($line =~ /^(.*\s+)(\S+\s+ReEncodeFont\s)(.*)/) { + $line = "$1$3"; + $line =~ s/\s+\"\s+\"\s+/ /; + } + push @out, $line; + } + return @out; } ############################################################################### |