From kde-core-devel Sun Aug 27 23:34:58 2006 From: Germain Garand Date: Sun, 27 Aug 2006 23:34:58 +0000 To: kde-core-devel Subject: Re: FEATURE: Forcing DPI setting for fonts Message-Id: <200608280134.59046.germain () ebooksfrance ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=115672179531208 Le Dimanche 27 Août 2006 11:31, Germain Garand a écrit : > p->height()/(p->heightMM()* 1/25.4) == 140 ... > so one can at least take his pick according to the situation. I take that back. This calculation isn't accurate enough to be useful. I'm not sure there is any portable way to get the real display DPI from Qt if the Xft.dpi setting has been tampered with ;( Germain