[Bug 32508] New: StringFormatFlagsNoClip breaks StringAlignmentCenter and (probably) StringAlignmentFar)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 21 13:44:25 CST 2012


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

             Bug #: 32508
           Summary: StringFormatFlagsNoClip breaks StringAlignmentCenter
                    and (probably) StringAlignmentFar)
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdiplus
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: alexpigna.dev at gmail.com
    Classification: Unclassified


In method GdipDrawString if StringFormatFlagsNoClip flag is enabled the string
rect width is modified to be very large. This breaks how centered and probably
far alignments are handled since the string will be moved a crazy amount of
pixels to the right.

Since when StringFormatFlagsNoClip is on the clipping region is already
disabled I suspect that modifying the width is not only broken but also
unnecessary. I'm not sure though since I don't know gdiplus code well enough.
Leaving the width as it is fixes the issue for my case: a .net launcher for a
game.

-- 
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