[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#86056: musixtex: workaround for mf bug



Nice, but shouldn't Metafont itself be fixed instead?
Is it easy to fix?

On Thu, Feb 15, 2001 at 12:28:24PM +0000, Julian Gilbey wrote:
> Package: musixtex
> Version: 0.99-1
> 
> Please apply the following patch to the xslhz.mf font file, to
> workaround a bug in the current version of Metafont.  (Metafont dies
> when trying to make xslhz20 in ljfzzz mode; this patch fixes the
> problem by rounding the coordinates before autorounding gets to see
> them.)
> 
> --- xslhz.mf.orig Thu Jun 25 08:01:00 1998
> +++ xslhz.mf    Thu Feb 15 12:20:37 2001
> @@ -17,7 +17,7 @@
>  
>  for i=1 upto 100:
>    beginchar((i-1),0,0,0);
> -    x3=-x1=.5i*stepwidth; x2=y1=y3=0; y2=slope*i*stepwidth;
> +    x3=-x1=good.x(.5i*stepwidth); x2=y1=y3=0; y2=slope*i*stepwidth;
>      penpos1(thick,90); penpos2(thick,90); penpos3(thick,90);
>      penstroke z1e..z2e..z3e;
>      %

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
   Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/



Reply to: