You are not logged in.

#1 2012-12-27 10:47:06

sugarvenom
Member
Registered: 2012-12-26
Posts: 6

[SOLVED] Font not showing up in xfontsel

I've been trying to get tamsynmod font from the AUR to display in xfontsel so I can then set it in my config.h for dwm. However I can't seem to get it to show up in the font list. I've installed it properly and updated the font cache (which is also done when I installed the font) but still no show. I'm sure I'm doing something painfully noobish so forgive me if I am.

Any ideas?

Last edited by sugarvenom (2012-12-27 11:10:04)

Offline

#2 2012-12-27 11:01:39

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Font not showing up in xfontsel

In your /usr/share/fonts/local/

# mkfontscale
# mkfontdir

Update font cache, then

xset +fp /usr/share/fonts/local

Last edited by illusionist (2012-12-27 11:03:02)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-12-27 11:09:37

sugarvenom
Member
Registered: 2012-12-26
Posts: 6

Re: [SOLVED] Font not showing up in xfontsel

illusionist wrote:

In your /usr/share/fonts/local/

# mkfontscale
# mkfontdir

Update font cache, then

xset +fp /usr/share/fonts/local

That worked! Thank you! I'll mark this as solved. Would you be able to tell me what those first two commands are? I know the last one is setting the font directory but not sure on the first two.

Last edited by sugarvenom (2012-12-27 11:10:20)

Offline

#4 2012-12-27 11:27:47

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Font not showing up in xfontsel

They make 2 files in the directory called 'fonts.scale' and 'fonts.dir' respectively, which contains information about the fonts in that directory(font family, encoding, size etc) . You can see the strings xfontsel return in those files.
For more info:

man mkfontscale
man mkfontdir

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

Board footer

Powered by FluxBB