Real numbers in AFM kerning information?

Thomas Wu
Sat, 9 Jan 1999 11:42:06 -0800

I am having problems getting fontinst to work on an AFM file.  The
program complains when it sees the first line of kerning information:

    KPX space quotesinglbase -73.89

(I have included the full TeX error message below.)

Apparently, fontinst can't handle real numbers, such as -73.89.  If I
edit the number to be an integer (-74), then fontinst works.

Of course, I could write a script to round my kerning information to
integers.  But if anyone else has a better solution, I would
appreciate knowing about it.


Thomas Wu

### TeX error message:

This is TeX, Version 3.14159 (Web2c 7.1)
No file fontinst.rc.
) (pmnr8a.afm
! Missing = inserted for \ifnum.
<to be read again> 
<argument> -73.
\afm-KPX \if \first_char #2=.\else \ifnum #3
\relax \out...

\afm_line #1^^M->\afm_command #1 \end_of_line 
l.251 KPX space quotesinglbase -73.89