Bug#714638: root-system ttf fonts problem

Christophe Hugon Christophe.Hugon at ge.infn.it
Mon Jul 1 13:15:59 UTC 2013


Package: root-system
Version: 5.34/07 (testing)

Dear maintainers,

When I try to draw anything, usually I have this error :

h->Draw ()
Error in <TTF::SetTextFont>: font file FreeSans.otf not found in path
Error in <TTF::SetTextSize>: current font index out of bounds
...

So, indeed, in the path /usr/share/root/fonts (specified by 
*.*.Root.TTFontPath in /etc/root/system.rootrc) there is only ttf links, 
non otf.

I'm not experienced to the packaging at all, so if it can help, I give 
you the solution that I used on my installation :
in bash
$ for i in /usr/share/fonts/opentype/freefont/*.otf; do sudo ln -s $i 
/usr/share/root/fonts; done

Cheers



More information about the debian-science-maintainers mailing list