[metapost] wrong rightward arrow bounding box

Hans Hagen pragma at wxs.nl
Wed Dec 23 18:34:25 CET 2009


On 23-12-2009 17:06, Laurent Méhats wrote:
> Hello,
>
> I'm getting a wrong bounding box for the cmr10 rightward arrow: the upper
> part of the head lies outside. I've run manually mpto from Tex Live 2008
> (mpost version 1.005) and indeed the rule to right is lower than the
> arrow. Any idea where this might come from ?

this is normal, just try to do the same in tex (drawing rules around the 
arrow)

(1) a boundingbox of a glyph is seldom exact and wd/ht/dp are not always 
reflected in the bbox

(2) math glyph often have special dimensions in order to get consistent 
math

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the metapost mailing list