Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
![](https://secure.gravatar.com/avatar/011fd8c90f5b4bf58d85f334e6a52d3b.jpg?s=120&d=mm&r=g)
hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. what I envisaged: https://imgse.com/i/pAAkfjf I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question. question from https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/D5GBGF3RXN75U... However, this example didn't work successfully on the Mac, it just showed a background color block. Best Wishes Muyik
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 8/28/2024 10:05 AM, ai2472206007@yeah.net wrote:
hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
what I envisaged: https://imgse.com/i/pAAkfjf
I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question.
question from https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/D5GBGF3RXN75U...
However, this example didn't work successfully on the Mac, it just showed a background color block. \starttext
\startMPpage path tt ; tt := lmt_outline [ kind = "outline", text = "\definedfont[name:texgyrepagellabold*default]foo f o o", ] xsized 12cm ; % fill tt % withshademethod "linear" % withshadedirection down % withshadecolors (red, blue) ; draw tt withpattern image (fill fullcircle scaled 5mm withcolor "darkgreen" ;) withpatternscale (1/200,1/40) ; \stopMPpage \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
ai2472206007@yeah.net
-
Hans Hagen