28 Oct
2010
28 Oct
'10
10:18 a.m.
On 10/28/2010 12:12 PM, Peter Rolf wrote:
Hi,
I started using 'MPinitialisation' to store some global variables. Much easier than passing them over and over again to MP macros. Sadly this way is inaccurate with the unit 'px' (no such problems with 'pt'). See attached example. The frame gives the exact size, showing that the MP graphic is 'out of bounds'.
Probably because metapost calculates in printer points of 72pt/in, instead of tex's 72.27pt/in. So your mp scale factor is likely to be a little off. Best wishes, Taco