From: mf <massifr@fastwebnet.it>
To: ntg-context@ntg.nl
Subject: Re: Issue with rendering arrows in lmtx
Date: Tue, 17 Mar 2020 16:57:01 +0100 [thread overview]
Message-ID: <b96e579a-1e18-8da3-3471-98542ebba320@fastwebnet.it> (raw)
In-Reply-To: <C0EE71BB-6FED-4640-A5B9-1A62A71D9484@bahnhof.se>
Il 17/03/20 15:51, Jan-Erik Hägglöf ha scritto:
> 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 and is very
> tiny compared to the size it was meant to have.
>
Keep in mind this:
- SVG rendering in metapost started as an experiment and it is still
under development, even if you can already do some very interesting
things with it
- inkscape SVG is different from standard SVG, so the first thing you
can try is saving as plain SVG
- markers are borderline elements, even Inkscape did not support them
well for a long time; i.e. i noticed a strange behavior in rectangles
with slightly rounded corners
- in general, try using the simplest elements: i.e. transform
rectangles, ellipses, markers?, etc. into paths
- you could experience problems also with text, especially with less
common or uninstalled fonts
Best wishes,
Massi
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-03-17 15:57 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 [this message]
2020-03-17 15:58 ` Taco Hoekwater
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=b96e579a-1e18-8da3-3471-98542ebba320@fastwebnet.it \
--to=massifr@fastwebnet.it \
--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).