Wrong. This misinformation has been around for a very long time.shinobar wrote:You also need to remove the dash(-) from 'Sans-12' so that the titlebar (of the windows) can show Chinese characters.tiangeng wrote:<MenuStyle>
<Font>DejaVu Sans-12:bold:oblique</Font>
</MenuStyle>
I added "BOLD",I deleted "bold",it's ok.
<Font>DejaVu Sans 12</Font>
JWM recognises the Xft format as shown here:
http://joewing.net/programs/jwm/fonts.shtml
Jwm does not recognise <Font>DejaVu Sans 12</Font>, and instead falls back to using the default GTK font -- which, most likely, is DejaVu Sans, or whatever else has been set as the font in the gtkrc file.
I other words, you can put any gibberish into those tags, ex <font>yabby doo dah 12</font> and it will give the same effect.
That's my understanding anyway.
Correction:
Um, no, I don't think that JWM will fall back to using the default GTK font if it can't understand the <font> tag -- probably it will use the default Xft font.