ConTeXt MKIV Bug: transparent does not work as should in mplib's textext
Hi Hans: It seems that \definecolor[ foobar][some transparent color] does not work in MKIV. I attach the test file and result pdf in the attachment. Can you take a look? thanks! Yue Wang
Am 09.11.2008 um 13:27 schrieb Yue Wang:
Hi Hans:
It seems that \definecolor[ foobar][some transparent color] does not work in MKIV. I attach the test file and result pdf in the attachment. Can you take a look? thanks!
It works but in normal text but if you use MetaPost graphics only the first text is transparent. \setupcolors[state=start] \definecolor[tred][a=1,t=.5,r=1] \starttext \startluacode tex.sprint("\\startMPcode") for i=1,5 do tex.sprint('label(textext("\\definedfont[Sans sa ' .. math.random(1,4) .. ']%') tex.sprint('\\color[tred]{1}"),(10*' .. i .. ',0)) ;') end tex.sprint("\\stopMPcode") \stopluacode \stoptext Wolfgang
Yue Wang wrote:
Hi Hans:
It seems that \definecolor[ foobar][some transparent color] does not work in MKIV. I attach the test file and result pdf in the attachment. Can you take a look? thanks!
it's some tricky interference between graphic states in the pdf code so i now opt for a more robust but redundant approach (more color code in the pdf stream but who cares) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Wolfgang Schuster
-
Yue Wang