# [NTG-context] path in LuaMetaFun

Hans Hagen j.hagen at xs4all.nl
Sun Feb 21 15:08:35 CET 2021

On 2/20/2021 7:04 PM, Pablo Rodriguez wrote:
> On 2/20/21 1:28 PM, Hans Hagen wrote:
>> On 2/20/2021 1:19 PM, Pablo Rodriguez wrote:
>>> [...]
>>> On the other side, I’m afraid that cycle has problems with lmt_followtext.
>> could be, i'm playing a bit with the converter and introduced a issue
>> but that will be fixed in the next upload
> Many thanks for your new upload, Hans.
>
> Another minor detail:
>
>    \starttext
>    \startTEXpage
>    \startMPcode{doublefun}
>      draw lmt_followtext [
>       text  =  "\feature[+][smallcaps]\bf\samplefile{zapf}  ",
>       path  =  ((0,0)..(3,3)..(9,-3)..(12,0)..(9,3)..(3,-3)..cycle),
>       autoscaleup  =  "max",
>       %~  reverse=true,
>      ] xsized .75TextWidth ;
>    \stopMPcode
>    \stopTEXpage
>    \stoptext
>
> One circle is bigger than the other one (reverse=true switches them).
>
> I guess this might be solved with struts, but I don’t know how to apply
> them there.
You get what you ask for: different text ends up at the left or right
edge depending on the reverse.

Hans

-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------