[metapost] Tfm generation broken

Paul Pichaureau paul.pichaureau at alcandre.net
Thu Sep 19 21:40:50 CEST 2013


Hi,

I think the tfm generation is still broken in metapost 1.802 (I use the
last Miktex distribution on windows 8).

For example, if you compile the following file "test.mf"


fontmaking:=1;

designsize := 10;
fontdimen5: 5;                 % xheight

end.

This is the pl file obtained:

(DESIGNSIZE R 10.0)
(COMMENT DESIGNSIZE IS IN POINTS)
(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE)
(CHECKSUM O 37700177400)
(FONTDIMEN
   (SLANT R 0.0)
   (SPACE R 0.0)
   (STRETCH R 0.0)
   (SHRINK R 0.0)
   (XHEIGHT R 0.03125)
   )

As you can see, the xheight has a completly wrong value.

(I'm the developper of the mathdesign fonts, which are completly done with
metapost, so this problem is very annoying for me!)



-- 
 Paul Pichaureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20130919/97fa1652/attachment.html>


More information about the metapost mailing list