Mailinglist Archive: opensuse-bugs (14787 mails)
| < Previous | Next > |
[Bug 217790] DPI setting is wrong
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 22 Nov 2006 19:15:03 -0700 (MST)
- Message-id: <20061123021503.6C30925C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=217790
------- Comment #20 from federico@xxxxxxxxxx 2006-11-22 19:15 MST -------
Created an attachment (id=106649)
--> (https://bugzilla.novell.com/attachment.cgi?id=106649&action=view)
dpi.c
This is what I'm using in gnome-settings daemon. You want to look at
get_dpi_from_gconf_or_x_server(). First, I see if the DPI value is set in
GConf; if so, this means that we should use the user's preference. If not, I
compute the DPI from the screen's dimensions and then use a fallback value if
it is outside a valid range.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Comment #20 from federico@xxxxxxxxxx 2006-11-22 19:15 MST -------
Created an attachment (id=106649)
--> (https://bugzilla.novell.com/attachment.cgi?id=106649&action=view)
dpi.c
This is what I'm using in gnome-settings daemon. You want to look at
get_dpi_from_gconf_or_x_server(). First, I see if the DPI value is set in
GConf; if so, this means that we should use the user's preference. If not, I
compute the DPI from the screen's dimensions and then use a fallback value if
it is outside a valid range.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |