Debian Codegraph @

texmf-dist/source/fonts/hfoldsty/src/dostretch.mtx

raw
1
2 %From [email protected] Thu Jun 4 19:29:25 1998
3 %Date: Thu, 04 Jun 1998 09:47:17 -0500
4 %From: Alan Jeffrey <[email protected]>
5 %To: Fontinst mailing list <[email protected]>
6 %Cc: Sebastian Kirsch <[email protected]>
7 %Subject: Re: A question about spacing
8
9 %Rebecca and Rowland wrote:
10 %> The space parameter is the same in both cases, but the stretch, shrink,
11 %> and extraspace parameters are markedly different.
12 %>
13 %> The minor differences in xheight and quad are most likely due to rounding
14 %> errors.
15 %>
16 %> Does anyone have any idea what's going on?
17
18 %Er, OK this is my fault. I can't remember the syntax of my own file
19 %formats. Try replacing dostretch.mtx by:
20
21 \relax
22
23 \metrics
24
25 \ifisint{italicslant}\then\setint{fontdimen(1)}{\int{italicslant}}\fi
26 \ifisint{interword}\then\setint{fontdimen(2)}{\int{interword}}\fi
27 \ifisint{stretchword}\then\setint{fontdimen(3)}{\int{stretchword}}\fi
28 \ifisint{shrinkword}\then\setint{fontdimen(4)}{\int{shrinkword}}\fi
29 \ifisint{xheight}\then\setint{fontdimen(5)}{\int{xheight}}\fi
30 \ifisint{quad}\then\setint{fontdimen(6)}{\int{quad}}\fi
31 \ifisint{extraspace}\then\setint{fontdimen(7)}{\int{extraspace}}\fi
32
33 \endmetrics
34
35 %then it'll work:
36
37 %(FONTDIMEN
38 % (PARAMETER D 1 R 0.0)
39 % (PARAMETER D 2 R 3.32996)
40 % (PARAMETER D 3 R 1.65991)
41 % (PARAMETER D 4 R 1.10999)
42 % (PARAMETER D 5 R 4.29993)
43 % (PARAMETER D 6 R 10.0)
44 % (PARAMETER D 7 R 1.10999)
45 % )
46
47 %Doh!
48
49 %Alan.