You are not logged in.

#1 2008-06-25 11:57:17

dziq
Member
From: Olsztyn, Poland
Registered: 2008-03-26
Posts: 65
Website

Wmii + xft fonts ???

Hello there!
I was wondering if there is any possibility to set up xft in wmii 3.6. Can anybody help me to solve this problem.:(

Offline

#2 2008-06-25 13:03:24

rostoQ
Member
Registered: 2008-06-25
Posts: 40

Re: Wmii + xft fonts ???

afaik it isn't (easily) possible... i tryed it once when i was on wmii but it wouldnt work...

Further, i think you shouldnt bother anyway. The text you can change in wmii is to small to apply any special font nicely... (unless you choose to make it bigger, but thats just wasting the space you gained by using a tiling-wm, just my opinion...)

PS: Hi to the Forum!

Last edited by rostoQ (2008-06-25 13:05:15)

Offline

#3 2008-06-27 08:11:09

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: Wmii + xft fonts ???

Updated: for people searching for this…

XFT support has now been added to WMII. Simply add the xft: prefix to your desired font eg.

wmiir xwrite /ctl "font xft:DejaVu Sans Mono-7"

Last edited by N30N (2009-08-12 16:04:48)

Offline

#4 2009-10-11 19:03:57

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

N30N wrote:

Updated: for people searching for this…

Sorry for bringing this thread up again.

But WHERE to put the fonts?

I always get "wmiir: fatal: cannot write file '/ctl': can't load font", no matter, what i want to use as font

Offline

#5 2009-10-11 20:10:22

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Wmii + xft fonts ???

You're probably missing the font path in your xorg.conf, try adding the below before running that

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

Offline

#6 2009-10-11 20:50:23

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

rusty99 wrote:

You're probably missing the font path in your xorg.conf

I don't even HAVE a xorg.conf smile I added it and copied a nice ttf font in the folder. Then i restarted X and tried N30N's command, but it always tells me "wmiir: fatal: cannot write file '/ctl': can't load font".

I tried the file name with and without suffix. I tried the font's name as shown in OpenOffice.org Writer and i tried the absolute path.

$ cat /etc/X11/xorg.conf
Section "Files"
        FontPath        "/usr/share/fonts/local"
EndSection

$ ls /usr/share/fonts/local
Purisa.ttf

Last edited by Dirk Sohler (2009-10-11 20:52:32)

Offline

#7 2009-10-11 21:35:15

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Wmii + xft fonts ???

Do you have plan9port installed?

Offline

#8 2009-10-11 22:06:48

portix
Member
Registered: 2009-01-13
Posts: 757

Re: Wmii + xft fonts ???

You can install ttf-thai from extra, then

wmiir xwrite /ctl font xft:purisa

should work.

Offline

#9 2009-10-11 22:50:55

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

@rusty99: no, i don't do i need it for getting xft fonts support?

@portix: installed the font, updated font cache and even restarted X, but no result, it still says it can't load the font.

Offline

#10 2009-10-12 07:24:47

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Wmii + xft fonts ???

I honestly don't know wink I was just wondering if it's needed for using the virtual filesystem.

Offline

#11 2009-10-12 07:42:16

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

rusty99 wrote:

I honestly don't know wink I was just wondering if it's needed for using the virtual filesystem.

I guess not smile I can use wmiir as i want. Other things regarding to the virtual file system work.

Offline

#12 2009-10-12 14:32:46

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: Wmii + xft fonts ???

Dirk Sohler wrote:

I always get "wmiir: fatal: cannot write file '/ctl': can't load font", no matter, what i want to use as font

Are you using wmii-hg?

Offline

#13 2009-10-12 20:28:36

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

N30N wrote:
Dirk Sohler wrote:

I always get "wmiir: fatal: cannot write file '/ctl': can't load font", no matter, what i want to use as font

Are you using wmii-hg?

No, i don't. Does this only work with wmii-hg?

Offline

#14 2009-10-13 00:16:34

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: Wmii + xft fonts ???

Dirk Sohler wrote:

Does this only work with wmii-hg?

Yeah, the 3.6 (the version in extra) is almost two years old and missing many improvements.

Offline

#15 2009-10-13 07:16:35

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Wmii + xft fonts ???

N30N wrote:
Dirk Sohler wrote:

Does this only work with wmii-hg?

Yeah, the 3.6 (the version in extra) is almost two years old and missing many improvements.

I guess it should be updated smile

Offline

Board footer

Powered by FluxBB