openbsd-ports/print/gv/pkg/INSTALL
espie 41d8883900 Don't change GV resources, just say you can.
(x11 with aa is significantly slower than x11).
2001-04-14 16:49:20 +00:00

12 lines
387 B
Plaintext

#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
if [ `gs -v|sed -e 's/.*Ghostscript *\([0-9]\).*/\1/' -e q` -ge 7 ]; then
echo "Ghostscript version >=7.00 include an x11 display with aa"
echo "Set -sDISPLAY=x11 -dNOPLATFONTS -dTextAlphaBits=4 -dGraphicsAlphaBits=4"
echo "To use it"
echo "It has better rendering than x11alpha, but is significantly slower"
fi