BUG: TrueType Glyphs Wrong Color Rasterized to 8bpp DIBSection (180008)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows 95
- Microsoft Windows 95
This article was previously published under Q180008 SYMPTOMS
If you draw rotated or large TrueType glyphs to a memory DC that is backed
by an 8bpp DIBSection, you get text with glyphs that are not the color
specified with the SetTextColor function. Smaller, normally-oriented text
drawn to this 8bpp DIBSection memory DC has the color specified by the
SetTextColor function.
RESOLUTION
It may be possible to work around this problem using one of the following
methods:
- Draw to a memory DC using a DDB created with CreateCompatibleBitmap.
- Use a 24bpp DIBSection instead of an 8 bpp DIBSection.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbbug kbnofix KB180008 |
---|
|