#653702 xosview: fails to start with cryptic font error

Package:
xosview
Source:
xosview
Description:
X based system monitor
Submitter:
Matias Bellone
Date:
2011-12-31 14:36:06 UTC
Severity:
normal
#653702#5
Date:
2011-12-30 13:10:18 UTC
From:
To:
Dear Maintainer,

When installing xosview and without any further configuration whatsoever the
error message I get is kind of strange:

$ xosview
xosview: display :0 cannot load font 7x13bold

At first I thought that it was due to not installing the xfonts-base package
but even after installing that package it still fails with the same error.

#653702#10
Date:
2011-12-30 13:53:04 UTC
From:
To:
Thanks for your bug report! Was xosview working fine before upgrade to
1.9.1? Did you had xfonts-base installed before?

<snip>

^^^
Are you sure you installed xfonts-base before sending this bug report? :)

#653702#15
Date:
2011-12-30 14:00:02 UTC
From:
To:
By any chance, setting following in /etc/X11/app-defaults/XOsview

xosview*font:               6x10

instead of

xosview*font:               7x13bold

helps?

#653702#20
Date:
2011-12-30 14:14:27 UTC
From:
To:
No idea. I didn't have xosview installed before. As I said it was a
clean install with no config whatsoever.

When I opened reportbug I didn't and, while writing the report, I
realized that I was blaming it on that package without checking first.
So I installed the package, re-tested and edited the report
accordingly.

What's more, I was actually using the testing version at first and
upgraded to the unstable version when reportbug told me that there was
a new version there.

It doesn't. It does change the error message, though:

$ xosview
xosview: display :0 cannot load font 6x10

This is the reportbug information with the current install:

#653702#25
Date:
2011-12-30 15:52:34 UTC
From:
To:
Did you restart X, or run xset fp rehash, after installing the fonts?

Cheers,
Julien

#653702#30
Date:
2011-12-30 16:38:50 UTC
From:
To:
I ran "xset fp rehash", tried again and the same thing happens. Both
with 7x13bold and 6x10 :(

Regards,
Matías

#653702#35
Date:
2011-12-30 17:32:59 UTC
From:
To:
2011/12/30 Matías Bellone <matiasbellone+debian@gmail.com>:

What about X restart?

#653702#40
Date:
2011-12-30 19:53:55 UTC
From:
To:
That did the trick, without changes to the config files (i.e. using 7x13bold).

Sounds like the bug is in xfonts-base then, right?

Regards,
Matías

#653702#45
Date:
2011-12-31 11:30:49 UTC
From:
To:
2011/12/31 Matías Bellone <matiasbellone+debian@gmail.com>:

Thanks for testing :)

Julien, what do you suggest on this? Or is it normal behavior?

#653702#50
Date:
2011-12-31 11:37:08 UTC
From:
To:
I don't think there's a bug here (other than xosview not falling back to
another font nicely, but I'm not sure even that can be expected).

I guess "xset +fp /usr/share/fonts/X11/misc" would have worked as well
instead of restarting the server.

Cheers,
Julien

#653702#55
Date:
2011-12-31 14:32:35 UTC
From:
To:
severity 653702 normal
forwarded 653702 mark@pogo.org.uk
thanks

Resetting severity to normal. Notified upstream too.