Uwe Stöhr <[EMAIL PROTECTED]> writes:
> Attached is the patch, now the width and height are calculated according to 
the aspect ratio.
> 
> Opinions?

I had time only for a quick scan of your code, so it may well be that I'm 
about to talk nonsense. If so, please just disregard it.

Noentheless, it seems to me that you're assuming that PostScript files tell 
the truth when they report the BoundingBox. Sorry, but if that's the case, 
then your code is guaranteed to fail on many, many PostScript files. The only 
way guaranteed to calculate the correct bounding box is to implement a 
*comlete* PostScript parser. The auto option exists because LyX is not, nor 
should it be, a PostScript parser.

We've had many, many problems in the past with PostScript files. Let's not 
revisit those problems.

Of course, if I've read your code wrong (more than likely), please just file 
this warning in the bit bucket.

Angus

Reply via email to