![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 12/24/2020 12:46 AM, Otared Kavian wrote:
Hi Garulfo,
Thank you for sharing your nice example: it typesets correctly with mkiv, but it seems to me that with LMTX the text does not appear (at least on my installation of the latest LMTX). I admit that I had to trial and error this:
\startMPpage picture tt ; tt := lmt_outline [ kind = "fillup", text = "\strut foo f o o", drawcolor = "white", rulethickness = .2 ] ysized 5cm ; path bb ; bb := boundingbox tt; path pp ; pp := bb enlarged 3cm ; fill pp withshademethod "linear" withshadedirection down withshadecolors (red, blue) ; fill bb withcolor "darkgray" ; for i within tt : if stroked i : nofill (pathpart i) ; fi ; dofill bb withshademethod "linear" withshadedirection down withshadecolors (red, blue) ; endfor ; \stopMPpage ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------