On Sun, May 12, 2002 at 06:21:25PM +0200, Olivier Chapuis wrote: > On Sat, May 11, 2002 at 06:10:01PM +0000, Mikhael Goikhman wrote: > > On 11 May 2002 09:32:08 +0200, Olivier Chapuis wrote: > > > > > > On Fri, May 10, 2002 at 09:36:13PM +0000, Mikhael Goikhman wrote: > > > > On 10 May 2002 10:57:12 +0200, Olivier Chapuis wrote: > > > > > > > > > > On Wed, May 08, 2002 at 10:48:39PM +0000, Mikhael Goikhman wrote: > > > > > > > > > > > > Maybe it is possible to add text shadow thickness when specifying a > > > > > > font? > > > > > > And fgsh option of a colorset used when thickness is not 0. I don't > > > > > > think > > > > > > that sh color is a good default for fgsh, I think it may be > > > > > > computed from > > > > > > fg by applying shadow function (not from bg), and fg always resets > > > > > > fgsh. > > > > > > > > > > Of course sh is not a good default for fgsh ... > > > > > So maybe something like Style * Font "relief int:curent_font_desc". > > > > > > > > Nice. You may even do like with xft: Font > > > > "shadowsize=2:curent_font_desc". > > > > > > You mean shadowsize=2:* is better than refief 2:* ? > > > > This depends on implementation. We use the name relief to mean 3d frame. > > I don't think 3d should be used for the text shadow, after all we don't > > have fghi color. I thought that shadowsize=2 is a good addition to size=14 > > that we already have with xft. But any other intuitive name is ok for me. > > > > BTW, how do you want to implement this? By drawing a font twice using > > the +<int>+<int> offset? Or maybe <int> times using the +1+1 offset? > > I think that drawing twice is the good solution. So 1 and 2 > (and maybe 3 for some very bold font) will be usefull. >
Oh no. The better method is to draw one time with the fg colors and draw <int> times with the fgsh color with successive +1+1 offsets. This looks goods if the fgsh colour is well chosen. If we use GetShadow(fg) to get the fgsh colour, then with some colors as black the fgsh is really bad (it is ok with white). Also it seems that the bg have to be taken in account. Does someone has a "good" algo to compute the fgsh from the fg colours (and maybe also the bg colour). Olivier -- 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]