frankzen / wbar

wbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Problem load font file. none"

GoogleCodeExporter opened this issue · comments

I packaged wbar-2.2.2 for pkgsrc on NetBSD-5.99.52/amd64.
It seems to work fine, but when it starts up, it writes to stdout:
Problem load font file. none

There are no mouseover texts over the icons, but I don't know if there should 
be any :)

Original issue reported on code.google.com by tk@giga.or.at on 18 Jun 2011 at 12:20

To have text in wbar the first text config item must point to a valid font file 
without it's extension name and have a size: Example

If the font file is /usr/share/fonts/TTF/VeraMono.ttf and you want size 10, then

t: /usr/share/fonts/TTF/VeraMono/10

Original comment by warlock.cc on 20 Dec 2011 at 2:50

  • Changed state: WontFix
  • Added labels: Priority-Low, Type-Task
  • Removed labels: Priority-Medium, Type-Defect
Thank you for explaining how to make wbar use a font.
I opened the bug report because it didn't work out of the box and it wasn't 
documented in the wbar or wbar-config man pages.

Since it is working fine after adding the line, I change my bug report to a 
documentation one:
Please document this necessary line in the man pages for wbar and/or 
wbar-config.
If possible, also extend wbar-config that it writes this line by default or 
choose a common font as default (DejaVu for example), since for me, it didn't.
Thanks.

Original comment by tk@giga.or.at on 26 Dec 2011 at 11:54

Yes, there is definitely  a need to add some sanitization routines for wbar 
configuration file, but there are some tasks with higher priority.

The ticket is reopened now, and sanitization will be implemented, but could you 
please write a manual page on wbar configuration file meanwhile?

Original comment by ivan.fit...@eltrino.com on 11 Jan 2012 at 12:35

Original comment by ivan.fit...@eltrino.com on 11 Jan 2012 at 12:35

  • Changed state: New
I've improved wbar-config(1) much and wbar(1) slightly. Hope this helps.
(based on the versions in 2.2.2)

Original comment by tk@giga.or.at on 15 Jan 2012 at 12:18

Attachments:

Thank you, the changes were commited to svn (revision 37)

Original comment by ivan.fit...@eltrino.com on 20 Jan 2012 at 3:02

Run not mandatory location font

Original comment by yadick...@gmail.com on 6 Mar 2012 at 11:09

  • Changed state: Fixed