[metapost] Tfm generation broken

Paul Pichaureau paul.pichaureau at alcandre.net
Mon Sep 23 16:10:32 CEST 2013


Hi,

I'm the developper of the mathdesign fonts. All of the outlines of these
fonts are produced from metapost sources (and then "packaged" as a font by
a python script).

Right now, I'm completly stuck. I cannot improve the fonts, and some
important bugs on mathdesign are yet to be solved.

To cut a long story short, I really need that this bug is solved on my
system. Do you think it could be possible to do a release of metapost in a
short delay ?

Of course, it"s not so urgent. I just want to be sure that it will be done
soon.

Thank you very much!


2013/9/23 Paul Pichaureau <paul.pichaureau at alcandre.net>

>
>
>
> 2013/9/20 Taco Hoekwater <taco at elvenkind.com>
>
>> On 09/19/2013 09:40 PM, Paul Pichaureau wrote:
>>
>>> 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.
>>>
>>
>> This bug was easy to fix:
>>
>> Index: ../../../source/texk/web2c/**mplibdir/mp.w
>> ==============================**==============================**=======
>> --- ../../../source/texk/web2c/**mplibdir/mp.w    (revision 1923)
>> +++ ../../../source/texk/web2c/**mplibdir/mp.w    (working copy)
>> @@ -32727,7 +32727,7 @@
>>      mp_number arg1;
>>      new_number (arg1);
>>      number_clone (arg1, x);
>> -    number_multiply_int (x, 16);
>> +    number_multiply_int (arg1, 16);
>>      make_scaled (x, arg1, internal_value (mp_design_size));
>>      free_number (arg1);
>>    }
>>
>>
>>
>> but I created a tracker item just in case:
>>
>>   http://tracker.luatex.org/**view.php?id=855<http://tracker.luatex.org/view.php?id=855>
>>
>
> I'm sorry I didn't create a tracker for that! Next time I will.
>
> Thanks !
>
>
>
>>
>> Best wishes,
>> Taco
>>
>>
>
>
> --
>  Paul Pichaureau
>
>


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


More information about the metapost mailing list