Changed default font string, removed missing fontset warnings

This commit is contained in:
Bert Münnich 2012-02-12 19:06:07 +01:00
parent b8458271fb
commit 7177270c10
2 changed files with 2 additions and 5 deletions

View File

@ -9,7 +9,7 @@ enum {
/* bar font:
* (see X(7) section "FONT NAMES" for valid values)
*/
static const char * const BAR_FONT = "6x13";
static const char * const BAR_FONT = "fixed";
/* colors:
* (see X(7) section "COLOR NAMES" for valid values)

View File

@ -54,11 +54,8 @@ void win_init_font(Display *dpy, const char *fontstr) {
char *def, **missing;
font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
if (missing) {
while (n--)
warn("missing fontset: %s", missing[n]);
if (missing)
XFreeStringList(missing);
}
if (font.set) {
XFontStruct **xfonts;
char **font_names;