Re: [tex-live] Re: bbmtt10.tfm in test-texlive2004-live-20040627

Olaf Weber <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Olaf Weber writes:
> Thomas Esser writes:

>>> For tetex-beta-2.96.3.20040511 both "latex symbols" and "pdflatex symbols"
>>> worked.  With test-texlive2004-live-20040627, adding bbmtt10.tfm and the

>> Hm... Running the font sources through metafont gives "bad pos" errors.
>> These are tolerated by mktexpk, but not by mktextfm. Olaf?

> I suppose mktexpk and mktextfm should tolerate the same errors.

In which case the "obvious" change is to import the corresponding code
from mktexpk, like this:

===================================================================
RCS file: /usr/local/cvsroot/texk/texk/kpathsea/mktextfm,v
retrieving revision 1.26
diff -u -r1.26 mktextfm
--- mktextfm    12 Nov 2002 17:56:21 -0000      1.26
+++ mktextfm    2 Jul 2004 17:23:31 -0000
@@ -94,11 +94,20 @@

 echo "$progname: Running $cmd"
 $cmd </dev/null || {
-  grep '^!' $NAME.log >$$.errs 2>/dev/null
+  # Don't abort if only "Strange path", "bad pos" or "angle(0,0)"
+  # errors occurr.
+  grep '^!' $NAME.log | sort >$$.errs 2>/dev/null
   grep '^! Strange path' $$.errs >$$.strange 2>/dev/null
-  if cmp $$.errs $$.strange >/dev/null 2>&1 \
-    && test -s $$.strange >/dev/null 2>&1; then
-    echo "$progname: warning: \`$cmd' caused strange path errors." >&2
+  grep '^! bad pos.' $$.errs >$$.badpos 2>/dev/null
+  grep '^! angle(0,0) is taken as zero.' $$.errs >$$.angle 2>/dev/null
+  cat $$.badpos $$.strange $$.angle | sort > $$.errs_accept
+  if cmp $$.errs $$.errs_accept >/dev/null 2>&1; then
+    test -s $$.strange >/dev/null 2>&1 \
+      && echo "$progname: warning: \`$cmd' caused strange path errors." >&2
+    test -s $$.badpos >/dev/null 2>&1 \
+      && echo "$progname: warning: \`$cmd' caused bad pos errors." >&2
+    test -s $$.angle >/dev/null 2>&1 \
+      && echo "$progname: warning: \`$cmd' caused angle(0,0) errors." >&2
   else
     echo "$progname: \`$cmd' failed." >&2
     test -s $NAME.log && mv -f $NAME.log "$KPSE_DOT"

-- 
Olaf Weber

               (This space left blank for technical reasons.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.