home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13211 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  2.3 KB

  1. Xref: sparky comp.sys.mac.programmer:13211 comp.sys.mac.hardware:14470 comp.sys.mac.system:10527
  2. Path: sparky!uunet!dtix!darwin.sura.net!paladin.american.edu!auvm!alijku11!k360171
  3. From: K360171@ALIJKU11.BITNET (Norbert Mueller)
  4. Newsgroups: comp.sys.mac.programmer,comp.sys.mac.hardware,comp.sys.mac.system
  5. Subject: Quadra (950?) Color QuickDraw bug ???
  6. Message-ID: <92212.180146K360171@ALIJKU11.BITNET>
  7. Date: 30 Jul 92 23:01:46 GMT
  8. Organization: Johannes Kepler University Linz - Computing Center
  9. Lines: 39
  10.  
  11. I just discovered a very unusual behavior in a program I am writing.
  12. I have only been able to reproduce it on the Q950, the bug (?) does
  13. not occur on a IIci. No other machines have been tested so far.
  14.  
  15. The scenario: In my application I create a (large) picture consisting
  16. of mainly MoveTo, LineTo, FrameOval, TextSize, RGBForeColor,
  17. and DrawString. (TextMode is SrcOr)
  18.  This picture is scaled to an offscreen pixmap via DrawPicture, to
  19. achieve zooming. The pixmap (belonging to a GWorld) is copied to
  20. the window GrafPort. Everything works fine except:
  21. At some combinations of color/font/font-size and the zooming ratio
  22. used in the DrawPicture command the text disappears on the screen.
  23. It is in the original picture, which I can verify via exporting to
  24.  the clipboard.
  25. This never happens for black text. The loss occurs during the
  26. DrawPicture call. The picture prints Ok (DrawPicture to the printer
  27. GrafPort). The problem occur only in 8-bit mode, lower resolutions
  28. and 16-bit are Ok (screen depth = offscreen depth).
  29.  Only for the text some colors seem to map to
  30. black or white exclusively, when a small reduction is requested.
  31. (i.e. the destrect is less then 1/4 of the srcrect in DrawPicture)
  32. Well maybe its a feature - something like dithering scaled text.
  33. But the way it works is pretty useless and it breaks my
  34. program.
  35.  
  36.  Same problem in 8bit gray.
  37. Ha! I just noticed another "feature" switching to Thousands (i.e.
  38. 16-bit) Grays - does not change the monitor to grays. The colors
  39. change a little, but even the Finder icons remain colored! Only
  40. the menubar is b/w.
  41.  
  42. Additional info: I am using an Apple 21" monitor on the Q950.
  43.  
  44.  Has anybody seen a similar behavior? Is it a known bug?
  45. Whom should I tell to get a fix?
  46.  
  47.  
  48. N. Mueller
  49.  Institute of Chemistry, Johannes Kepler University, A-4040 Linz, Austria
  50.