Should be
https://dxr.mozilla.org/mozilla-central/source/widget/gonk/nsWindow.cpp#706-721
But the pref is supposed to be able to overwrite values from here...
don't know what's wrong there.

My previous experience (~v1.1) was that there will be many graphics
glitches when one attempt to modify this value, but they might be
already fixed I think.



On Thu, Jul 30, 2015 at 7:48 AM, David Flanagan <dflana...@mozilla.com> wrote:
> I'm trying to create a hacked version of FirefoxOS that runs on an Aries
> device but has a devicePixelRatio of 1.
>
> I've tried editing prefs to set layout.css.devPixelsPerPx to 1, but that
> doesn't work.
>
> Can anyone tell me where the devicePixelRatio value comes from and how it
> can be modified?
>
>   David
>
> _______________________________________________
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to