On Wednesday, December 25, 2013 12:53:00 PM UTC+1, Alexandre Lissy wrote: > Le 25/12/2013 01:24, Philip Wright a �crit : > > > [quote]PX=1, PX=1.5, or PX=2 is the GAIA_DEV_PIXELS_PER_PX setting that > > should be used for the device[/quote] > > > > > > currently trying to build FFOS for the Lg Optimus E400, see > > http://forum.xda-developers.com/showthread.php?t=2576978 > > > > > > but all the icons are oversized. > > > > > > if PX=1 is suitable for HVGA, is PX=0.5 suitable for QVGA? > > > > According to the specs at GSMArena, this device is 240x320 with 125ppi. > > This is even lower than our reference devices. For example, the Keon has > > 320x480 screen is 165ppi. > > > > So the GetDefaultScaleInternal() method will return a > > GAIA_DEV_PIXELS_PER_PX=1.0, according to > > https://mxr.mozilla.org/mozilla-central/source/widget/gonk/nsWindow.cpp#532 > > > > Maybe the fix would be to hack GetDefaultScaleInternal(), make it return > > 0.5 in this case, and update the icons accordingly ? > > > > > _______________________________________________ > > > dev-b2g mailing list > > > [email protected] > > > https://lists.mozilla.org/listinfo/dev-b2g > > >
I can try 0,5 or 0,7 but first we need to make these work again _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
