FEATURE: Forcing DPI setting for fonts

Germain Garand germain at ebooksfrance.org
Mon Aug 28 00:34:58 BST 2006


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




More information about the kde-core-devel mailing list