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


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to