The patch looks like it solves the problem, although you probably only want one test for (DisplayWidthMM(dpy,i) < 1).
Thanks! -- SIGFPE in create_dpis() in QPaintDevice::~QPaintDevice https://launchpad.net/bugs/81686 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs