use new font system from drw
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user