[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#237877: use DisplaySize to set dpi



On Mon, Sep 20, 2004 at 02:35:04PM -0500, Branden Robinson wrote:
> On Wed, Sep 01, 2004 at 04:39:17PM -0400, Andrew Pimlott wrote:
> > On Wed, Sep 01, 2004 at 04:57:37AM -0500, Branden Robinson wrote:
> > > [Are you subscribed to this list?]
> > 
> > Do you mean to this bug?  No, I haven't learned how to do that yet.
> 
> No, I mean to the debian-x mailing list

no

> > The patch by Gus (if you reverse the second half) looks like an
> > expedient solution, unless you think it will confuse people.
> 
> That just changes one hard-coded default for another.  I think -softdpi
> would be superior to both.

Choosing a specific dpi with no knowledge of the display is (finally)
becoming an anachronism, so I don't see the harm in using a hard-coded
hack for this purpose.  IOW, I think it should be viewed as a
last-ditch, can't possibly be right but better than nothing, fallback;
and for that, hard-coding is fine.  If anyone needs to override it,
there is a much better mechanism: the DisplaySize parameter.

Besides, I think we're close to being able to do a better job with
debconf.  I notice you already ask for screen size in some cases, and
I'm guessing EDID gives it to you when it works.  It seems that all you
need to do is have dexconf set DisplaySize, and you can drop -dpi.  What
is the obstacle to that?  (Well, for the sake of upgraders, you might
want to change the hard-coded default in the X server, so they still
have a fall-back.)

Regardless, I'm sure the tide of progress will force you to remove -dpi
soon enough.  :-)

Andrew



Reply to: