[XeTeX] A bug in (Xe)LaTeX?

Herbert Schulz herbs at wideopenwest.com
Thu Aug 18 23:11:15 CEST 2005


On Aug 18, 2005, at 3:59 PM, Peter Dyballa wrote:

>
> Am 18.08.2005 um 22:36 schrieb Herbert Schulz:
>
>
>> Is there some way of using pdfcrop on a generated pdf file and  
>> then get the Bounding Box from that?
>>
>>
>
> Of course!
>
> If I use pdfcrop --hires afterwards I get for the LaTeX output  
> uncropped/cropped:
>
> 415.719 x 81.2154 (bbox llx lly urx ury: 4.276125 - 0.828633 -  
> 419.994901 - 82.043997)
> 415.71  x 81.2154 (bbox llx lly urx ury: 0.000000 - 0.000633 -  
> 415.709987 - 81.215998)
>
> And for XeLaTeX:
>
> 415.807 x 81.1619 (bbox llx lly urx ury: 4.294828 - 0.882070 -  
> 420.101917 - 82.043997)
> 415.8   x 81.1619 (bbox llx lly urx ury: 0.000070 - 0.000070 -  
> 415.799917 - 81.161998)
>
> Does this answer your question?
>
> --
> Greetings
>
>   Pete
>

Howdy,

Hmmm... I guess the point of the exercise is to get the height and  
depth of the boxes so the baseline can be determined and passed to  
another application via LinkBack. I'm not sure I've thought this out  
enough. I know that putting that small extra border around the  
equation in LaTeXit has stopped the problem with glyph cutoff for me  
with LaTeX although that is a bit heavy handed.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)




More information about the XeTeX mailing list