diff options
author | Norbert Preining <preining@logic.at> | 2014-05-12 06:40:12 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2014-05-12 06:40:12 +0000 |
commit | 1c8aa0c2977341a14db6c689d2afb8ba027a2492 (patch) | |
tree | 1e680cbb7a44c2c4df6b75984ced114817eba9cc /Build | |
parent | 234639e5dd07d52709fdfe598b1412eca12c75c2 (diff) |
update updmap.pl from Master
git-svn-id: svn://tug.org/texlive/trunk@33989 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/texlive/updmap.pl | 103 |
1 files changed, 57 insertions, 46 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/updmap.pl b/Build/source/texk/texlive/linked_scripts/texlive/updmap.pl index 917799251b9..0f2ac1def29 100755 --- a/Build/source/texk/texlive/linked_scripts/texlive/updmap.pl +++ b/Build/source/texk/texlive/linked_scripts/texlive/updmap.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# $Id: updmap.pl 33778 2014-05-01 12:44:32Z preining $ +# $Id: updmap.pl 33988 2014-05-12 06:39:32Z preining $ # updmap - maintain map files for outline fonts. # (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.) # @@ -32,7 +32,14 @@ BEGIN { } -my $version = '$Id: updmap.pl 33778 2014-05-01 12:44:32Z preining $'; +my $svnid = '$Id: updmap.pl 33988 2014-05-12 06:39:32Z preining $'; +my $lastchdate = '$Date: 2014-05-12 15:39:32 +0900 (Mon, 12 May 2014) $'; +$lastchdate =~ s/^\$Date:\s*//; +$lastchdate =~ s/ \(.*$//; +my $svnrev = '$Revision: 33988 $'; +$svnrev =~ s/^\$Revision:\s*//; +$svnrev =~ s/\s*\$$//; +my $version = "svn$svnrev ($lastchdate)"; use Getopt::Long qw(:config no_autoabbrev ignore_case_always); use strict; @@ -2151,7 +2158,7 @@ sub warning { # help, version. sub version { - my $ret = sprintf "%s (TeX Live, multi) version %s\n", $prg, $version; + my $ret = sprintf "%s version %s\n", $prg, $version; return $ret; } @@ -2285,10 +2292,12 @@ Explanation of trees and files normally used: According to the actions, updmap might write to one of the given files or create a new updmap.cfg, described further below. - Where changes are saved: if config files are given on the command - line, then the first one given will be used to save any changes from - --setoption, --enable or --disable. If the config files are taken - from kpsewhich output, then the algorithm is more complex: +Where changes are saved: + + If config files are given on the command line, then the first one + given will be used to save any changes from --setoption, --enable + or --disable. If the config files are taken from kpsewhich output, + then the algorithm is more complex: 1) If \$TEXMFCONFIG/web2c/updmap.cfg or \$TEXMFHOME/web2c/updmap.cfg appears in the list of used files, then the one listed first by @@ -2303,45 +2312,47 @@ Explanation of trees and files normally used: can be overridden for system-wide using TEXMFLOCAL, and then system settings can be overridden again for a particular using using TEXMFHOME. - Resolving multiple definitions of a font: - If a font is defined in more than one map file, then the definition - coming from the first-listed updmap.cfg is used. If a font is - defined multiple times within the same map file, one is chosen - arbitrarily. In both cases a warning is issued. - - Disabling maps: - updmap.cfg files with higher priority (listed earlier) can disable - maps mentioned in lower priority (listed later) updmap.cfg files by - writing, e.g., - \#! Map mapname.map - or - \#! MixedMap mapname.map - in the higher-priority updmap.cfg file. - - As an example, suppose you have a copy of MathTime Pro fonts - and want to disable the Belleek version of the fonts; that is, - disable the map belleek.map. You can create the file - \$TEXMFCONFIG/web2c/updmap.cfg with the content - #! Map belleek.map - Map mt-plus.map - Map mt-yy.map - and call $prg. - - updmap writes the map files for dvips (psfonts.map) and pdftex - (pdftex.map) to the TEXMFVAR/fonts/map/updmap/{dvips,pdftex}/ - directories. - - The log file is written to TEXMFVAR/web2c/updmap.log. - - When updmap-sys is run, TEXMFSYSCONFIG and TEXMFSYSVAR are used - instead of TEXMFCONFIG and TEXMFVAR, respectively. This is the only - difference between updmap-sys and updmap. - - Other locations may be used if you give them on the command line, or - these trees don't exist, or you are not using the original TeX Live. - - To see the precise locations of the various files that - will be read and written, give the -n option (or read the source). +Resolving multiple definitions of a font: + + If a font is defined in more than one map file, then the definition + coming from the first-listed updmap.cfg is used. If a font is + defined multiple times within the same map file, one is chosen + arbitrarily. In both cases a warning is issued. + +Disabling maps: + + updmap.cfg files with higher priority (listed earlier) can disable + maps mentioned in lower priority (listed later) updmap.cfg files by + writing, e.g., + \#! Map mapname.map + or + \#! MixedMap mapname.map + in the higher-priority updmap.cfg file. + + As an example, suppose you have a copy of MathTime Pro fonts + and want to disable the Belleek version of the fonts; that is, + disable the map belleek.map. You can create the file + \$TEXMFCONFIG/web2c/updmap.cfg with the content + #! Map belleek.map + Map mt-plus.map + Map mt-yy.map + and call $prg. + +updmap writes the map files for dvips (psfonts.map) and pdftex +(pdftex.map) to the TEXMFVAR/fonts/map/updmap/{dvips,pdftex}/ +directories. + +The log file is written to TEXMFVAR/web2c/updmap.log. + +When updmap-sys is run, TEXMFSYSCONFIG and TEXMFSYSVAR are used +instead of TEXMFCONFIG and TEXMFVAR, respectively. This is the only +difference between updmap-sys and updmap. + +Other locations may be used if you give them on the command line, or +these trees don't exist, or you are not using the original TeX Live. + +To see the precise locations of the various files that +will be read and written, give the -n option (or read the source). For step-by-step instructions on making new fonts known to TeX, read http://tug.org/fonts/fontinstall.html. For even more terse |