ADC Home > Reference Library > Technical Q&As > Carbon > Graphics & Imaging >

Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

grayishTextOr and Mac OS 8.5


Q: Under Mac OS 8.5, text that is drawn using TextMode(grayishTextOr) is never actually drawn. What's wrong and what can I do to fix it?

A: Mac OS 8.5 doesn't properly check to see if the current port is a GrafPort or a CGrafPort. Gray text will draw correctly to a CGrafPort, but does not appear when drawn to an old GrafPort.

The best solution to this problem is to migrate your code to always use color windows and CGrafPorts.

However, you can simulate the gray text by painting over the text's area with a gray pattern in patBic mode.

[Dec 07 1998]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.