為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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.