[NTG-context] Issue with rendering arrows in lmtx
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
> picture p ; p := lmt_svg [ filename ="pil.svg" ];
> draw p;
> I get weird results, the arrowhead points in wrong direction
That one is because lmt_svg does not properly consider the
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...
More information about the ntg-context