We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Extremely inconsistent font sizes--tiny on page and huge in textboxes

more options

Hello,

I am running Firefox 23 on Slackware Linux. My computer is an ultrabook with an relatively small, high resolution screen, so I have had to set a high dpi (190) to get font sizes rendered appropriately. The value of 190 was obtained by calculating the proper value for my screen size and resolution (11.3 inches; 1900 x 1080), and in most circumstances, everything looks good.

However, in Firefox, my fonts are extremely tiny. I have installed an add-on No-Squint to set the default zoom level of every page to 170 %, which works well. However, this results in normal (or even rather small) page fonts, while the fonts in textboxes (like password fields, select-some-value boxes, etc.) are enormous. It seems like the fonts in the textboxes are respecting my dpi value, while the rest of the fonts on the page are not. This means that when the page is zoomed in, the textbox fonts look huge.

What I need is a way to make Firefox either respect my system dpi everywhere or nowhere. I have tried changing the values for layout.css.devPixelsPerPx, and it makes no difference.

Thanks for any help.

Hello, I am running Firefox 23 on Slackware Linux. My computer is an ultrabook with an relatively small, high resolution screen, so I have had to set a high dpi (190) to get font sizes rendered appropriately. The value of 190 was obtained by calculating the proper value for my screen size and resolution (11.3 inches; 1900 x 1080), and in most circumstances, everything looks good. However, in Firefox, my fonts are extremely tiny. I have installed an add-on No-Squint to set the default zoom level of every page to 170 %, which works well. However, this results in normal (or even rather small) page fonts, while the fonts in textboxes (like password fields, select-some-value boxes, etc.) are enormous. It seems like the fonts in the textboxes are respecting my dpi value, while the rest of the fonts on the page are not. This means that when the page is zoomed in, the textbox fonts look huge. What I need is a way to make Firefox either respect my system dpi everywhere or nowhere. I have tried changing the values for layout.css.devPixelsPerPx, and it makes no difference. Thanks for any help.

All Replies (2)

more options

Did you try the combination of

  • layout.css.devPixelsPerPx = 1.7
  • NoSquint default/global level of 100%

and try to adjust from there?

more options

I just noticed you have the older zoom setting of remembering zoom level for the current tab rather than by the site. I'm not sure how that interacts with NoSquint.