I have recently started programming using Xlib and C. As you probably already know, to specify that you want your application to use default font you set font to "fixed", like this
Code: Select all
font = XLoadQueryFont(display, "fixed");
I have tried specifying this string instead of "fixed".
Code: Select all
-*-*-*-*-normal-*-*-*-*-*-*-*-*-*
Code: Select all
-*-fixed-*-*-normal-*-*-*-*-*-*-*-*-*
But it didn't work, text didn't show up. I thought that if I can specify "fixed" font like this that I can later change 3th field to "bold", 4th to "italic" and so on.