On 1/4/14 13:05, bhargava.animes...@gmail.com wrote:
Hi,

We have a property in greprefs.js "layout.css.dpi" by which we can
control pixel size , but this doesn't work in Windows. There is
another property "layout.css.devPixelsPerPx" which control font size
in Windows but this needs to be modified each time as per system DPI.
I need to show font size as per system DPI. How can this be achieved?
I am using gecko SDK 14.0.1.

Set layout.css.devPixelsPerPx to -1.0. However, I expect this will be quite buggy in 14.0.1; you need a newer version of Gecko (at least Gecko 22 or thereabouts, IIRC) for better Windows DPI-setting support.

See https://bugzilla.mozilla.org/show_bug.cgi?id=820679 and its dependencies.

JK
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to