Re: row and column size not being preserved when switching X displays
- From: Ryan Pavlik <abiryan ryand net>
- To: Jody Goldberg <jody gnome org>
- Cc: Gnumeric Dev List <gnumeric-list gnome org>, "Andreas J. Guelzow" <aguelzow taliesin ca>
- Subject: Re: row and column size not being preserved when switching X displays
- Date: Tue, 02 Nov 2004 17:45:55 -0600
Jody Goldberg wrote:
On Tue, Nov 02, 2004 at 10:00:45AM -0700, Andreas J. Guelzow wrote:
On Tue, 2004-11-02 at 08:56, Jody Goldberg wrote:
On Sat, Oct 30, 2004 at 11:45:42PM +0100, Joe Wells (reverse mailbox letters only for non-public replies)
wrote:
How can I get this fixed? If I knew what source code lines to hack
on, I could do it, but I am way too busy to learn now. I am happy to
test patches that anyone sends me.
Gnumeric stores things as pts. However, it defaults to using 96 dpi
for the display, which is what XL appears to do. You can edit the
settings in the prefs dialog. When the code was written most X
servers got the dpi measurements wrong, we should probably add a
setting to trust them now.
The pref dialog does not have these settings anymore. (REcall that you
requested not to include those internal settings.) One now has to use
the gconf-editor to change them.
True, but 1.2.x still has them.
For 1.3.x I'd like to add a way to 'use monitor dpi'
a clear plan. Possible via dpi < 0 or potentially another flag.
For what it's worth, the Gimp "first run" installer asks for a DPI,
offers a way to determine it (measure the length of rulers they give you
and input that length), and allows you to trust the OS (even on
Windows). On Windows, at least, it appears to get values that look
pretty good.
If you want some platform-independent code, the Gimp project may be a
good source, as that user "first run" installer looks to be the same
everywhere.
--
Ryan Pavlik
--
"The biggest room in the world is the room for improvement." --Japanese Proverb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]