summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-04-20 22:20:16 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-04-20 22:20:16 +0200
commit85d25716b07498fd9786045f77478abc253fd036 (patch)
treece0bacef42e42d7cee5be1f3169eff181f7e3c53 /config.def.h
parent76d3b0bb95e3e52f9763f8f5c371c1fbeb9a2971 (diff)
use new font system from drw
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index f6f6c4f..62a42bc 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,8 +2,12 @@
/* The three fields set to 0 have to stay that way for a scalable font */
static char *font = "-*-dejavu sans condensed-bold-r-*-*-0-0-*-*-*-0-*-*";
-#define NUMFONTS 30
-#define FONTSZ(x) ((int)(100.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTS-1] */
+static char *fontfallbacks[] = {
+ "dejavu",
+ "trollolo",
+};
+#define NUMFONTSCALES 30
+#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */
/* how much screen estate is to be used at max for the content */
static float usablewidth = 0.75;