Re: installing a true type font in root

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 2 Feb 2010 18:42:00 +0100


Hi Alfio,

see documentation of class TAttText at
http://root.cern.ch/root/html/TAttText.html

Rene Brun

Alfio wrote:
> Jacques Goldberg ha scritto:
>> Adding a small tip which it took me long to discover.
>>
>> If you wisely use SLC Linux (CERN) and wisely use it with Gnome as
>> window manager, then
>>
>> if you open the File Browser application (for example from the
>> graphical menu), and enter
>>
>> fonts:/// (THREE slashes) where it asks for "Location", you can
>> see all the fonts available
>>
>> in your system. A good tip to verify that the installation succeeded.
>>
>>
>> Jacques
>>
>>
>> Jacques Goldberg wrote:
>>
> Hi Jacques,
> the problem is not installing TTF in my system (Linux),
> but that ROOT can handle them...
> In principle if in .rootrc it is set
>
> ..................
> Root.UseTTFonts: true
> Unix.*.Root.TTFontPath: $(HOME)/ttf/fonts
>
> ROOT should know where the new true type fonts are...
> Anyway I have no idea how to pick those fonts in ROOT
> I see always the 13 default fonts if I look in SetTextAttribute of
> wathever text object....
>
> Is there any root env variable to see the list of the available fonts?
>
> Cheers
>
> A
>
>
>
>
>
>
>
Received on Tue Feb 02 2010 - 18:42:08 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 02 2010 - 23:50:02 CET