On 26 May 2002 22:39:58 +0200, Olivier Chapuis wrote: > > On Sun, May 26, 2002 at 05:26:40PM +0000, Mikhael Goikhman wrote: > > On 26 May 2002 17:18:57 +0200, Dominik Vogt wrote: > > > > > > I wonder if it's possible to improve the readability of shadow > > > text a bit. With my default palette (pale blue window titles, > > > orange title on the focused window, black text), it's quite > > > difficult to read the title. Two ideas to improve the > > > situation: > > > > > > - Better contrast between shadow and text colours. > > > Probably won't help much. > > > > Black text is not very good for shadowing, but this depends on font. > > Try white text with your palettes. It looks very well. > > > > Ideally shadow should enable more text colors to be readable on any bg. > > I got very good results without changing the default fgsh calculations > > with both black text and white text in your theme. Try: > > > > Style * Font "shadowsize=3:xft:Luxi Sherif:Bold:size=13" > > > > Shadow size 2 is good too (and shadow size 1 with white). > > > > > - Offset the shadow text by another pixel > > > E.g. > > > > > > X X > > > X X > > > XX . > > > X .X . > > > X .X > > > . . > > > . . > > > > > > Instead of > > > > > > X X > > > X X . > > > XX . > > > X .X > > > X . X > > > . . > > > > Hmm, I though this will be even more ugly, but I am not sure now. > > I patched the source (currently lines 1009-1010 in Flocale.c) and > > offset 2 looks good with bold or Xft fonts, but not with others. > > > > So, probably we may add a third argument to shadow: > > > > shadow=size[,directions[,offset]] > > > > shadow=size [offset] directions > > seems more logic for me.
I have no objection. Although I don't see how it would be possible to extend such syntax in the future, for example add outside-only boolean. > > I also want to see whether shadow=1,br+b is ugly or not. Something like: > > > > X X > > .X X.. > > .XX.. > > X..X > > X.. .X > > .. .. > > > > So ? Yes, "br b" seems better than just "br" with good font and white text. :) As I expected "1 all" gives really fun results, say: fg yellow, fgsh black But it seems it makes sense to use more than 1 direction only with size=1, otherwise the shadow is strewn, especialy with big sizes. I think we may forse size=1 when more than 1 from 8 directions specified. Or invent 24 (16) directions for size=2; 48 (24) directions for size=3... Thank you. :) Regards, Mikhael. -- 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]