1752785 Members
6295 Online
108789 Solutions
New Discussion юеВ

X11 fonts

 
Mariani Alberto
Frequent Advisor

X11 fonts

A very simple question: how can i add fonts to be used with X applications? Do i need to "inform" the x server that the fonts have been added?

Thanks,

Alberto
2 REPLIES 2
Ollie R
Respected Contributor

Re: X11 fonts

Hi Alberto,
You need to modify the font server config file (/etc/X11/fs/config) and change the "catalogue" line to include your new path.
Hope this helps,
Ollie.
To err is human but to not award points is unforgivable
Alex Glennie
Honored Contributor

Re: X11 fonts

copy the fonts to a directory,
cd into it and run mkfontdir
it should create 2 additional files font.dir and font.alias ....

use xset +fp to add the fontpath to your x enviroment or to xfs catalog line in /etc/X11/fs/config.

To let the Xserver know about the change run
xset fp rehash

check using xlsfonts ?? grep -i

ps if fonts are compressed uncompress them