Package: icewm
Version: 1.2.35-1
Severity: minor

Sorry, here we go again. What non-proprietary font do I need to put in
the preferences file to show the character "积" (U+79EF) in the icewm
parts around the edges of the screen? Sorry I'm so dumb* and have to
ask you each time.

Maybe the name is somewhere in /etc/defoma/hints/*

Currently I use "sans-serif,Bitstream Vera Sans".

*Actually I NOT dumb one single bit.
It is icewm that is dumb.
Do I have to go figuring out this font mess for emacs? No.
$ emacs -Q shows it fine.
Do I have to go figuring out this font mess for firefox/iceweasel? No.
$ firefox shows it fine.
Why can't icewm just do whatever they do to pull that character out of
wherever it is stored, which I don't know how to track down though I
can see that character fine in emacs and firefox/iceweasel?
The whole Debian font world is a mystery to me.
All I know is that I can't get it into the icewm edges of the screen
if it is in <title>积丹尼</title> in firefox, though the other two
characters show up fine.

Anyways, emacs and firefox have preferred font setting, just like
icewm.

However, emacs and firefox have an ability that icewm lacks: the
ability to reach into the rest of the officially installed fonts on
the system to find any characters not listed by the user in his
preferred font list, if he indeed even has made such a list.

OK, assuming that icewm will not improve with the times, and remain
lacking the aforementioned ability, how might I make a shell script to
add all the officially installed font names on my system to
~/.icewm/preferences in a format it understands.

With all the font names on my system stuffed into
~/.icewm/preferences, I would never again have missing fonts in those
icewm controlled edges of my screen.

OK. I used
$ for f in  /etc/defoma/hints/*;do perl -nwe \
's/.*\sFontName = (.*)/$1/&&s/-/ /g&&print&&exit' $f
done|sort|perl -nwe 's/\n/,/g&&print'

And put in ~/.icewm/preferences:

TitleFontNameXft="sans-serif,Bitstream Vera Sans,Balker Regular,Batang 
Regular...

And with the mouse chose "Restart icewm". And it didn't help.


Reply via email to