
Hi Trent,
Thanks also. Oddly I don't have ps2eps on my system, only ps2epsi. But I might use your suggestion to remove transparency with a script.
Cheers, Chris
Trent Buck wrote:
The particular sample you sent renders OK as eps using the following command:
inkscape -p '> pd_cfg.ps' pd_cfg.svg ps2eps -l -f pd_cfg.ps || ps2epsi pd_cfg.ps pd_cfg.eps
The only problem I noticed was that the rectangles in the flow chart are grey. This is because the rectangle borders have a fill of b9b9b900 (i.e. transparent grey). When printing, all alpha channels get flattened to FF (i.e. solid).
The basic rule is: IF EXPORTING TO PS/EPS, DON'T USE ALPHA.
You can write a script to remove the transparent grey fill from SVG images, along the lines of
set -e for i in *.svg; do mv $i $i.bak sed 's/style="fill:#b9b9b9;fill-opacity:0.0000000;/style="fill:none;/g' < $i.bak > $i done
-trent
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user