You are not logged in.

#1 2008-11-21 11:35:57

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

dzen2 and xft

I edited the PKGBUILD of dzen2-svn from AUR so instead of checking out trunk, it'd check svn/branches/dzen-xft. Everything went fine during installation, but now when I run dzen2, it shows no text.

When I using xmonad, the background of the selected workspace changes, so I know it's working. Or at leat half-working.

Any idea?


(lambda ())

Offline

#2 2008-12-07 21:09:19

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: dzen2 and xft

Did you ever solve this?

Offline

#3 2008-12-07 21:12:39

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

No, I went back to the original dzen2.


(lambda ())

Offline

#4 2008-12-07 21:19:45

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: dzen2 and xft

Hmm ok sad

Offline

#5 2008-12-08 00:13:04

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: dzen2 and xft

Any changes on this?


Use the Source, Luke!

Offline

#6 2008-12-08 00:18:52

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: dzen2 and xft

I just gave up, I may look into it again later during the holidays if I have time. Right now I have more important things to do.

Last edited by Zepp (2008-12-08 00:19:04)

Offline

#7 2008-12-10 11:47:29

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: dzen2 and xft

This following works for me:

echo dingalinglangalangdanddingdong | dzen2-xft -fn 'Bitstream Vera Sans-15:Bold' -p

I checked out the svn repo with the following command: svn checkout http://dzen.googlecode.com/svn/branches/dzen-xft

Build it and placed my renamed executable in my path.
It's not the arch way etc. but I can live with binaries in ~/bin.

It works here. As far as I know the xft branch is not complete, but is still being worked on.

Scrot:
vMTA3dg

Last edited by Ashren (2008-12-10 11:53:11)

Offline

#8 2008-12-10 12:07:08

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

Still no luck. It compiles fine and it even shows a black bar, but with no text in it.


(lambda ())

Offline

#9 2008-12-26 10:55:52

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

Re: dzen2 and xft

andre.ramaciotti did you ever solve this? I've got the same problem sad

Offline

#10 2008-12-26 11:07:15

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

Still no luck.

Anyone here thinks it may be related with X configuration? I have composition enabled and I'm loading these modules:

Section "Module"
    Load  "dbe"
    Load  "freetype"
    SubSection "extmod"
        Option     "omit xfree86-dga"
    EndSubSection

EndSection

(lambda ())

Offline

#11 2008-12-27 08:33:42

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

Re: dzen2 and xft

andre.ramaciotti, I finally got this working. I tried it under Xfce which is the other wm I use and it worked fine. And it pulls its font settings from Xft.xrdb so I added those to .Xdefaults did a, xrdb -load ~/.Xdefaults and it all worked.

The settings in Xft.xrdb were,
Xft.antialias: 1
Xft.hinting: -1
Xft.rgba: rgb
Xft.hintstyle: hintslight
Xft.dpi: 100

Hope it works for you
Cheers Paul-S

Offline

#12 2008-12-27 11:25:44

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

It didn't work here. sad


(lambda ())

Offline

#13 2009-02-11 20:31:48

gotmor
Member
From: Germany
Registered: 2007-09-03
Posts: 84
Website

Re: dzen2 and xft

SVN revision 241 comes with (optional) XFT support.

The support is enabled by default for testing purposes.
Please report any issues you may experience.

Get the latest SVN revision:

svn checkout http://dzen.googlecode.com/svn/trunk/ dzen

http://dzen.geekmode.org/dwiki/doku.php … index#news


Bye, Rob.

Offline

#14 2009-02-11 22:40:55

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: dzen2 and xft

Great!

Preliminary trial

http://omploader.org/vMThvMQ

Last edited by Ashren (2009-02-11 22:44:25)

Offline

#15 2009-02-12 11:25:35

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

It's working here! smile

edit: Only a question, though. How can I use bold fonts? "dzen2 -fn 'DejaVu Sans Bold:size=8' " didn't work.

Last edited by andre.ramaciotti (2009-02-12 12:03:09)


(lambda ())

Offline

#16 2009-02-12 17:21:15

gotmor
Member
From: Germany
Registered: 2007-09-03
Posts: 84
Website

Re: dzen2 and xft

andre.ramaciotti wrote:

It's working here! smile

edit: Only a question, though. How can I use bold fonts? "dzen2 -fn 'DejaVu Sans Bold:size=8' " didn't work.

Does that font really exist on your system?

What works for me is:

echo "Normal ^fn(Vera:bold) bold ^fn(Vera:italic) italic ^fn(Vera:size=8) small ^fn() normal" | dzen2 -fn Vera -p

vMThyNA


Respectively for the '-fn' parameter.


Bye, Rob.

Last edited by gotmor (2009-02-12 17:27:29)

Offline

#17 2009-02-12 17:39:21

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: dzen2 and xft

Thanks smile


(lambda ())

Offline

Board footer

Powered by FluxBB