On 16/07/07 00:15  Matthias Kilian wrote:
> On Thu, Jul 12, 2007 at 01:20:03AM +0100, Jason McIntyre wrote:
> > gv is unable to open .ps man pages on my machine, when using the advice
> > in DESCR. DESCR for gv says:
> > 
> >     Ghostscript version >=7.00 includes an X11 display with
> >     anti-aliasing. Set:
> >       -sDISPLAY=x11 -dNOPLATFONTS -dTextAlphaBits=4 -dGraphicsAlphaBits=4.
>           ^^^^^^^
> 
> Hmm. This should at least read "DEVICE" instead of "DISPLAY",
> although that doesn't fix the problem. Given that our current
> ghostscript seems to be broken with the alphabits stuff (I did some
> tests with plain gs here), I wonder wether it's a regression (after
> the update to ghostscript 8.54 last year).
> 
> If anyone is still running OpenBSD 4.0 with matching gnu-ghostscript
> (7.05) and gv packages, I'd really appreciate any test reports.  If
> you've only gnu-ghostscript installed, give it a try, too, with the
> -d{Text,Graphics}AlphaBits=4 options mentioned above (and the x11
> device, of course).

Works fine here.
(4.0-ish i386 snapshot)

uname -a
OpenBSD karhu.berlin.teles.de 4.0 GENERIC#1107 i386

pkg_info|grep -i postscript
a2ps-4.13bp3-a4     format ascii files for printing on PostScript printers
ghostscript-7.05p7  GNU PostScript interpreter
ghostscript-fonts-6.0p0 35 standard PostScript fonts with Adobe name aliases
gv-3.5.8p4          PostScript and PDF previewer
psutils-0.17p0-a4   manipulating PostScript documents

gv has an -antialias option, and frankly I see no difference in the
output other then the variant mentioned in DESCR being a lot slower.

The DISPLAY/DEVICE makes no difference. The default is x11 anyway (at
least on this platform, Jason was talking about alpha?) and if gs
doesn't know it, it ignores it. I tried x11alpha too, works and I see no
difference. Maybe something with my eyes? ;)

The line also works with ghostview and plain gs.

regards
tilo

Reply via email to