diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-05 04:39:34 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-05 04:39:34 +0000 |
commit | bf0a760331e2fe4dbc00e78f87022c7464d9ca4f (patch) | |
tree | 8c96f310e03931205bf58a92ae2fdfc7e66134c4 /Xprint | |
parent | 44f4713a056b7a6a076b2f65fbed43e0cfe9ff06 (diff) |
//freedesktop.org/bugzilla/show_bug.cgi?id=1800): Fix Postscript DDX's 1bit
StaticGray visual to report only 1bit of significant bits in color
specification (instead of 8bits). Patch by Julien Lafon
<julien.lafon@gmail.com>
Diffstat (limited to 'Xprint')
-rw-r--r-- | Xprint/ps/PsInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xprint/ps/PsInit.c b/Xprint/ps/PsInit.c index ce0b55752..5097b7027 100644 --- a/Xprint/ps/PsInit.c +++ b/Xprint/ps/PsInit.c @@ -262,7 +262,7 @@ InitializePsDriver(ndx, pScreen, argc, argv) /* StaticGray, 1bit */ visuals[nv].vid = FakeClientID(0); visuals[nv].class = StaticGray; - visuals[nv].bitsPerRGBValue = 8; + visuals[nv].bitsPerRGBValue = 1; visuals[nv].ColormapEntries = 2; visuals[nv].nplanes = 1; visuals[nv].redMask = 0x0; |