[maemo-developers] How to finding out the true DPI of device?

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Thu Jul 30 18:51:52 EEST 2009
On Thu, Jul 30, 2009 at 11:15 AM, Andre Klapper<aklapper at openismus.com> wrote:
> Heja,
>
> I'd like to get https://bugs.maemo.org/show_bug.cgi?id=4825 off my
> radar, hence bringing this up here:
>
> Anybody knows how an application can find out the true DPI of a device?
> According to Lucas in the report, the resolution is set to 96 dpi
> deliberately in /etc/osso-af-init/x-server.defs.

"xrdb -query | grep Xft.dpi" works at least on the desktop, but
probably it can be done using some font-related API?

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
More information about the maemo-developers mailing list