After we update the mapping mode reselect the current font back into
the dc so that its size is recalculated.
This commit is contained in:
parent
4bc46368d5
commit
f39f591877
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue