wysiwyg for TText ?

From: C. Bernet (bernet@phnx7.saclay.cea.fr)
Date: Fri Mar 17 2000 - 12:13:32 MET


Hi !

When you draw a small enough TPad, cd in it and draw a TText inside, you
get the smallest ttext you can have

TCanvas *c1=new TCanvas("c1","c1",600,600)
TPad *pad=new TPad("Legend","Legend",0,0,0.1,0.1,0,1,1)
pad->cd()
TText *t=new TText(0.2,0.2,"Salut") 
t->Draw()

As you can see, the TText is perfectly readable and not so small. When you
manually resize pad, the size of text remains the same, obviously because
smaller fonts can't be used in the canvas. 

Assuming you like the font size, you'll be surprised when you see that
you need to use *32 zoom to read your text in the ps file (here resizing
works). 

Would the use of true type fonts help me ?

I think this is not so critical (as the TBox FillStyle rendering), but I
point out this kind of problems hoping that it will help you to make root
even more wysiwyg.  

thanks.
		Colin



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