It does not seem that FVWM CVS send a message about my last
commit which implements shadow text rendering.

Here the log:

* Implemented shadow text rendering.
* The FlocaleWinString structure has now a colorset_structure member,
shadow rendering is handled if the module passes the colorset_struct.
At present time only fvwm, FvwmIdent and FvwmTaskBar do that.
* New colour colorset option "fgsh" which defines the shadow text colour.
* Shadow rendering is defined at font loading. For example:
          Style * "shadowsize=2:your_font_desc" 
* Added -DFVWM_COLORSET_PRIVATE to fvwm AM_CFLAGS to allow a libs
include file to include libs/Colorset.h in a safe way

A few comments.
- Shadow text rendering works only if Colorset are used. I think this
reasonable, but if someone really want that shadow text rendering works
with "old" colors cfg I can do it (this is just boring and not really
pretty from the implementation point of view).  
- The result can be good (and even really cool) if the shadow color
(fgsh) is well chosen (the font can come into the game too).
At present time fgsh is computed as sh is computed from bg. This is
not a definitive solution at all. Any idea is really welcome :o)
Maybe Jos Riswick has an idea about this.
- I've not added the doc about shadowsize=int in the front of a
font description as I do not know where I should put the doc.
Maybe this should go into the (future) Colorset section?
- Attached a screenshot: fvwm-themes root menu with a transparent
bg and a small xft font (shadowsize=2:xft:Verdana:Medium:pixelsize=10).

Olivier

Attachment: shadow.png
Description: PNG image

Reply via email to