3
#include <X11/Intrinsic.h>
11
"-adobe-times-bold-r-normal--8-80-*-*-p-*-iso8859-1",
12
"-adobe-times-bold-r-normal--10-100-*-*-p-*-iso8859-1",
13
"-adobe-times-bold-r-normal--12-120-*-*-p-*-iso8859-1",
14
"-adobe-times-bold-r-normal--14-140-*-*-p-*-iso8859-1",
15
"-adobe-times-bold-r-normal--18-180-*-*-p-*-iso8859-1",
16
"-adobe-times-bold-r-normal--24-240-*-*-p-*-iso8859-1"
19
static XFontStruct *fontStructs[NUMFONTS];
21
XFontStruct *theDrawFont;
26
XFontStruct *fontstruct;
28
for (i = 0; i < NUMFONTS; i++) {
29
if ((fontstruct = XLoadQueryFont(theG.dpy, fontNames[i])) == NULL) {
30
if ((fontstruct = XLoadQueryFont(theG.dpy, "fixed")) == NULL) {
31
sprintf(Description,"Unable to find any font\n");
32
MetanetAlert(Description);
36
fontStructs[i] = fontstruct;
40
XFontStruct *FontSelect(s)
45
return fontStructs[0];
48
return fontStructs[1];
51
return fontStructs[2];
54
return fontStructs[3];
57
return fontStructs[4];
60
return fontStructs[5];