[tex-live] serious bug in updmap

Werner LEMBERG wl at gnu.org
Mon Aug 1 19:46:31 CEST 2005


The patch below is necessary to make updmap handle the following
line correctly

  umjxo00 Umj00 ".167 SlantFont 1.25 ExtendFont" <umj00.pfb

while converting to dvipdfmx syntax:

  umjxo00 default umj00 -e 1.25 -s .167

Without the patch, you won't get the `-s .167'.

    Werner


======================================================================

--- updmap.orig	2005-07-08 23:53:25.000000000 +0200
+++ updmap	2005-08-01 19:44:23.575879664 +0200
@@ -1074,8 +1074,8 @@
       -e '/%[^ ]*$/s@$@ default@' \
       -e 's@\(.*<<* *\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
       -e '/%[^ ]* [^ ]*$/s@\( \([^ ]*\).*\)$@\1 \2@' \
-      -e 's@\(.* \([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
-      -e 's@\(.* \([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \
+      -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
+      -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \
       -e 's at .*%@@' |
   awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > $tmp8
 



More information about the tex-live mailing list