Re: installing a true type font in root

From: Jacques Goldberg <Jacques.Goldberg_at_cern.ch>
Date: Tue, 2 Feb 2010 19:14:28 +0200


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:

> Alfio,
>
>
> This is not a reply from a ROOT expert but from a reasonably advanced
> Linux user.
>
> If you operating system is not Unix which includes Linux, forget about
> my reply.
>
> As far as I know ROOT uses X11 graphics which handles fonts.
>
> The following document, specific to installing Windows fonts (ttf)
> under Linux but trivial to extend, documents system wide installation
> of fonts. Any X11 installation will see these fonts.
>
> http://linuxhelp.blogspot.com/2005/12/adding-windows-fonts-in-linux.html#axzz0eOnnECQn
>
>
>
> I recommend Method 3.
>
> If you have a directory /usr/share/fonts you can just add a
> subdirectory there for your new fonts, you do not need to do it one
> level deeper under a truetype directory (which does not need to
> exist at all, and does not harm if it exists even empty. Just a little
> bit less of clerical work.
>
>
> Jacques
>
>
> Alfio wrote:
>
>> Hi,
>> is it possible to install a true type font in ROOT
>> like e.g. cmr10.ttf ?
>> If yes how I can set this font as default in my root style?
>> Thanks
>> Cheers
>>
>> A
>>
>
Received on Tue Feb 02 2010 - 18:14:32 CET

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