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

Vincent Hennebert vhennebert at gmail.com
Fri May 20 18:56:21 CEST 2022

Take the following MetaPost file:

  ahlength := 20;
  linejoin := mitered;
  drawarrow origin--(40,0) withpen pencircle scaled 5;

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?


More information about the ntg-context mailing list