diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2012-07-14 08:07:17 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-07-14 08:07:17 (GMT) |
commit | 9a28a8bfec7606f19f373a27df33a89ba6f7de7c (patch) | |
tree | fe110e52e01b853c8061427896e0e1b899648385 | |
parent | 940fbca3febe78b788c78d8bb90cdabed78bdf0b (diff) | |
download | fluxbox-9a28a8bfec7606f19f373a27df33a89ba6f7de7c.zip fluxbox-9a28a8bfec7606f19f373a27df33a89ba6f7de7c.tar.bz2 |
rephrased documentation about font effects
-rw-r--r-- | doc/asciidoc/fluxbox-style.txt | 33 |
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' |
188 | resource is used to find the interlacing color. | 188 | resource is used to find the interlacing color. |
189 | 189 | ||
190 | A WORD ABOUT FONTS | 190 | FONT EFFECTS |
191 | ------------------ | 191 | ------------ |
192 | We should comment about fonts before we move on to the complete component | 192 | In addition to specifying the font-family and the font-weight via the |
193 | list. fluxbox(1) supports different options for text. These options currently | 193 | supported font-rendering-engine (eg, Xft), fluxbox(1) supports some effects: |
194 | include bold, halo and shadow. To set these do this: fontname-size:options for | 194 | 'halo' and 'shadow'. To set the shadow effect: |
195 | any of the font components in the style file. For example: | ||
196 | |||
197 | menu.title.font: sans-8:bold,shadow | ||
198 | |||
199 | The latest versions of fluxbox(1) (> 0.9.8) also support different values for | ||
200 | these 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 | ||
206 | For the case of completeness, here are some real world examples: | 202 | To 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 | ||
211 | Of course this could all be placed on one line. Also note that for the offset | ||
212 | options, negative integers are allowed. | ||
213 | 208 | ||
214 | FONT PROBLEMS | 209 | FONT PROBLEMS |
215 | ~~~~~~~~~~~~~ | 210 | ~~~~~~~~~~~~~ |