[tex-k] a bug in dvipsk
Stepan Kasal
kasal at ucw.cz
Fri May 21 11:43:26 CEST 2004
Hello Tom!
On Thu, May 20, 2004 at 09:16:33PM +0200, Thomas Esser wrote:
> > -x/-y confusion. [...]
> I just have done this. [...]
Thanks. Could you please also apply the attached patch?
Stepan
-------------- next part --------------
2004-05-21 Stepan Kasal <kasal at ucw.cz>
* texk/dvipsk/prescan.c (readpreamble): the rounding hack for -y
option (overridemag < 0) is no longer needed.
diff -ur tetex-src-2.0.2.orig/texk/dvipsk/prescan.c tetex-src-2.0.2/texk/dvipsk/prescan.c
--- tetex-src-2.0.2.orig/texk/dvipsk/prescan.c 1998-11-01 04:45:08.000000000 +0100
+++ tetex-src-2.0.2/texk/dvipsk/prescan.c 2004-05-21 11:39:25.000000000 +0200
@@ -57,7 +57,7 @@
num = signedquad() ;
den = signedquad() ;
if (overridemag > 0) (void)signedquad() ;
- else if (overridemag < 0) mag = (mag * signedquad() + 500.0) / 1000.0 ;
+ else if (overridemag < 0) mag = mag * signedquad() / 1000.0 ;
else mag = signedquad() ;
conv = (real) num * DPI * mag / ( den * 254000000.0 ) ;
vconv = (real) num * VDPI * mag / ( den * 254000000.0 ) ;
More information about the tex-k
mailing list