aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2012-07-14 08:07:17 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-07-14 08:07:17 (GMT)
commit9a28a8bfec7606f19f373a27df33a89ba6f7de7c (patch)
treefe110e52e01b853c8061427896e0e1b899648385
parent940fbca3febe78b788c78d8bb90cdabed78bdf0b (diff)
downloadfluxbox-9a28a8bfec7606f19f373a27df33a89ba6f7de7c.zip
fluxbox-9a28a8bfec7606f19f373a27df33a89ba6f7de7c.tar.bz2
rephrased documentation about font effects
-rw-r--r--doc/asciidoc/fluxbox-style.txt33
1 files 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
187'colorTo' resources. When *Interlaced* is used in *Solid* mode, the 'colorTo' 187'colorTo' resources. When *Interlaced* is used in *Solid* mode, the 'colorTo'
188resource is used to find the interlacing color. 188resource is used to find the interlacing color.
189 189
190A WORD ABOUT FONTS 190FONT EFFECTS
191------------------ 191------------
192We should comment about fonts before we move on to the complete component 192In addition to specifying the font-family and the font-weight via the
193list. fluxbox(1) supports different options for text. These options currently 193supported font-rendering-engine (eg, Xft), fluxbox(1) supports some effects:
194include bold, halo and shadow. To set these do this: fontname-size:options for 194'halo' and 'shadow'. To set the shadow effect:
195any of the font components in the style file. For example:
196
197 menu.title.font: sans-8:bold,shadow
198
199The latest versions of fluxbox(1) (> 0.9.8) also support different values for
200these text options. The possibilities are as follows:
201 195
202 -------- 196 menu.title.font: sans-8:bold
203 Shadow color=<colorname> offsetx=<integer> offsety=<integer> Halo color=<colorname> 197 menu.title.effect: shadow
204 -------- 198 menu.title.shadow.color: green
199 menu.title.shadow.x: 3
200 menu.title.shadow.y: 3
205 201
206For the case of completeness, here are some real world examples: 202To set the halo effect:
207 203
208 *.font: Verdana-10:bold,shadow:offsetx=2;offsety=4;color=green 204 menu.title.font: sans-8:bold
209 *.font: Verdana-10:halo:color=blue 205 menu.title.effect: halo
206 menu.title.halo.color: green
210 207
211Of course this could all be placed on one line. Also note that for the offset
212options, negative integers are allowed.
213 208
214FONT PROBLEMS 209FONT PROBLEMS
215~~~~~~~~~~~~~ 210~~~~~~~~~~~~~