From 9a28a8bfec7606f19f373a27df33a89ba6f7de7c Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 14 Jul 2012 10:07:17 +0200 Subject: rephrased documentation about font effects --- doc/asciidoc/fluxbox-style.txt | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/doc/asciidoc/fluxbox-style.txt b/doc/asciidoc/fluxbox-style.txt index c41937e..71af67f 100644 --- a/doc/asciidoc/fluxbox-style.txt +++ b/doc/asciidoc/fluxbox-style.txt @@ -187,29 +187,24 @@ All gradiented textures are composed of two color values: the 'color' and 'colorTo' resources. When *Interlaced* is used in *Solid* mode, the 'colorTo' resource is used to find the interlacing color. -A WORD ABOUT FONTS ------------------- -We should comment about fonts before we move on to the complete component -list. fluxbox(1) supports different options for text. These options currently -include bold, halo and shadow. To set these do this: fontname-size:options for -any of the font components in the style file. For example: - - menu.title.font: sans-8:bold,shadow - -The latest versions of fluxbox(1) (> 0.9.8) also support different values for -these text options. The possibilities are as follows: +FONT EFFECTS +------------ +In addition to specifying the font-family and the font-weight via the +supported font-rendering-engine (eg, Xft), fluxbox(1) supports some effects: +'halo' and 'shadow'. To set the shadow effect: - -------- - Shadow color= offsetx= offsety= Halo color= - -------- + menu.title.font: sans-8:bold + menu.title.effect: shadow + menu.title.shadow.color: green + menu.title.shadow.x: 3 + menu.title.shadow.y: 3 -For the case of completeness, here are some real world examples: +To set the halo effect: - *.font: Verdana-10:bold,shadow:offsetx=2;offsety=4;color=green - *.font: Verdana-10:halo:color=blue + menu.title.font: sans-8:bold + menu.title.effect: halo + menu.title.halo.color: green -Of course this could all be placed on one line. Also note that for the offset -options, negative integers are allowed. FONT PROBLEMS ~~~~~~~~~~~~~ -- cgit v0.11.2