> I'd guess there's some Xlib function for that. There is. I've only rarely seen it be accurate, and most people don't know how to set it anyway. It's usually in the 70-110 DPI range.