[ROOT] X11 font problem in root 2.25

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Aug 04 2000 - 13:38:28 MEST


Hi,
This question was already asked, but there was no answer given.
I need to ask it again as we do need readable (and fast) fonts.
-------------------------------------------------------------------------------
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.)
-------------------------------------------------------------------------------
Just to make it clear - the application is FAR TOO SLOW if we use
MicroSchrott fonts. We do need (well readable :-) X11 fonts.
Thanks in advance,
Jacek.



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET