BUG: GetGlyphOutline Returns Corrupt Glyphs with GGO_BITMAPID: Q159427
|
The function GetGlyphOutline() occasionally returns corrupted bitmaps of TrueType glyphs when called with the GGO_BITMAP format. This problem occurs only on Windows NT 4.0. The corrupted bitmaps usually resemble a "Venetian" blind where every other scan line appears to have been inserted from some other source.
There is no practical workaround for this bug involving the use of
GetGlyphOutline. The problem can be avoided by using TextOut on a memory DC
and using the BitBlt function to copy a bitmap similar to the one to be returned by GetGlyphOutline.
Additionally, the problem can be avoided by specifying a rotation matrix in
the call to GetGlyphOutline that would result in a rotation of 1 degree or more. This approach, however, suffers from the loss of hinting to the resulting bitmap glyph.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Additional query words: 4.00 kbdsi
Keywords : kbNTOS400 kbSDKWin32 kbDSupport
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: June 25, 1999