Commit f39f5918 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

After we update the mapping mode reselect the current font back into

the dc so that its size is recalculated.
parent 4bc46368
......@@ -257,6 +257,10 @@ void DC_UpdateXforms( DC *dc )
/* Create inverse of world-to-viewport transformation */
dc->vport2WorldValid = DC_InvertXform( &dc->xformWorld2Vport,
&dc->xformVport2World );
/* Reselect the font back into the dc so that the font size
gets updated. */
SelectObject(dc->hSelf, GetCurrentObject(dc->hSelf, OBJ_FONT));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment