Dear roottalkers, The following commands produce a canvas with a line of text in it. This text looks OK when root 2.23/07 or 2.24/05 is used; however it is illegible with root 2.25/00. /*****************************************************/ c1 = new TCanvas("fp","font problem",0,0,385,155); c1->Range(0,0,1000,1000); TText *fLabel; fLabel = new TText(400, 500, "Can you read this?"); fLabel->SetTextFont(41); fLabel->SetTextSize(0.08); fLabel->Draw(); /*****************************************************/ I tried it on SuSE Linux 6.1 (with kernel 2.2.5) and Red Hat 6.1. I did NOT use True Fonts, i.e. I had the following line in my .roorc: Unix.*.Root.UseTTFonts: false (The True Fonts are too slow for my application.) Best regards Dariusz Miskowiec +-------------------------------------------------------------------+ + Dariusz Miskowiec E-mail: D.Miskowiec@gsi.de + + GSI, Planckstr. 1 Phone: 0049-6159-712-133 + + D-64291 Darmstadt KP1 Fax: 0049-6159-712-989 + +-------------------------------------------------------------------+
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET