all repos — fluxbox @ 9a28a8bfec7606f19f373a27df33a89ba6f7de7c

custom fork of the fluxbox windowmanager

rephrased documentation about font effects
Mathias Gumz akira at fluxbox dot org
commit

9a28a8bfec7606f19f373a27df33a89ba6f7de7c

parent

940fbca3febe78b788c78d8bb90cdabed78bdf0b

1 files changed, 14 insertions(+), 19 deletions(-)

jump to
M doc/asciidoc/fluxbox-style.txtdoc/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: +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: - menu.title.font: sans-8:bold,shadow + 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 -The latest versions of fluxbox(1) (> 0.9.8) also support different values for -these text options. The possibilities are as follows: - - -------- - Shadow color=<colorname> offsetx=<integer> offsety=<integer> Halo color=<colorname> - -------- - -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 ~~~~~~~~~~~~~