diff options
Diffstat (limited to 'Build/source/texk/kpathsea/magstep.h')
-rw-r--r-- | Build/source/texk/kpathsea/magstep.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/magstep.h b/Build/source/texk/kpathsea/magstep.h index 42f02aa96af..d7ccc70e3bf 100644 --- a/Build/source/texk/kpathsea/magstep.h +++ b/Build/source/texk/kpathsea/magstep.h @@ -25,27 +25,27 @@ /* If DPI is close enough to some magstep of BDPI, return the true dpi value, and the magstep found (or zero) in M_RET (if non-null). ``Close enough'' means within one pixel. - + M_RET is slightly encoded: the least significant bit is on for a half-magstep, off otherwise. Thus, a returned M_RET of 1 means \magstephalf, i.e., sqrt(1.2), i.e., 1.09544. Put another way, return twice the number of magsteps. - + In practice, this matters for magstephalf. Floating-point computation with the fixed-point DVI representation leads to 328 (for BDPI == 300); specifying `at 11pt' yields 330; the true \magstephalf is 329 (that's what you get if you run Metafont with mag:=magstep(.5)). - + The time to call this is after you read the font spec from the DVI file, but before you look up any files -- do the usual floating-point computations, and then fix up the result. */ -extern KPSEDLL unsigned kpathsea_magstep_fix (kpathsea kpse, unsigned dpi, +extern KPSEDLL unsigned kpathsea_magstep_fix (kpathsea kpse, unsigned dpi, unsigned bdpi, int *m_ret); #if defined (KPSE_COMPAT_API) extern KPSEDLL unsigned kpse_magstep_fix (unsigned dpi, unsigned bdpi, - int *m_ret); + int *m_ret); #endif #endif /* not KPATHSEA_MAGSTEP_H */ |