Hello!
I have two patches for png export code in gschem.
The first patch fixes clipping that appears under some circumstances when a 
sheet is exported to png/jpg/... . The current code fails to calculate final 
extent of exported block.

To show this:
1) take an empty sheet (without title block or frame) 
2) draw a box (rectangle) which has width slightly larger than height, for 
example 15 grid units wide and 14 grid units high, 
3) enlarge it with Zoom->Extent and next shrink the gschem window to be only 
slightly (a few pixel) bigger than the box drawn. 
4) write image to png file. 
If the window has width still a bit bigger than height, the exported image is 
clipped from top and bottom.

The second patch is my try to solve feature request #2226522.
It adds options to export bitmaps with fixed 100, 200 and 300dpi resolution 
but more values can be added if needed. 

Both patches are based on 1.5.1 unstable release with a patch from Peter 
Clifton (fix to png export)

Wojciech Kazubski





_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to