On Mon, 22 Apr 2019, Jamie Zawinski wrote:

Xscreensaver 5.42 tries really hard to do something sensible with whatever set of garbage fonts you happen to have installed, so it would be helpful if you send me the output of xlsfonts on your system where it's doing something terrible.

Attached fonts.txt.gz with that output.

In experimenting with this, I noticed that if I launch xfontsel and tell it
to use the same font spec xscreensaver defaults to, it comes up ...  bit
with all the text blank.  Just like xscreensaver.  But if I launch it
normally, I can't find any font that matches that font spec, oddly.

If you're feeling adventurous, rebuilding with DEBUG defined in utils/font-retry.c and sending me the output of a run with that version would also be helpful.

Did that ... also had to increase the size of stderr_buffer by 100x in order to get all the output without truncation. Attached xscreensaver.debug.log.gz with the output of that. That log shows launching "xscreensaver -verbose", then from another terminal I ran "xscreensaver-command -lock", unlocked it interactively, and then ran "xscreensaver-command -exit" to terminate it cleanly. All the font related output starts when I began the unlock process, unsurprisingly.

If I read the logs correctly, it looks like the determined font it's choosing is:

xscreensaver: substituted "-*-*-medium-r-*-*-*-170-*-*-p-*-iso10646-1" for 
"-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-1"

I'm not sure what font that is ... I can't find it in xlsfonts. I can get close, if I ignore the 170, but the font that picks doesn't render any characters in xfontsel, which is ... suspicious. Poking around most of the options in xfontsel under iso10646 fail to render characters, or at least any letters or numbers.

For comparison, when xfonts-100dpi is installed, the font debug output, in its entirety, is:

xscreensaver: loaded -*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-1
xscreensaver: loaded -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1
xscreensaver: loaded -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1
xscreensaver: loaded -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-1
xscreensaver: loaded -*-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
xscreensaver: loaded -*-helvetica-medium-r-*-*-*-80-*-*-*-*-iso8859-1
xscreensaver: loaded -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1

Hope all this helps, let me know if there's more info I can collect that would be useful.

--
        -- Matt
"Reality is that which, when you stop believing in it, doesn't go away".
                -- Philip K. Dick
GPG fingerprint: 0061 15DF D282 D4A9 57CE  77C5 16AF 1460 4A3C C4E9

Attachment: fonts.txt.gz
Description: fonts.txt.gz

Attachment: xscreensaver.debug.log.gz
Description: xscreensaver.debug.log.gz

Reply via email to