[metapost] MetaPost 1.770 (test release)

Boguslaw Jackowski B_Jackowski at GUST.org.pl
Mon Dec 10 15:50:36 CET 2012


The following simple code (an acute accent from TG Pagella):

   path p;
   p:=(302,643)..controls (302,662) and (288,677)
    ..(271,677)..controls (256,677) and (238,666)
    ..(216,644)..controls (216,644) and (78,506)
    ..(78,506)..controls (78,506) and (118,506)
    ..(118,506)..controls (118,506) and (262,596)
    ..(262,596)..controls (295,617) and (302,625)
    ..cycle;
   show turningnumber p;
   end.

produces a strange result with the new Metapost, namely, turningnumber=6:

This is MetaPost, version 1.770 (kpathsea version 6.1.1dev)  10 DEC 2012 15:35
**zz.mp
(plain.mp
Preloading the plain mem file, version 0.63)) (./zz.mp
>> 6

A previous version of Metapost, 1.503, produces the correct result:

This is MetaPost, version 1.503 (kpathsea version 6.0.0)  10 DEC 2012 15:42
**zz.mp
(mpost15.mp (c:\BOP-UTI/lib-mfmp/0mp/plain.mp
Preloading the plain mem file, version 0.63)) (./zz.mp
>> 1 )

Of course, Metafont produces also the correct result as expected:

This is METAFONT, Version 2.718281 (Web2C 2010) (base=mf 2011.1.14)  10 DEC 2012 15:35
**zz.mp
(zz.mp
>> 1 )

Cheers -- Jacko

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Bogus\l{}aw Jackowski: B_Jackowski at GUST.ORG.PL
----------------------------------------------------------------
  Hofstadter's Law: It always takes longer than you expect, even
                    when you take into account Hofstadter's Law.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the metapost mailing list