gdi32: Use graphics mode specified at the EMF creation time when playing EMR_EXTTEXTOUT record.

Alexander Kochetkov al.kochet at
Thu Feb 24 07:19:59 CST 2011

Hi, Dmitry Timoshkov!

> Needs to reselect font again after restore old_mode in case
> pExtTextOutW-> iGraphicsMode != old_mode. Otherwise, the font will
> remain with the wrong glyph orientation.
> I can write a test demonstrating the problem.
> Resect font is needed only if pExtTextOutW-> iGraphicsMode is
> GM_COMPATIBLE. This is performance optimization for GM_ADVANCED.

I am wrong here, sorry.
You always reselect font before ExtTextOut.

More information about the wine-devel mailing list