[NTG-context] Issue with rendering arrows in lmtx
Taco Hoekwater
taco at elvenkind.com
Tue Mar 17 16:58:58 CET 2020
> On 17 Mar 2020, at 15:51, Jan-Erik Hägglöf <janerik.hagglof at bahnhof.se> wrote:
>
> Hi All!
>
> When I invoke this command
>
> \startMPcode
> picture p ; p := lmt_svg [ filename ="pil.svg" ];
> draw p;
> \stopMPcode
>
> I get weird results, the arrowhead points in wrong direction
That one is because lmt_svg does not properly consider the
> orient=“auto"
in the marker definition. I played with setting it to actual angles,
and then the output is ok.
> and is very tiny compared to the size it was meant to have.
The path in the marker has its own transform, and that seems to be
ignored by lmt_svg. (I do not see how a scale of (-1.1,-1.1) would
make it that much bigger, but I know that manually altering the values
does nothing, so I guess that must be it).
No solution, but I hope this helps Hans somewhat...
Best wishes,
Taco
More information about the ntg-context
mailing list