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 <[email protected]> wrote: > Vincent Povirk <[email protected]> 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.
