http://bugs.winehq.org/show_bug.cgi?id=22996
--- Comment #9 from A. Kochetkov al.kochet@gmail.com 2011-02-21 14:15:28 CST --- Created an attachment (id=33391) --> (http://bugs.winehq.org/attachment.cgi?id=33391) Patch
I found the following solution. Could you, please, take a look at it. It looks like a hack for me, but it works for Altium Designer. The patch changes the world transform the same manner as WineEngCreateFontInstance. Then, if necessary, it changes the font escapement.
According to the metafiles attached, the text is displayed in the correct position, but inverted. This means that the rotations and transformations are correct. Lacks only the scale factors exScale, eyScale to be applied to the glyphs before the other transformations.
I tried to find a function similar to CreateFontIndirect, taking exScale, eyScale (or similar) as parameters and tried to change world transform matrix without success.
Any help or advice will be really appreciated. Thank, you.