TPaveText::AddText() behavior: Unix vs Win32

From: S.P. Wakely (wakely@hep.umn.edu)
Date: Sat Feb 06 1999 - 08:13:11 MET


Hi ROOTers,

The following macro behaves differently under Win32 and Dec Unix (ROOT
2.21/03).  Under Win98, the newlines generate empty boxes while in unix they
properly generate new lines.

Output to PostScript does not produce the newlines in either case.
(However, if the same text is imported from a file using GetFile(), newlines
are created as expected)

Can anyone confirm this on other platforms?

{
TCanvas *c = new TCanvas("c","Test",1);
TPaveText *pt = new TPaveText(0,0,1,1);
pt->AddText("0\n1\n2\n3");
pt->Draw();
}

Thanks,
Scott



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET