
Make the class in the XrmGetResource call be the same as the resource name we are trying to retrieve, "Xft.dpi". Nowhere in the documentation it is mentioned that the class name can be NULL so it is better to be cautious and set it to a value that is unlikely to affect anything.