Bug#232420: tetex-bin: mktexpk doesn't create tcss0600.204pk
Package: tetex-bin
Version: 2.0.2-7
Severity: normal
Tags: patch
When generating fonts at low resolutions, mf will sometimes show error
messages which should be treated as warnings. 2 of those messages are
already ignored, the patch adds another one:
"! angle(0,0) is taken as zero"
With the current version of mktexpk, this command fails:
mktexpk --mfmode gtfax --bdpi 204 --mag 1+0/204 --dpi 204 tcss0600
--- /usr/bin/mktexpk.distrib Thu Feb 5 01:54:58 2004
+++ /usr/bin/mktexpk Thu Feb 12 14:01:13 2004
@@ -215,16 +215,19 @@
echo "$progname: Running $cmd"
$cmd </dev/null || {
- # Don't abort if only "Strange path" or "bad pos" errors occurr.
+ # 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
grep '^! bad pos.' $$.errs >$$.badpos 2>/dev/null
- cat $$.badpos $$.strange | sort > $$.errs_accept
+ 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"
Reply to: