# X11 fonts under Kubuntu 12.04

**URL:** <https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584>\
**Category:** ROOT\
**Created:** [February 4, 2013, 1:09pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584 "2013-02-04T13:09:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![filimon](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/c89c15/32.png) [@filimon](https://root-forum.cern.ch/u/filimon)\
**Post date:** [February 4, 2013, 1:09pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584/1 "2013-02-04T13:09:09Z")

</div>

Hi, since some time my X11 (graphical as in TBrowser and the splash screen) are not so readable. I think it was related to the upgrade 10.04-\>12.04 of Kubuntu and now no TTF or in general scalable fonts are used. This is persistent between different ROOT versions, currently at 5.34/02. Any idea on what could be the problem? Below my root-config --features and my $HOME/.rootrc related entries. Commenting out the Gui.\* entries does not seem to have effect. Thanks!

afdsmgrd alien asimage astiff builtin\_afterimage builtin\_ftgl builtin\_freetype builtin\_glew builtin\_pcre builtin\_lzma cintex explicitlink genvector gsl\_shared memstat minuit2 monalisa mysql opengl pythia6 python reflex roofit shadowpw shared ssl tmva x11 xft xml xrootd thread

# Path where to look for TrueType fonts

Unix._.Root.UseTTFonts: true  
Unix._.Root.TTFontPath: $(ROOTSYS)/ttf/fonts

# GUI specific settings

Gui.NormalFont: -adobe-helvetica-medium-r-_-_-12-_-_-_-_-_-iso8859-1  
Gui.BoldFont: -adobe-helvetica-bold-r-_-_-12-_-_-_-_-_-iso8859-1  
Gui.SmallFont: -adobe-helvetica-medium-r-_-_-10-_-_-_-_-_-iso8859-1  
Gui.ProportionalFont: -adobe-courier-medium-r-_-_-12-_-_-_-_-_-iso8859-1

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [February 4, 2013, 1:15pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584/2 "2013-02-04T13:15:06Z")

</div>

Hi,

And what happens if you set Unix.\*.Root.UseTTFonts to false?

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![filimon](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/c89c15/32.png) [@filimon](https://root-forum.cern.ch/u/filimon)\
**Post date:** [February 4, 2013, 1:39pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584/3 "2013-02-04T13:39:58Z")

</div>

Same. Is there any way to debug this and understand what is actually used? Attached a screenshot in case the fonts are recognisable…  
 ![](https://root-forum.cern.ch/uploads/default/original/2X/c/c728b1ae6ca6b72a02ec8458f76a3170f6f55855.png)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [February 4, 2013, 1:52pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584/4 "2013-02-04T13:52:11Z")

</div>

Well, apparently someone had the same kind of issue:  
[url][Font problem in TBrowser. Ubuntu 12.04](https://root-forum.cern.ch/t/font-problem-in-tbrowser-ubuntu-12-04/14266/1)  
But I really don’t know how to debug this kind of problem… If it doesn’t work for you, I’ll try to set-up a virtual machine to try to reproduce the problem. Just let me know.

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![filimon](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/c89c15/32.png) [@filimon](https://root-forum.cern.ch/u/filimon)\
**Post date:** [February 4, 2013, 2:38pm UTC](https://root-forum.cern.ch/t/x11-fonts-under-kubuntu-12-04/15584/5 "2013-02-04T14:38:04Z")

</div>

Hi,  
following first this

> [@Adobe helvetica on ubuntu 11.04](https://root-forum.cern.ch/t/adobe-helvetica-on-ubuntu-11-04/12319/1):
>
> Dear rooters, I just update to ubuntu 11.04, and after a clean installation of root 5.28.00c, I’m getting: Couldn’t find font “-adobe-helvetica-medium-r---10-----\*-iso8859-1”, trying “fixed”. Please fix your system so helvetica can be found, this font typically is in the rpm (or pkg equivalent) package XFree86-[75,100]dpi-fonts or fonts-xorg-[75,100]dpi. I tried to install many fonts packages but nothing, the problem still. Could someone point me the correct deb package? Thanks for any k…

namely the following

sudo apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac xfonts-75dpi xfonts-100dpi xfs xfstt libXft-dev libXext-dev python python-dev gcc g++ make binutils libx11-dev libxpm-dev libxft-dev libxext-dev build-essential

(although most were already installed except t1XXX-nonfree fonts and xfs/xfstt tha I suspect do the trick 😉 )  
and a reboot fixed the issue, even with my original .rootrc (all Gui\* and TTF\* entries commented out ie defaulted)

Could we then safely assume that the reason is that xfs/xft is not used by default in Kubuntu in favor of xft2 or something equivalent? Dario should know 😉  
filimon
