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

Re: DPI in intel modesetting driver



On Thu, 2007-01-04 at 18:58 +0100, Nicolas Mailhot wrote:
> Le jeudi 04 janvier 2007 à 12:05 -0500, Adam Jackson a écrit :
> > On Thu, 2007-01-04 at 17:25 +0100, Nicolas Mailhot wrote:
> > 
> > > - OLPC has to dynamically adjust GNOME dpi when screen mode switches (but
> > > the scaling preferences of the user didn't change!)
> > 
> > This doesn't actually happen in current OLPC builds.  Whacking the
> > grayscale button doesn't change font sizes.
> 
> I doesn't because IIRC in the background a process receives a dbus event
> and changes the value of the gconf dpi key to compensate for pixel
> density change. Because since this key aggregates hardware factor and
> user scaling preferences it is not resilient to hardware changes.

There's no gconf on OLPC.

Literally all that happens when you push the grayscale button is that
the DCON flips to gray mode.  GTK does not do anything in response.

> I'm not advocating putting a false DisplaySize value in the config file
> (that would only continue the current mess). I'm advocating having the
> GNOME xorg setup app let users put the real DisplaySize there if xorg
> misdetected it, and replace "GNOME DPI" with an actual scaling factor
> (in %) applied over the dynamically computed xorg dpi. (Two terms for
> two different things). With maybe a floor value to avoid feeding
> freetype scaling we know won't permit correct font rendering.

I think we're in violent agreement here.

- ajax


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