ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Issue with rendering arrows in lmtx
Date: Tue, 17 Mar 2020 16:58:58 +0100	[thread overview]
Message-ID: <F15FF517-5553-406C-9A91-4540176C1A5B@elvenkind.com> (raw)
In-Reply-To: <C0EE71BB-6FED-4640-A5B9-1A62A71D9484@bahnhof.se>



> On 17 Mar 2020, at 15:51, Jan-Erik Hägglöf <janerik.hagglof@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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2020-03-17 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 14:51 Jan-Erik Hägglöf
2020-03-17 15:57 ` mf
2020-03-17 15:58 ` Taco Hoekwater [this message]
2020-03-17 19:43   ` Jan-Erik Hägglöf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F15FF517-5553-406C-9A91-4540176C1A5B@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).