[15/17] gdiplus: Delete GDI objects once they are not needed anymore.

Vincent Povirk madewokherd at gmail.com
Thu Aug 9 00:01:40 CDT 2012


Yes, but gdip_format_string still uses the HDC to do measurements for
the layout calculation. (And draw_string_callback uses it to decide
where to draw underlines.)

On Wed, Aug 8, 2012 at 11:53 PM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> Vincent Povirk <madewokherd at gmail.com> wrote:
>
>> This will break text rendering. We need the correct font to be
>> selected on the hdc during the call to gdip_format_string.
>
> GdipDrawDriverString creates and selects the font on the DC.
>
> --
> Dmitry.



More information about the wine-devel mailing list