# Installing Arial font for X11

**URL:** <https://forums.suse.com/t/installing-arial-font-for-x11/27814>\
**Category:** SLES Configure-Administer\
**Created:** [January 20, 2016, 6:02am UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814 "2016-01-20T06:02:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![asavran](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@asavran](https://forums.suse.com/u/asavran)\
**Post date:** [January 20, 2016, 6:02am UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/1 "2016-01-20T06:02:48Z")

</div>

We are hosting reporting services on Weblogic server from Oracle on SLES 11. Our reports are messed up because we are missing some fonts on SUSE. During our investigation, we learned that WEBlogic reporting server inherits the fonts from X11.

Long story short we have been trying to install Arial font under X11 but had no success so far.

the output for command “xset q” is supposed to return the Font Path for X11; and no matter what we did we keep only seeing “Built-ins” for “font-paths”.

We added all the fonts under /usr/share/fonts/TrueType folder and whenever we try to use the “xset +fp” to add the folder in X11 path, we keep getting the “bad font path element (#23)” error.  
Can somebody please point us to the right direction.

Thanks.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 20, 2016, 6:25am UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/2 "2016-01-20T06:25:27Z")

</div>

Hi  
After adding the font(s) did you run the command;

```auto
SuSEconfig fonts
```

This should cleanup and add them (as well as the path).

---

<div class="post-metadata">

**Author:** ![asavran](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@asavran](https://forums.suse.com/u/asavran)\
**Post date:** [January 20, 2016, 4:11pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/3 "2016-01-20T16:11:02Z")

</div>

Thanks for the reply.

We cannot run the command you suggested. Following is what we get:

ifcssuse:/usr/share/fonts/TrueType # ls  
ARIALN.ttf ARIALNI.ttf arblwgl.ttf arialbd.ttf ariblk.ttf  
ARIALNB.ttf ARIALUNI.ttf arial.ttf arialbi.ttf  
ARIALNBI.ttf ARLRDBD.ttf arial.ttf.orig ariali.ttf

ifcssuse:/usr/share/fonts/TrueType # SuSEconfig fonts  
Starting SuSEconfig, the SuSE Configuration Tool…  
Unknown parameter fonts.  
Usage: SuSEconfig [–quick|–nonewpackage|–force|–verbose] [–module name] [–listmodules]

ifcssuse:/usr/share/fonts/TrueType #

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 20, 2016, 4:31pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/4 "2016-01-20T16:31:27Z")

</div>

> [@](#):
>
> On Wed 20 Jan 2016 02:14:01 PM CST, asavran wrote:
> 
> Thanks for the reply.
> 
> We cannot run the command you suggested. Following is what we get:
> 
> ifcssuse:/usr/share/fonts/TrueType # ls  
> ARIALN.ttf ARIALNI.ttf arblwgl.ttf arialbd.ttf ariblk.ttf  
> ARIALNB.ttf ARIALUNI.ttf arial.ttf arialbi.ttf  
> ARIALNBI.ttf ARLRDBD.ttf arial.ttf.orig ariali.ttf
> 
> ifcssuse:/usr/share/fonts/TrueType # SuSEconfig fonts  
> Starting SuSEconfig, the SuSE Configuration Tool…  
> Unknown parameter fonts.  
> Usage: SuSEconfig [–quick|–nonewpackage|–force|–verbose] [–module  
> name] [–listmodules]
> 
> ifcssuse:/usr/share/fonts/TrueType #

Hi  
Maybe it’s font, check the output from for correct syntax;

```auto
SuSEconfig --listmodules
```

Then when you run the xset -q command it should be in the font path.

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![asavran](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@asavran](https://forums.suse.com/u/asavran)\
**Post date:** [January 20, 2016, 7:15pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/5 "2016-01-20T19:15:14Z")

</div>

Thanks… I was executing the command wrong, but still no luck. Still only “built-ins” is listed under X11 as the fonts; isn’t it supposed to be listing all the fonts instead?

Please see the output for xset q:

ifcssuse:/usr/share/fonts/TrueType # xset q  
Keyboard Control:  
auto repeat: on key click percent: 0 LED mask: 00000000  
auto repeat delay: 500 repeat rate: 30  
auto repeating keys: oofeffffdffffbbf  
fadfffffffdfe5ef  
ffffffffffffffff  
ffffffffffffffff  
bell percent: 50 bell pitch: 400 bell duration: 100  
Pointer Control:  
acceleration: 2/1 threshold: 4  
Screen Saver:  
prefer blanking: yes allow exposures: yes  
timeout: 0 cycle: 0  
Colors:  
default colormap: ox20 BlackPixel: 0 WhitePixel: 65535  
Font Path:  
built-ins  
DPMS (Energy Star):  
Display is not capable of DPMS  
Font cache:  
Server does not have the FontCache Extension

ifcssuse:/usr/share/fonts/TrueType #[/B]

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 20, 2016, 8:32pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/6 "2016-01-20T20:32:01Z")

</div>

> [@](#):
>
> On Wed 20 Jan 2016 05:24:02 PM CST, asavran wrote:
> 
> Thanks… I was executing the command wrong, but still no luck. Still  
> only “built-ins” is listed under X11 as the fonts; isn’t it supposed to  
> be listing all the fonts instead?
> 
> Please see the output for xset q:
> 
> ifcssuse:/usr/share/fonts/TrueType # xset q  
> Keyboard Control:  
> auto repeat: on key click percent: 0 LED mask: 00000000  
> auto repeat delay: 500 repeat rate: 30  
> auto repeating keys: oofeffffdffffbbf  
> fadfffffffdfe5ef  
> ffffffffffffffff  
> ffffffffffffffff  
> bell percent: 50 bell pitch: 400 bell duration: 100  
> Pointer Control:  
> acceleration: 2/1 threshold: 4  
> Screen Saver:  
> prefer blanking: yes allow exposures: yes  
> timeout: 0 cycle: 0  
> Colors:  
> default colormap: ox20 BlackPixel: 0 WhitePixel: 65535  
> Font Path:  
> built-ins  
> DPMS (Energy Star):  
> Display is not capable of DPMS  
> Font cache:  
> Server does not have the FontCache Extension
> 
> ifcssuse:/usr/share/fonts/TrueType #[/B]

Hi  
The truetype folder should be /usr/share/fonts/truetype/ not TrueType.

Can you install xorg-x11-fonts package?

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![asavran](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@asavran](https://forums.suse.com/u/asavran)\
**Post date:** [January 20, 2016, 8:54pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/7 "2016-01-20T20:54:52Z")

</div>

We created a folder called truetype as well.

I went into that folder just like I did with TrueType. Executed the same set of commands but still the same output ☹

I also checked YasT for installed packages. The package you mentioned (xorg-x11-fonts) is already installed (v7.4.1.20).

I don’t know what is wrong?!?!

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 20, 2016, 10:47pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/8 "2016-01-20T22:47:41Z")

</div>

> [@](#):
>
> On Wed 20 Jan 2016 07:04:01 PM CST, asavran wrote:
> 
> We created a folder called truetype as well.
> 
> I went into that folder just like I did with TrueType. Executed the same  
> set of commands but still the same output ☹
> 
> I also checked YasT for installed packages. The package you mentioned  
> (xorg-x11-fonts) is already installed (v7.4.1.20).
> 
> I don’t know what is wrong?!?!

Hi  
If you run the following command (as root user) if should provide more  
info on where it’s looking and how many fonts etc.

```auto
fc-cache -v (or -fv)
```

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![asavran](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@asavran](https://forums.suse.com/u/asavran)\
**Post date:** [January 21, 2016, 5:05pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/9 "2016-01-21T17:05:32Z")

</div>

Based on this everything is fine:

ifcssuse:~ # fc-cache -v  
/usr/share/fonts: skipping, existing cache is valid: 1 fonts, 10 dirs  
/usr/share/fonts/100dpi: skipping, existing cache is valid: 398 fonts, 0 dirs  
/usr/share/fonts/75dpi: skipping, existing cache is valid: 398 fonts, 0 dirs  
/usr/share/fonts/Speedo: skipping, existing cache is valid: 0 fonts, 0 dirs  
/usr/share/fonts/TrueType: skipping, existing cache is valid: 13 fonts, 0 dirs  
/usr/share/fonts/Type1: skipping, existing cache is valid: 29 fonts, 0 dirs  
/usr/share/fonts/URW: skipping, existing cache is valid: 43 fonts, 0 dirs  
/usr/share/fonts/cyrillic: skipping, existing cache is valid: 0 fonts, 0 dirs  
/usr/share/fonts/encodings: skipping, existing cache is valid: 0 fonts, 1 dirs  
/usr/share/fonts/encodings/large: skipping, existing cache is valid: 0 fonts, 0 dirs  
/usr/share/fonts/misc: skipping, existing cache is valid: 136 fonts, 0 dirs  
/usr/share/fonts/truetype: skipping, existing cache is valid: 142 fonts, 0 dirs  
/usr/X11R6/lib/X11/fonts: skipping, no such directory  
/opt/kde3/share/fonts: skipping, no such directory  
/usr/local/share/fonts: skipping, no such directory  
/usr/share/fonts/truetype: skipping, looped directory detected  
/usr/share/fonts/TrueType: skipping, looped directory detected  
/root/.fonts: skipping, existing cache is valid: 2 fonts, 0 dirs  
/usr/share/fonts/misc: skipping, looped directory detected  
/usr/share/fonts/100dpi: skipping, looped directory detected  
/usr/share/fonts/Type1: skipping, looped directory detected  
/usr/share/fonts/cyrillic: skipping, looped directory detected  
/usr/share/fonts/Speedo: skipping, looped directory detected  
/usr/share/fonts/75dpi: skipping, looped directory detected  
/usr/share/fonts/encodings: skipping, looped directory detected  
/usr/share/fonts/encodings/large: skipping, looped directory detected  
/var/cache/fontconfig: cleaning cache directory  
/root/.fontconfig: not cleaning non-existent cache directory  
fc-cache: succeeded

* * *

Both truetype and TrueType are read. But that is not the case…

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 21, 2016, 5:45pm UTC](https://forums.suse.com/t/installing-arial-font-for-x11/27814/10 "2016-01-21T17:45:42Z")

</div>

> [@](#):
>
> On Thu 21 Jan 2016 03:14:01 PM CST, asavran wrote:
> 
> Based on this everything is fine:
> 
> ifcssuse:~ # fc-cache -v  
> /usr/share/fonts: skipping, existing cache is valid: 1 fonts, 10 dirs  
> /usr/share/fonts/100dpi: skipping, existing cache is valid: 398 fonts, 0  
> dirs  
> /usr/share/fonts/75dpi: skipping, existing cache is valid: 398 fonts, 0  
> dirs  
> /usr/share/fonts/Speedo: skipping, existing cache is valid: 0 fonts, 0  
> dirs  
> /usr/share/fonts/TrueType: skipping, existing cache is valid: 13 fonts,  
> 0 dirs  
> /usr/share/fonts/Type1: skipping, existing cache is valid: 29 fonts, 0  
> dirs  
> /usr/share/fonts/URW: skipping, existing cache is valid: 43 fonts, 0  
> dirs  
> /usr/share/fonts/cyrillic: skipping, existing cache is valid: 0 fonts, 0  
> dirs  
> /usr/share/fonts/encodings: skipping, existing cache is valid: 0 fonts,  
> 1 dirs  
> /usr/share/fonts/encodings/large: skipping, existing cache is valid: 0  
> fonts, 0  
> dirs  
> /usr/share/fonts/misc: skipping, existing cache is valid: 136 fonts, 0  
> dirs  
> /usr/share/fonts/truetype: skipping, existing cache is valid: 142 fonts,  
> 0 dirs  
> /usr/X11R6/lib/X11/fonts: skipping, no such directory  
> /opt/kde3/share/fonts: skipping, no such directory  
> /usr/local/share/fonts: skipping, no such directory  
> /usr/share/fonts/truetype: skipping, looped directory detected  
> /usr/share/fonts/TrueType: skipping, looped directory detected  
> /root/.fonts: skipping, existing cache is valid: 2 fonts, 0 dirs  
> /usr/share/fonts/misc: skipping, looped directory detected  
> /usr/share/fonts/100dpi: skipping, looped directory detected  
> /usr/share/fonts/Type1: skipping, looped directory detected  
> /usr/share/fonts/cyrillic: skipping, looped directory detected  
> /usr/share/fonts/Speedo: skipping, looped directory detected  
> /usr/share/fonts/75dpi: skipping, looped directory detected  
> /usr/share/fonts/encodings: skipping, looped directory detected  
> /usr/share/fonts/encodings/large: skipping, looped directory detected  
> /var/cache/fontconfig: cleaning cache directory  
> /root/.fontconfig: not cleaning non-existent cache directory  
> fc-cache: succeeded
> 
> * * *
> 
> Both truetype and TrueType are read. But that is not the case…

Hi  
Try the -rv option to force a rebuild (really-force). The only other  
thought is to install a system truetype (zypper se font) font and see if  
it sets things up…

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!
