http://bugs.winehq.org/show_bug.cgi?id=27945 Summary: GdipDrawString LineAlignement does not work . Product: Wine Version: 1.3.25 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs(a)winehq.org ReportedBy: m_matsu(a)wind.sannet.ne.jp Created an attachment (id=35747) --> (http://bugs.winehq.org/attachment.cgi?id=35747) output image (Windows and Wine 1.3.25) When GdipDrawString is called after GdipSetStringFormatLineAlign is called, the defective operation is caused. sample (C#) private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = this.CreateGraphics(); Font font = new Font("Arial", 20); Brush brush = new SolidBrush(Color.Black); RectangleF rect = new RectangleF(0, 0, 200, 50); StringFormat format = new StringFormat(); Pen pen = new Pen(Color.Black); format.LineAlignment = StringAlignment.Center; // call GdipSetStringFormatLineAlign g.DrawString("ABCDE", font, brush, rect, format); g.DrawRectangle(pen, rect.X, rect.Y, rect.Width, rect.Height); } -- 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.