On 2017-01-24 03:34, Hans Hagen wrote:
On 1/24/2017 4:04 AM, Rik wrote:

What I want is that the background of the page (yellow in this case)
should show through. That is what is done with fill / reverse / cycle,
as in:

      path p,q ;
      p := fullcircle scaled 2cm ;
      q := fullcircle scaled 1cm ;
      fill p -- reverse q -- cycle withcolor blue;

where the background color (yellow) comes through the inner circle (path q).

Can this be done with text characters? I suspect that the answer is that
the glyphs have to be converted to paths and that it will only work when


Still not there.

Is there a way to define the ? characters to remove their coloring in the output of the following so that the background yellow appears through the outline even within the portions of the ?s placed on the blue heart? I want to be able to place this over arbitrary text and color backgrounds (stencil-like) so that the arbitrary text and background color shows through.

         {\DVSrB ???}
      picture h,q ;
      h := "♥" infont "\truefontname{DejaVuSerif-Bold.ttf}" scaled 5 ;
      q := textext("{\getbuffer[Outer]}") scaled 3 ;
      draw h withcolor blue ;
      draw q ;


If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net

Reply via email to