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

*To*: 'Lars Hellström ' <Lars.Hellstrom@math.umu.se>, "'Vladimir Volovich '" <vvv@vvv.vsu.ru>*Subject*: RE: bug in fontinst 1.801: rounding problems (was: duplicated kernings)*From*: Alan Jeffrey <ajeffrey@cs.depaul.edu>*Date*: Fri, 2 Oct 1998 10:47:26 -0500*Cc*: "'fontinst@cogs.susx.ac.uk '" <fontinst@cogs.susx.ac.uk>

Gosh, what a remarkable bit of detective work, well done! I guess the question is now what the fix is: peraps all generations of MAPFONT should go through the `divide by 8 multiply by 8 again' routine to make sure they're all rounded. This won't make any difference to dimens that have gone through the process, and will round others appropriately. For anyone who's wondering why the code does this in the first place, it's because otherwise you get overflow errors by multiplying a dimen by a scalefactor > 1000 (TeX doesn't support fp multiplication, you have to multiply by an int then divide by another int). Alan.

- Prev by Date:
**Re: bug in fontinst 1.801: rounding problems (was: duplicatedkernings)** - Next by Date:
**RE: rounding problems** - Prev by thread:
**Re: bug in fontinst 1.801: rounding problems (was: duplicatedkernings)** - Next by thread:
**RE: rounding problems** - Index(es):