1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-29 15:21:32 +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 ( cat <<EOF
%!PS-Adobe-3.0 %!PS-Adobe-3.0
/setlinewidth { $LINEWIDTH 2 copy lt { exch } if pop setlinewidth } bind def /setlinewidth { $LINEWIDTH 2 copy lt { exch } if pop setlinewidth } bind def
/rectfill { rectstroke } bind def
EOF EOF
sed 1d <"$1"; ) | sed 1d <"$1"; ) |
gs -sDEVICE=ppmraw -sOutputFile=- -g$IRES -r$res \ gs -sDEVICE=ppmraw -sOutputFile=- -g$IRES -r$res \