[NTG-context] transparency in latest beta (mlib)

Hans Hagen pragma at wxs.nl
Wed Oct 19 18:21:10 CEST 2011


On 19-10-2011 17:00, Peter Rolf wrote:
> Hi,
>
> I just tested the latest beta (2011.10.19 00:02) and get some curious
> results for transparent colors. For example
>
>
> \nopdfcompression
> \setupcolors[state=start] % mkii works
> \startMPpage
>      fill unitsquare scaled 100 withcolor transparent(1,.5,red);
> \stopMPpage
>
>
>
> gives me an opaque(!) and very dark red (r=.12,a=1,t=1). Can someone
> confirm this?

in meta-ini.mkiv delete these lines:


\startMPextensions
     if unknown context_tool: input mp-tool; fi;
     if unknown context_spec: input mp-spec; fi;
     if unknown context_grph: input mp-grph; fi;
\stopMPextensions

(as it load the mpii spec file which redefines transparency to use old 
trickery)


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the ntg-context mailing list