Description
reactos-bootcd-0.4.16-dev-2672-g4e01961-x86-gcc-lin-dbg
Upstream bug in Wine affecting ReactOS: https://bugs.winehq.org/show_bug.cgi?id=59727
related to CORE-20580
Sample app code:
procedure TForm1.Button2Click(Sender: TObject);
|
begin
|
Image1.Width := 100; |
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;
|
Leads to incorrect ellipsification with leading "..." (and trailing "...")

Expected result
