http://bugs.winehq.org/show_bug.cgi?id=34102
Bug #: 34102 Summary: It is not drawn when specify 0 for the width and height in GdipDrawString. Product: Wine Version: 1.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: matsu.no.page@gmail.com Classification: Unclassified
It is not drawn when specify 0 for the width and height in GdipDrawString.
Do not clipping If specify a 0.0 in Width and Height, "RectF" parameter in the original GdipDrawString. But, GdipDrawString of Wine 1.6 would be clipped, drawing is not performed.
http://bugs.winehq.org/show_bug.cgi?id=34102
--- Comment #1 from masakazu matsubara matsu.no.page@gmail.com 2013-07-22 00:30:34 CDT --- 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 rect1 = new RectangleF(10, 10, 0, 0); RectangleF rect2 = new RectangleF(10, 100, 200, 50);
// Not drawn (Will be drawn on Windows) g.DrawString("ABCDE", font, brush, rect1);
// Will be drawn g.DrawString("abcde", font, brush, rect2); }
http://bugs.winehq.org/show_bug.cgi?id=34102
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |814f9cf7e4af9afd91196b75c58 | |1de792a239338 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru 2013-08-16 05:45:12 CDT --- Should be fixed by 814f9cf7e4af9afd91196b75c581de792a239338.
http://bugs.winehq.org/show_bug.cgi?id=34102
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2013-08-30 13:05:50 CDT --- Closing bugs fixed in 1.7.1.
http://bugs.winehq.org/show_bug.cgi?id=34102
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=34102
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:40:16 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.