This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Android - font size setting doesn't work when viewport width <= screen width

  • 6 odgovori
  • 11 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao trisenk

more options

Update 20.01.2013 - more info in my post below: https://support.mozilla.org/en-US/questions/983115#answer-524375


Firefox 26.0.1

Nexus 7 2013, updated to 4.4.2


I've tried changing font size from Medium to Large, because Medium is too small for me. Font size setting does nothing. Things I've tried:

- reloading the page,

- opening it again in a new tab,

- reinstalling Firefox without any extensions,

- rebooting the tablet.


I've got an older tablet on 4.1.2, same Firefox version - changing size works fine after reloading the page.

Update 20.01.2013 - more info in my post below: https://support.mozilla.org/en-US/questions/983115#answer-524375 Firefox 26.0.1 Nexus 7 2013, updated to 4.4.2 I've tried changing font size from Medium to Large, because Medium is too small for me. Font size setting does nothing. Things I've tried: - reloading the page, - opening it again in a new tab, - reinstalling Firefox without any extensions, - rebooting the tablet. I've got an older tablet on 4.1.2, same Firefox version - changing size works fine after reloading the page.

Izmjenjeno od strane trisenk

All Replies (6)

more options

The font size setting only applies to "desktop" (non-mobile) websites. For example cnn.com articles would be larger but Wikipedia which provides a mobile site would not change size.

more options

Yes, I know that. I'm checking it on desktop sites. Fonts on cnn.com do not change size. Same with ArsTechnica etc. I've checked "request desktop site" even though it wasn't needed.


I've attached a screenshot of ArsTechnica.


The text may seem OK but in reality it's really small on a 7" screen. So not only this setting does not work, but the default value is too small.


Like I said above, I have an older tablet - 7" 1024x600 screen, Android 4.1.2. Font size setting works fine on it.

Izmjenjeno od strane trisenk

more options

Our heuristics for determining font-size really bad. You'll see changes take affect on site's like DrudgeReport's links, but I don't know why they don't take affect on articles on ArsTechnica and such.

more options

Ars sets a meta vewport. As I recall that will short circuit the font inflation code.

more options

This doesn't explain why the exact same version of Firefox on my other tablet scales text on arstechnica.com just fine.

I've checked a few more sites, and for example dailytech.com works the same on both my tablets - text changes size.

Izmjenjeno od strane trisenk

more options

Tried modyfying ArsTechnica page to see what's the cause of this, and it's indeed the viewport tag.

<meta name="viewport" content="width=1020">

If I change its value to 1201 or more, the font size setting starts working. At 1200 or less - it doesn't work. Horizontal resolution of my Nexus is 1200, so it seems that there's some mystery comparison between viewport width and screen width that bungles up font scaling. This would also explain why fonts scale on my older tablet with 600px width.

It wouldn't be that bad if fonts would stay at "normal" setting, but unfortunately they reset to "smallest".

Without the viewport font scaling also works fine.

Will this issue be resolved in some foreseeable future? In the meantime, is there any extension or setting in about:config that would allow me to modify page's source to get rid of the viewport tag, or ignore it?

Izmjenjeno od strane trisenk