Hi Nicolas, Thanks for reporting this special case. Now fixed in CVS. Rene Brun On Tue, 1 Oct 2002, Nicolas de Sereville wrote: > Hi Rooters, > > I noticed that when the title of an histogram is beginning by something like : ^{18}F, the upper script is not correctly printed > on screen. It is also true for TPavesText and TPaveLabel (see the following script). > But if I begin the title with another character like "c ^{18}F", everything is printed well. > Also, this problem doesn't seem to appear for lower script : _{18}F which is correctly printed. > > Could this be corrected or is it a problem of my screen pirnting? > > thanks, > > Nicolas (RH7.1 with ROOT 3.03/09) > > > void test_title() > { > TH1 *h = new TH1F("h","^{18}F + CD_{2}",100,0,100); > h->Draw(); > > TPavesText *pst = new TPavesText(6, -0.5, 30, -0.1, 5, "br"); > text = pst->AddText("^{coinc}F"); > pst->Draw(); > > TPaveLabel *pl = new TPaveLabel(6, 0.5, 30, 0.9, "^{18}F","br"); > pl->Draw(); > > pl = new TPaveLabel(30, 0.5, 54, 0.9, "c ^{18}F","br"); > pl->Draw(); > > pl = new TPaveLabel(54, 0.5, 78, 0.9, "_{18}F","br"); > pl->Draw(); > } > > > -- :-------------------------------: > : Nicolas de SEREVILLE : > : C.S.N.S.M. : > : Batiment 104 : > : 91405 ORSAY Campus : > : Tel : (+ 33) (0)1 69 15 52 29 : > : Fax : (+ 33) (0)1 69 15 50 08 : > :-------------------------------: > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET