You are not logged in.

#1 2007-03-28 07:52:44

jordi
Member
Registered: 2006-12-16
Posts: 103
Website

enable bitmap fonts?

hi there,

i tried to installed terminus-font  with pacman but somehow i don't get it to work... at least not in x11
i can use terminus as a consolefont


after reading wiki / this board i figured out that i need to enable bitmaps

so i tried to enable it - putting a symlink in my /etc/fonts/conf.d/

ll /etc/fonts/conf.d/ shows

lrwxrwxrwx 1 root root 41 28. Mär 09:33 70-bitmaps.conf -> /etc/fonts/conf.avail/70-yes-bitmaps.conf

but after a x restart I still don't get terminus-font in xfontsel or xlsfonts sad


I have also "load bitmap" in my xorg.conf and the font-cache is uptodate



p.s. excuse my bad english smile

Last edited by jordi (2007-03-28 07:57:02)

Offline

#2 2007-03-28 09:02:43

stb
Member
Registered: 2007-03-13
Posts: 40

Re: enable bitmap fonts?

You added

    FontPath   "/usr/share/fonts/local"

to your xorg.conf?

Offline

#3 2007-03-28 09:17:00

jordi
Member
Registered: 2006-12-16
Posts: 103
Website

Re: enable bitmap fonts?

Section "Files"
    FontPath "/usr/share/fonts"
    #FontPath "/usr/share/fonts/local"
EndSection

when i uncomment it i get

Fatal server error:
could not open default font 'fixed'

when i try to start X


edit:

had to delete the fonts.dir and fonts.scale which I had in /usr/share/fonts/local...

now I can start X with the FontPath in the xorg.conf, but i still can't use the terminus font...


edit#2:

i can select terminus in swiftfox... but can't find it with xlsfonts - how do i get it in my xterm?

Last edited by jordi (2007-03-28 09:47:28)

Offline

#4 2007-05-05 21:19:42

Ankka
Member
From: Finland
Registered: 2007-04-08
Posts: 98

Re: enable bitmap fonts?

I have had excactly the same problem... neither artwiz nor terminus show up in xfontsel... but xft does find them.

If I add the font dirs I get the same error.

Wouldn't be a problem but ion3 doesn't support xft (it's a feature wink) and I'd like to change the font.

Offline

#5 2007-05-05 22:56:07

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: enable bitmap fonts?

For broken and/or braindead applications that still haven't switched to fontconfig/freetype2 for fonts, you have to setup fontpaths in xorg.conf. X comes with some preconfigured paths compiled in the server, but as soon as you set a fontpath, X will skip its builtin values. Be sure to include /usr/share/fonts/misc in the fontpath, otherwise X can't find your fonts.

Offline

#6 2007-05-06 13:40:56

Ankka
Member
From: Finland
Registered: 2007-04-08
Posts: 98

Re: enable bitmap fonts?

JGC wrote:

For broken and/or braindead applications that still haven't switched to fontconfig/freetype2 for fonts, you have to setup fontpaths in xorg.conf. X comes with some preconfigured paths compiled in the server, but as soon as you set a fontpath, X will skip its builtin values. Be sure to include /usr/share/fonts/misc in the fontpath, otherwise X can't find your fonts.

The problem is that when I include /usr/share/fonts/artwiz-fonts as a fontpath, X doesn't start. It gives excactly the same error the previous poster said.

Offline

#7 2007-05-06 16:09:36

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: enable bitmap fonts?

That's because you have to include the /usr/share/fonts/misc directory in your fontpath also. When you specify a fontpath, Xorg forgets about its compiled defaults and uses your configured fontpath only.

Offline

#8 2007-05-06 18:35:55

Ankka
Member
From: Finland
Registered: 2007-04-08
Posts: 98

Re: enable bitmap fonts?

JGC wrote:

That's because you have to include the /usr/share/fonts/misc directory in your fontpath also. When you specify a fontpath, Xorg forgets about its compiled defaults and uses your configured fontpath only.

Ah, my bad.

I had the default "/usr/share/fonts/X11/misc" enabled, and I enabled all in /usr/share/fonts but I misread that to be misc.. now it works. smile

Offline

Board footer

Powered by FluxBB