[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
On 4/10/2024 5:22 AM, seyal zavira wrote: seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. as mentioned kind = "outline" will be in

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. also when i edit the code and replace metapost part like this: \startMPcode draw

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread Hans Hagen
On 4/8/2024 8:22 AM, seyal zavira wrote: thank you Harban and Keith McKay. \startMPpage       picture tt ; tt := lmt_outline [           kind = "path",           text = "\definedfont[name:texgyrepagellabold*default]foo f o o",       ] ;       fill          

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread seyal zavira
thank you Harban and Keith McKay. \startMPpage > picture tt ; tt := lmt_outline [ > kind = "path", > text = "\definedfont[name:texgyrepagellabold*default]foo f o o", > ] ; > > fill > for i within tt : pathpart i && endfor cycle >

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:42 PM, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage picture tt ; tt := lmt_outline [ kind = "fillup", text = "\definedfont[name:texgyrepagellabold*default]foo f o o", ] xsized 12cm ; path bb ; bb := boundingbox

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
I've found my original file and the image is as Hraban says below. The code is the original in the post I quoted  and gives a green background with shaded colours in the text. Best Wishes Keith On 07/04/2024 18:42, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen:

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage     picture tt ; tt := lmt_outline [     kind = "fillup",     text = "\definedfont[name:texgyrepagellabold*default]foo f o o",     ] xsized 12cm ;     path bb ; bb := boundingbox tt ;     path pp ; pp := bb enlarged 2cm ;