Microsoft KB Archive/66198

PRPM9012012: DT_HALFTONE Does Not Work with Certain Page Units PSS ID Number: Q66198 Article last modified on 09-13-1991 PSS database name: P_PresMan

1.21 1.30

OS/2

Summary:

PROBLEM ID: PM9012012

SYMPTOMS The WinDrawText API does not produce the correct output when using the DT_HALFTONE flag and certain page units. This problem does not occur if the PU_PELS page unit is used.

CAUSE Half toning is accomplished by bitblt-ing a hashed pattern over the top of the previous painting. A problem in the code for the WinDrawText function causes an incorrect bounding rectangle to be returned, and the hashed pattern is not always located correctly over the text.

STATUS Microsoft has confirmed this to be a problem in PM versions 1.21 and 1.3. We are researching this problem and will post new information here as it becomes available.

Copyright Microsoft Corporation 1991.