Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange default zoom in Firefox 22.0

Tags:

firefox

I have a completely fresh installation of Firefox 22.0 on Windows 7 and I just opened a website.

The website appeared to be zoomed (fonts as well as images) so I hit Strg+0 with no effect. I tried other websites and it was the same - they were all zoomed.

Compared with Chrome where everything is looking fine, in Firefox images and fonts are magnified!

Any pointers on what is going on here? How can I switch this off?

enter image description here

like image 225
nerdess Avatar asked Jul 04 '13 09:07

nerdess


2 Answers

It seems that this behavior is caused by the fact that from version 22 Firefox takes into account the font size set in the OS (e.g. "125%" corresponding to 120dpi). There is some info on Mozilla support forums:

http://support.mozilla.org/en-US/questions/962945

http://support.mozilla.org/en-US/questions/963211

like image 153
Ilya Streltsyn Avatar answered Oct 04 '22 07:10

Ilya Streltsyn


1) Type "about:config: in address bar
2) search for "layout.css.devPixelsPerPx"
3) change value of "layout.css.devPixelsPerPx" from -1.0 to 1.0

like image 20
Ashish Avatar answered Oct 04 '22 08:10

Ashish