On Sun, Apr 14, 2024 at 10:17:39AM +0800, Qian Yun wrote:
> OK, in attachment are 2 patch files, please review.
Just a little remark: '(int)' truncates the number. For bounding
box slightly bigger is not a problem, but I am affraid that too
small may be problematic. So I would rather use
OK, in attachment are 2 patch files, please review.
First one fixes several problems:
1. The most outstanding bug is that the width and height should
exchange positions in BoundingBox!!
2. The logic to determine scale factor is a mess, including
several minor logical problems.
And I extract it
On Sat, Apr 13, 2024 at 05:25:17PM +0800, Qian Yun wrote:
> One of the problems of postscript files generated by "draw" is that
> it is not proper "embedded postscript file", aka "eps".
>
> When trying to include such image files in latex document, there are
> huge padding around image.
>
> The
One of the problems of postscript files generated by "draw" is that
it is not proper "embedded postscript file", aka "eps".
When trying to include such image files in latex document, there are
huge padding around image.
The problem is caused by "BoundingBox". We have "BoundingBox" in
generated