24 Feb
2011
24 Feb
'11
6:09 a.m.
+ + SetGraphicsMode(hdc, old_mode); break; }
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. Thank, you!