mirror of
https://github.com/0intro/wmii
synced 2025-02-28 04:04:02 +03:00
falling back when special font sets are missing to XDraw (thx to bogon for reporting this issue)
This commit is contained in:
parent
41ae6bfe56
commit
14440bc620
@ -37,6 +37,10 @@ blitz_loadfont(Display *dpy, BlitzFont *font, char *fontstr)
|
||||
while(n--)
|
||||
fprintf(stderr, "liblitz: missing fontset: %s\n", missing[n]);
|
||||
XFreeStringList(missing);
|
||||
if(font->set) {
|
||||
XFreeFontSet(dpy, font->set);
|
||||
font->set = nil;
|
||||
}
|
||||
}
|
||||
if(font->set) {
|
||||
XFontSetExtents *font_extents;
|
||||
|
Loading…
x
Reference in New Issue
Block a user