1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 21:49:42 +02:00

Work-around for "black block symbol" syndrome.

- scripts/gitsch2ppm (ps2ppm): convert "rectfill" to "rectstroke", to
  prevent colored background in schematic symbols from blackening the
  entire symbol in black and white plot
This commit is contained in:
Werner Almesberger 2010-08-27 21:15:32 -03:00
parent 2921bcea47
commit 45935dc753

View File

@ -26,6 +26,7 @@ ps2ppm()
( cat <<EOF
%!PS-Adobe-3.0
/setlinewidth { $LINEWIDTH 2 copy lt { exch } if pop setlinewidth } bind def
/rectfill { rectstroke } bind def
EOF
sed 1d <"$1"; ) |
gs -sDEVICE=ppmraw -sOutputFile=- -g$IRES -r$res \