home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21587 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.2 KB  |  65 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!scifi!acheron!philabs!linus!linus.mitre.org!tucker
  3. From: tucker@maestro.mitre.org (William Tucker)
  4. Subject: Prob. displaying PIXMAPS on SUNS
  5. Message-ID: <1993Jan27.191942.6389@linus.mitre.org>
  6. Keywords: Prob. displaying PIXMAPS on SUNS
  7. Sender: tucker@mitre.org (William Tucker)
  8. Nntp-Posting-Host: shawm.mitre.org
  9. Organization: The MITRE Corporation, McLean, VA, USA
  10. Date: Wed, 27 Jan 1993 19:19:42 GMT
  11. Lines: 52
  12.  
  13.  
  14. Hi - 
  15.  
  16. General Problem:
  17. We're having trouble displaying our pixmaps on Sun platforms.
  18.  
  19. Hardware:
  20. We are using Sun 470's with Sony monitors and Sun Sparcstation 1+'s
  21. as well as Apollo 400 series workstations. 
  22.  
  23. What we're doing:
  24. An image of a map is composed in a composition pixmap of depth 8.
  25. It is created from multiple bitmaps that are copied into the pixmap
  26. using XCopyPlane with the GC set to use that bitmap as the clipmask.
  27. This effectively gets rid of the background, and only those bits that 
  28. actually make up the drawn image (in this case map data) get copied
  29. into the composition pixmap. The bitmaps are all cleared with a fill
  30. rectangle upon creation and only drawn to once. The composition 
  31. pixmap is cleared after each usage by having the contents of another
  32. pixmap copied to it, without using a clipmask.
  33.  
  34.  
  35. The Problem Specifically:
  36. That all works fine, the problem comes when we do a CopyArea from the
  37. pixmap to the window. Some of the text and lines that the map image 
  38. consist of are missing pixels. For example the upper arc on an "a" 
  39. would be missing a few pixels, the upright line part of a "D" will
  40. be missing a couple of pixels, the same characters are not consist-
  41. ently drawn wrong either. The map boundary lines appear broken too.
  42. The problem is not related to curved lines only, or to sloping lines.
  43. This problem does not occur when the stuff is drawn to the window 
  44. without going to the composition pixmap first. The problem does not
  45. occur on the Apollo either. 
  46.  
  47.  
  48. MY QUESTION:
  49. Is this a Sun X-Window implementation (rendering) problem. Am 
  50. I doing something wrong with the bitmaps/pixmap thing or am I
  51. simply hallucinating, and in need of a week in Jamiaca?
  52.  
  53.  
  54. Please HELP ME!
  55.  
  56.  
  57. or send money.
  58.  
  59.  
  60. Wm T.
  61.  
  62. tucker@maestro.mitre.org
  63.  
  64. .standard disclaimer
  65.