Re: X11 resolution
Re: X11 resolution
- Subject: Re: X11 resolution
- From: Ralph Martin <email@hidden>
- Date: Tue, 16 Dec 2008 10:26:52 +0000
Jeremy
On 16 Dec 2008, at 3:07:01AM, Jeremy Huddleston wrote:
nor does it offer a preference to let the user set it (a poor
second best).
Sure it does.
What I meant was the X11.app does not have a preference for setting
this. This is the "Mac" way of doing things, surely, rather than
putting stuff in configuration files? (Or even more "Mac" is to
prevent the user from worrying by "just getting it right"... see below).
It's the same preference available to you in every other X11
environment. Edit the /usr/X11/bin/startx script
That doesn't sound like a great idea, as it is likely to get
overwritten by future updates, surely?
and/or set the values in ~/.Xresources. Search the mailing list for
the info I provided the last time this was brought up or if you cant
find it, let me know, and I'll try to dig it up and add it to the FAQ.
A search of the list for either "dpi" or "display resolution" turned
up nothing useful...
It seems, after googling, that the thing to do ought to be to put
Xft.dpi: 133
in .Xresources, but this still results in X11 starting up and
reporting the resolution is 96dpi.
Perhaps it *would* be a good idea to write an FAQ on this.
What should it set it to? As mentioned before, there is no correct
value for multi-monitor setups that have different dpi for each
display.
This last argument does not seem like a good reason not to set it to
the "best" value. I'd suggest
- if there is just one display, then the value for that display
- if multiple displays, then the value for the "main" display (where
main is chosen in some reasonable way, e.g. largest display, boot
display, etc)
This should give better results than just leaving it at some arbitrary
value like 75dpi or 96dpi which is pretty likely to be wrong.
On another score, perhaps Apple should also be distributing fonts at
133dpi resolution for X11?
Best wishes
Ralph
--
Prof Ralph Martin Phone: +44(0)29 2087 5536
School of Computer Science Fax: +44(0)29 2087 4598
Cardiff University Email: mailto:email@hidden
5 The Parade, Roath WWW: http://ralph.cs.cf.ac.uk/
Cardiff, CF24 3AA, UK VOIP: sip:email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden