You are not logged in.

#1 2008-11-19 02:24:40

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

[solved]fontserver

There _is_ a /etc/rc.d/xfs.rc but trying to restart it (or plain start) doesn't work.
All the same - there's a plentitude of xfs... running (I must admit to using a xfs filesystem as well - I'm not quite sure which is which)

I have installed the liberation fonts (I know - they come from redhat and I apologize!!) in
/usr/share/fonts/extra and run mkfontdir and mkfontscale and fc-cache
Also updated /etc/X11/xorg.conf and /etc/X11/fs/config with the /usr/share/fonts/extra directory

The funny thing is - I can use all the liberation fonts under virtually any X-program, but some of them will just not find them. In particular xfontsel!! and xterm/rxvt (terminal, gnome-terminal and konsol are ok)

Any hints on how they can be recognized system-wide?

Last edited by perbh (2008-11-24 20:11:32)

Offline

#2 2008-11-19 17:30:37

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [solved]fontserver

maybe a li'l _bump_ might help things ...

Offline

#3 2008-11-19 17:39:21

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved]fontserver

You can install the AUR package and they'll just work:

http://aur.archlinux.org/packages.php?ID=10860

Offline

#4 2008-11-20 03:13:04

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [solved]fontserver

I _could_ (and I'll probably try), but I have exactly the same problem with some other fonts I have put in the same directory - 'samanata' for one ...
They suffer from the same problem .. *sigh*

Offline

#5 2008-11-21 16:30:21

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [solved]fontserver

sorry guys - need to bump this one again.
As stated above - it's not _only_ liberation - I have other fonts (samanata for one) that suffers from the same illness - ie I can use them within most X-related apps, even terminal,gnome-terminal and konsol but NOT in xfontsel/xterm/?rxvt.

Offline

#6 2008-11-21 17:12:20

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved]fontserver

Wait wait wait... Why are you running a font server? Don't do that, it's a near-dead technology.

There are two font systems under X. XFont and XFT. If the liberation fonts do not show up under xfontsel, but do work in gnome, they are probably XFT fonts. Font's are way too complicated...

Can you give me some info on where exactly these fonts are located, what the dirs look like in your xorg.conf, and what settings are failing (the exact settings. urxvt has different syntax for using XFT fonts)

Offline

#7 2008-11-24 18:55:29

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [solved]fontserver

Sorry phrakture - I've been out of commission for a while ...

Most of my fonts are in /usr/share/fonts/{100dpi,75dpi,TTF,Type1,misc,speedo}
I have made a /usr/share/fonts/extra where I have put liberation, samanata etc
Then:
bash# cd /usr/share/fonts/extra
bash# mkfontdir .
bash# mkfontscale .
bash# fc-cache
bash# /etc/rc.d/xfs.rc restart

Obviously, xfs was running seeing I got an OK when 'restart' stops it and then start.
I can use those fonts in almost any application and they work allright - but _not_ in any xterm/rxvt window. Even in konsole/terminal/gnome-terminal they work ok (I'm using xfce4 as window manager)
Maybe I'm just not using the right 'name' for it in (u)rxvt/xterm? I didn't realize they used a different font assignment.

The appropriate entry in xorg.conf:
Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/extra"
EndSection

I have tried to do a:
mrxvt -fn '-misc-liberation mono-medium-r-normal--*-120-*-*-m-0-iso8859-1'
and it complains about not being able to find the font - same thing for xterm... :-(

I guess my info might be somewhat outdated - this is the way I used to install fonts in days of yore ...

I'll google on XFont/XFT to see what I can come up with ...

[edit]
Hmmm - for one strange reason - now it seems to work in xterm/mrxvt (though it looks like sh..) ('liberation mono' that is)
I did a 'xlsfonts | grep liberation' and that gave it to me ...
'xfontsel' still refuses to acknowledge it ...

[yaedit]
*shaking my head* and now 'xfontsel' finds it!! and (to my knowledge) I have done nothing new!!
Anyway - I guess it can be regarded as 'solved'!

Last edited by perbh (2008-11-24 20:10:05)

Offline

Board footer

Powered by FluxBB