[tex-k] Bug in METAFONT(book)

Sebastian Miele sebastian.miele at gmail.com
Sat Oct 26 00:06:32 CEST 2019


I may have found a bug in grayf.mf that is not already fixed in
systems/knuth/dist on CTAN (neither in mfbook.tex nor in grayf.mf). In
the file something gets prepended to extra_chars without including a
space at the end:

  if mg>1: hppp := hppp*mg; vppp := vppp*mg;
    "if charcode>0:currentpicture:=currentpicture scaled mg;fi"
    & extra_endchar; fi;

Hence, METAFONT on a file like

  font_identifier "GRAYBUG";
  extra_endchar := "if false: fi";
  input grayf

yields errors.

Best wishes

More information about the tex-k mailing list