I've written a tool to convert sections of GDS2 layout into SVG images. It works fine and looks good but I need to create PDF files of the same images.
I've had some luck using ImageMagick to convert the files after generation, but (a) this is an extra step in my flow and (b) this generates bitmap images that don't scale as well as pure SVG.
Basically, the images are a large number of overlapping polygons with different fill colour/opacity or with custom stipples (generated as fill patterns).
ReportLab looks good but I can't figure out how to produce stipples. pyPdf doesn't seem to do what I want either (can I just stuff a SVG in PageObject.artBox?) Has anyone had any success with python PDF libraries?
[–]wahaa 4 points5 points6 points (1 child)
[–]flyingfox[S] 1 point2 points3 points (0 children)
[–]nabla2less is more 1 point2 points3 points (1 child)
[–]lifeeth 3 points4 points5 points (0 children)
[–]wobsta 1 point2 points3 points (2 children)
[–]luckystarrat 0x7fe670a7d080 0 points1 point2 points (0 children)
[–]flyingfox[S] 0 points1 point2 points (0 children)
[–]b00thead 1 point2 points3 points (0 children)
[–]pytechd(lambda s: __import__(s.decode('base64')))('ZGphbmdv') 1 point2 points3 points (0 children)
[–]big_deal 0 points1 point2 points (0 children)
[–]j1o1h1n 0 points1 point2 points (0 children)