diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 06:29:43 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 06:29:43 +0000 |
commit | e81dcbbc7c350343213f18fea71ecb3f361e3ed5 (patch) | |
tree | e7af20db9cda3331e11ce92919de0abb8208ff58 | |
parent | 24c1ba42e2ff5663055fc422dd97d29e7fa04d46 (diff) |
//freedesktop.org/bugzilla/show_bug.cgi?id=1800) attachment #1474
(https://bugs.freedesktop.org/attachment.cgi?id=1474): 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>
-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; |