[NTG-context] How to add margin around standalone MetaPost?

Bruce Horrocks ntg at scorecrow.com
Fri May 20 19:07:33 CEST 2022


The arrow looks fine to me in ConTeXt ver: 2022.01.10 08:36 LMTX. (See attached PDF)

> On 20 May 2022, at 17:56, Vincent Hennebert via ntg-context <ntg-context at ntg.nl> wrote:
> 
> Take the following MetaPost file:
> 
> beginfig(0)
>  ahlength := 20;
>  linejoin := mitered;
>  drawarrow origin--(40,0) withpen pencircle scaled 5;
> endfig;
> 
> Render it into PDF with ConTeXt. Witness the cut out ends of the arrow.
> How to fix that?
> 
> Being able to add some margin would be a solution, which may be
> desirable anyway in some cases. Is that possible?
> 
> Thanks,
> Vincent

—
Bruce Horrocks
Hampshire, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt.pdf
Type: application/pdf
Size: 5015 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220520/66384693/attachment.pdf>


More information about the ntg-context mailing list