Hi,

I uploaded a beta. The most significant (visible) change is in the way mp handles outlines. Here are some examples:

% outlinetext   (text) transformations ;
% outlinetext.d (text) (draw options) transformations ;
% outlinetext.f (text) (fill options) transformations ;
% outlinetext.b (text) (draw options) (fill options) transformations ;
% outlinetext.r (text) (fill options) (draw options) transformations ;

\starttext

\startMPpage

    draw outlinetext.b
        ("\framed[align=normal]{\input{tufte}}")
        (withcolor .5white)
        (withcolor red withpen pencircle scaled 1/10)
        xsized 10cm ;

\stopMPpage

\startMPpage

    draw outlinetext.r
        ("\framed[align=normal]{\input{tufte}}")
        (withcolor red withpen pencircle scaled 1/10)
        (withcolor .5white)
        xsized 10cm ;

\stopMPpage

\startMPpage

    draw outlinetext.d
        ("\framed[align=normal]{\input{tufte}}")
        (withcolor .5white)
        xsized 10cm ;

\stopMPpage

\startMPpage

    picture p ; p := outlinetext.p("PX") ;

    for i within p :
        draw i withcolor red withpen pencircle scaled 1/10 ;
    endfor ;

\stopMPpage

\stoptext

If you say (will b edefault when no complaints):

\startMPdefinitions
    let graphictext = new_graphictext ;
\stopMPdefinitions

the graphictext macro will also use this method.

If you want a nice view on a font you can say:

\useMPlibrary[outlines]

\showshape[character=a,alternative=page]

\stoptext

or for a whole font:

\setupbodyfont[pagella]
\showshape[character=all,alternative=page]

or

\definedfont[almfixed]
\showshape[character=all,alternative=page]

Another change is a much faster reload of fonts database but as that doesn't happen often it might go unnoticed.

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to