Re: Font error - Debian install from debian packages

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Sat, 19 Mar 2005 01:57:14 +0100


Hi Chris,

On Fri, 2005-03-18 at 10:38 -0800, Chris Roat wrote:
> Hi ROOTers,
>
> We've installed ROOT 4.02.00 via the debian package system (i.e. we
> did a 'make debian' and then installed the ROOT packages on all our
> machines). I don't know if that is relevant, but it probably is,
> since things are different - such as no ROOTSYS variable is necessary
> (which is actually quite nice!).

Please notice, that the Debian GNU/Linux and RPM packaging support is currently slightly broken in ROOT. A remedy should hit CVS very soon indeed.

> However, I have a problem that appears in stand-alone exectuables
> linked to ROOT libraries AND in *batch* interactive use. When I try
> to plot a histogram, I get many of the following warnings:
>
> Error in <TTF::SetTextFont>: font file arialbd.ttf not found in path
> Error in <TTF::SetTextSize>: current font index out of bounds
>
> In non-batch interactive use, I do not see this. Anyone have any ideas?

I guess you don't have the TTF font files on your machine. Please check your setting of `*.*.Root.TTFontPath: ' in your `/etc/root/system.rootrc', `~/.rootrc', or `./.rootrc'. The directory pointed at should contain the TTF files available from the ROOT FTP server (ftp://root.cern.ch/root/ttf).

The revamped packaging scripts will create two packages - one package that includes the TTF files (which may violate the license given by M$), and one that fetches the TTF files from the ROOT FTP server and installs them in `/usr/share/root/fonts'.

On a side note: I'm glad to see so many bug reports on the packaging scripts - especially on Debian GNU/Linux. What is that you say? Is this guy a masochist? He actually like bug reports? No, I don't like bugs, but what bug reports tell you, is that people are actually using the stuff. I guess the recent increase in Debian GNU/Linux related bug reports owes a lot to the recent changes in the RedHat licensing policy. Many people seem to have switched to Debian GNU/Linux after RedHat starting charging money for their distribution, and with Debian GNU/Linux you do get some Quality Assurance that you do not get from Fedora.

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |
Received on Sat Mar 19 2005 - 01:56:46 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET