http://bugs.winehq.org/show_bug.cgi?id=59727 Bug ID: 59727 Summary: DrawText rendering bug when DT_WORD_ELLIPSIS / DT_PATH_ELLIPSIS is used Product: Wine Version: 11.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@list.winehq.org Reporter: kyle.kcsoftwares@gmail.com Distribution: --- Created attachment 80876 --> http://bugs.winehq.org/attachment.cgi?id=80876 Wine / Windows See screenshot from sample application (source code below) Wine : Adds "..." at the beginning of the string Wine11 : Does not. Found while testing around bug30392 procedure TForm1.Button1Click(Sender: TObject); begin Image1.Width := 100; RenderText; end; procedure TForm1.Button2Click(Sender: TObject); begin Image1.Width := 3; RenderText; end; procedure TForm1.RenderText; var R :TRect; begin R := Image1.ClientRect; DrawText(Image1.Canvas.Handle, 'ThisisaverylongtextaveryverylongtexttotestDT_WORD_ELLIPSISandDT_PATH_ELLIPSIS', -1, R, DT_WORD_ELLIPSIS or DT_PATH_ELLIPSIS or DT_EXPANDTABS or DT_SINGLELINE); Image1.Repaint; end; -- 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.