openbsd-ports/print/gv/pkg/INSTALL

13 lines
452 B
Plaintext
Raw Normal View History

1997-12-03 00:59:58 -05:00
#!/bin/sh
2003-02-06 14:44:20 -05:00
# $OpenBSD: INSTALL,v 1.5 2003/02/06 19:44:20 avsm Exp $
1997-12-03 00:59:58 -05:00
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
if [ `gs -v|sed -e 's/.*Ghostscript *\([0-9]\).*/\1/' -e q` -ge 7 ]; then
2003-02-06 14:44:20 -05:00
echo "Ghostscript version >=7.00 includes an X11 display with anti-aliasing. Set:\n"
echo " -sDISPLAY=x11 -dNOPLATFONTS -dTextAlphaBits=4 -dGraphicsAlphaBits=4.\n"
echo "to use it; this option has better rendering than x11alpha, but is slower."
1997-12-03 00:59:58 -05:00
fi