[Bug 22996] Altium Designer print preview displays inverted text in schematic views

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 21 14:15:29 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=22996

--- Comment #9 from A. Kochetkov <al.kochet at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list