[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in ae virtual fonts, or in fontinst, or in vptovf/vftovp?



Hi,

when i'm trying to produce vpl file for the ae fonts from vf and tfm
files, i get a "bad vf file" error from vftovp, e.g.:

% vftovp aer10.vf aer10.tfm aer10.vpl
Bad VF file: Oversize dimension has been reset to zero.

If i run vftovp as follows:

% vftovp aer10.vf aer10.tfm > aer10.vpl

i get the following in the vpl file:

-------------------
(CHARACTER O 27
   (CHARWD R 0.0)
   (CHARHT R 0.429993)
   (MAP
      (SETRULE R 0.429993Bad VF file: Oversize dimension has been reset to zero.
 R -16.0)
      )
   )
-------------------

and this is definitely a bug in vftovp, since error message goes to
stdout instead of stderr; and the last line in vpl file

(COMMENT THE TFM AND/OR VF FILE WAS BAD, SO THE DATA HAS BEEN CHANGED!)

comes without a newline character, which is also a bug.

If i generate a vpl file with fontinst, the corresponding character
looks like:

(CHARACTER D 23 (COMMENT compwordmark)
   (CHARWD R 0.0)
   (CHARHT R 4.29993)
   (CHARDP R 0.0)
   (MAP
      (SETRULE R 4.29993 R 0.0)
      )
   )

Processing the vpl file with vptovf goes Ok, but the reverse process
produces the above mentioned error.

Please, correct two minor problems with vftovp (mentioned above: put
error messages to stderr, and put \n after the last line), and please
help to find the reason in this major error.

	Best regards, -- Vladimir.