[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about spacing
- To: Fontinst mailing list <fontinst@cogs.susx.ac.uk>
- Subject: Re: A question about spacing
- From: Alan Jeffrey <ajeffrey@cs.depaul.edu>
- Date: Thu, 04 Jun 1998 09:47:17 -0500
- Cc: Sebastian Kirsch <skirsch@t-online.de>
- Organization: DePaul University
- References: <l03130303b19a217a3b73@[194.119.133.32]> <l03130302b19b27997360@[194.119.133.51]> <l03130302b19c535300cd@[194.119.133.19]>
- Sender: ajeffrey@cs.depaul.edu
Rebecca and Rowland wrote:
> The space parameter is the same in both cases, but the stretch, shrink,
> and extraspace parameters are markedly different.
>
> The minor differences in xheight and quad are most likely due to rounding
> errors.
>
> Does anyone have any idea what's going on?
Er, OK this is my fault. I can't remember the syntax of my own file
formats. Try replacing dostretch.mtx by:
\relax
\metrics
\ifisint{stretchword}\then\setint{fontdimen(3)}{\int{stretchword}}\fi
\ifisint{shrinkword}\then\setint{fontdimen(4)}{\int{shrinkword}}\fi
\ifisint{extraspace}\then\setint{fontdimen(7)}{\int{extraspace}}\fi
\endmetrics
then it'll work:
(FONTDIMEN
(PARAMETER D 1 R 0.0)
(PARAMETER D 2 R 3.32996)
(PARAMETER D 3 R 1.65991)
(PARAMETER D 4 R 1.10999)
(PARAMETER D 5 R 4.29993)
(PARAMETER D 6 R 10.0)
(PARAMETER D 7 R 1.10999)
)
Doh!
Alan.