Hello
Paolo
I am just looking
why my postscript files are not placed correctly and met some lines which might
be the reason for it. In ImgPostscript, method processParameters seems to set
the height and width to 800, regardless of what was derived from the bounding
box:
125 processParameters() throws BadElementException,
IOException {
...
176 scaledHeight = (float) (bottom - top) / inch
*1f;
177 scaledHeight=800;
178 setTop(scaledHeight);
179 scaledWidth = (float) (right - left) / inch * 1f;
180 scaledWidth=800;
181 setRight(scaledWidth);
177 scaledHeight=800;
178 setTop(scaledHeight);
179 scaledWidth = (float) (right - left) / inch * 1f;
180 scaledWidth=800;
181 setRight(scaledWidth);
The correctly derived dimension is overwritten with a constant. This
might be the reason why. If you agree, please corret it and we'll see if it
works.
Thanks
Daniel
Frey
