为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.