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

Peter Rolf indiego at gmx.net
Wed Oct 19 18:42:08 CEST 2011


Am 19.10.2011 18:21, schrieb Hans Hagen:
> 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)
>
I see. Thanks for the quick fix! :-)

Peter


More information about the ntg-context mailing list