[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: FEATURE: Forcing DPI setting for fonts
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2006-08-27 23:34:58
Message-ID: 200608280134.59046.germain () ebooksfrance ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic