summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/magstep.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 01:55:00 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 01:55:00 +0000
commitff95b300f8204c215384425032124f206349bca2 (patch)
treeabdb4fced025cb35b974f9f0ba0c7d6c9fd01094 /Build/source/texk/kpathsea/magstep.h
parent64252d2baf23bb55ca90c388215779740c73e695 (diff)
remove trailing spaces.
git-svn-id: svn://tug.org/texlive/trunk@18276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/magstep.h')
-rw-r--r--Build/source/texk/kpathsea/magstep.h10
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 */