I'm still loking for a reliable way to get a good contrast between text and a random background picture. The best I've come up with yet is:
colorset 27 transparent, fg white, fgsh black menustyle * menucolorset 27 menustyle * font "Shadow=1 n s e w nw ne sw se:lucidasanstypewriter-14" A black halo is drawn around the the white text. But the halo is still too thin to give a good contrast. If it were possible to extend the halo to a size of 2 it would be much more readable. Look at this: ....... ....... ....... ...x... ....... ....... ....... The X in the center marks the upper left pixel of the text. The shadow (size 1) is drawn eight times at these offsets: ....... ....... ..ooo.. ..o.o.. ..ooo.. ....... ....... With size 2 it is drawn like this: ....... .o.o.o. ..ooo.. .oo.oo. ..ooo.. .o.o.o. ....... But I need this: ....... .ooooo. .ooooo. .oo.oo. .ooooo. .ooooo. ....... Any chance you get around to implement something like this, Olivier? All that would be needed is another "direction" option "center" and a loop drawing the shadows: for (x = -size; x <= size; x++) { for (y = -size; y <= size; y++) { if (x < -offset || x > offset || y < -offset || y > offset) { draw_shadow_at(x, y); } } } Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]