[OS X TeX] TeXShop 2.07

Peter Dyballa Peter_Dyballa at Web.DE
Fri Jan 13 19:13:09 EST 2006


Am 13.01.2006 um 23:16 schrieb Maarten Sneep:

> %%BoundingBox: 0 0 230 230
> %%HiResBoundingBox: 0.000000 0.000000 230.000000 230.000000
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
> %%%%%%%%%%%%
> 30 .25 .75 115 115 100 Kreis
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
> %%%%%%%%%%%%
>
> I also made a true ps version, and translated it to eps with  
> ps2eps, and guess what: its boundingbox is wrong, it is slightly  
> too small (I took the same sized circle, but offset by a few points  
> to, so the x-size and y-size are what matters):
> %%BoundingBox: 85 85 315 315
> %%HiResBoundingBox: 85.000000 85.500000 314.500000 315.000000


With gs 8.51, bbox 1.13, and ps2eps 1.54 I get wrong values too:

%%BoundingBox: 0 1 230 230
%%HiResBoundingBox: 0.000000 1.000000 229.500000 230.000000



>
>> epstopdf.pdf looks in TeXShop 2.08 clipped at the rightmost edge ...
>
> It is, but that is because it was clipped by ps2eps. My integer  
> number hides that, but if you take a look at the bounding box in  
> your original files (both normal and high-res) you'll see that they  
> are off by 1 or 0.5 point.
>

I used as input to epstopdf as to ps2pdf14 + pdfcrop the same EPS  
file, the one created from a PS file via pstoeps.


With your EPS file epstopdf outputs:

	* Old BoundingBox: 0 0 230 230
	* New BoundingBox: 0 0 230 230

and ps2pdf14 (+ pdfcrop) produces:

	* Page 1: 0 0 231 231

epstopdf's output looks unclipped, pdfcrop's output is at top and at  
right one pixel too big. Using a circle with 25 pt line width around  
its centre at (113,113) from a 'hand optimised' EPS file for *me*  
only ps2pdf13 + pdfcrop produce a good PDF file. pstopdf and epstopdf  
2.9.4gw, 2005/10/06 both clip. This circle has an outer diameter of  
225 pt, spanning in x and in y from 0.5 to 225.5. This is expressed  
in an unprecise (lowres) and an exact hires bounding box:

	%%BoundingBox: 0 0 226 226
	%%HiResBoundingBox: 0.500000 0.500000 225.500000 225.500000


A perfect solution would be to offer in TeXShop's preferences three  
choices:

	pstopdf
	epstopdf
	ps2pdf13 + pdfcrop

In that case there would be a real chance to have the adequate tool  
prepared for the job.

--
Greetings

   Pete

War springs from unseen and generally insignificant causes.
-Anonymous


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list