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

搜索 | 用户支持

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

详细了解

Better ways to increase size of web pages?

  • 3 个回答
  • 2 人有此问题
  • 14 次查看
  • 最后回复者为 cor-el

more options

My display is almost 130 ppi so the fonts I get are too small. Are there Bbetter ways to increase size of web pages to https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages ?

The reason I ask is because I've learned about the implementation of layout.css.devPixelsPerPx and there are other layout.css.* settings in about:config as well. I've also noticed that increasing the value of layout.css.devPixelsPerPx preserves web pages layout better than any combinations of 'full' and 'text only' zoom. And I've tested a lot of them, taking into account the specifics of image scaling.


Problems with the methods described in https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages
A1. Zooming 'text only' brakes layout before desired text size is reached.
A2. Zooming using 'full zoom' blurs images and posibly decreases performance.
A3. Setting 'minimum font size' makes some header text on web pages huge while barely increasing size of main articles content. And it brakes layout. Close to useless. Please stop recommending that.


Problems with layout.css.devPixelsPerPx and other layout.css.*
B1. Breaks UI; elements too large even after using tweaks/extensions that decrease UI font size.
B2. Font weight doesn't seem to be scaled up proportionally, i.e. fonts look a bit too 'thin'.
B3. Description on how to use these to achieve web content scaling is not available, as far as I know.


My system:
Fedora 20 x86_64
Gnome Shell 3.10 (its text-scaling-factor doesn't affect neither web content nor Firefox UI font sizes increased by a layout.css.devPixelsPerPx > 1)
15.4" TFT display with 1680x1050 resolution (WSXGA+) -> 128.65 PPI, 128.65/96=1.34


EDIT: The best resource I've found (Arch wiki is the best!)
https://wiki.archlinux.org/index.php/Firefox_Tweaks#Configure_the_DPI_value
So the values are described more or less but it doesn't tackle the problem of upscaled blurry UI.

My display is almost 130 ppi so the fonts I get are too small. Are there Bbetter ways to increase size of web pages to https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages ? The reason I ask is because I've learned about the implementation of '''layout.css.devPixelsPerPx''' and there are other '''layout.css.'''* settings in about:config as well. I've also noticed that increasing the value of layout.css.devPixelsPerPx preserves web pages layout better than any combinations of 'full' and 'text only' zoom. And I've tested a lot of them, taking into account the specifics of image scaling. Problems with the methods described in https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages<br> '''A1.''' Zooming 'text only' brakes layout before desired text size is reached.<br> '''A2.''' Zooming using 'full zoom' blurs images and posibly decreases performance.<br> '''A3.''' Setting 'minimum font size' makes some header text on web pages huge while barely increasing size of main articles content. And it brakes layout. Close to useless. Please stop recommending that.<br> Problems with layout.css.devPixelsPerPx and other layout.css.* <br> '''B1.''' Breaks UI; elements too large even after using tweaks/extensions that decrease UI font size.<br> '''B2.''' Font weight doesn't seem to be scaled up proportionally, i.e. fonts look a bit too 'thin'.<br> '''B3.''' Description on how to use these to achieve web content scaling is not available, as far as I know.<br> My system:<br> Fedora 20 x86_64<br> Gnome Shell 3.10 (its text-scaling-factor doesn't affect neither web content nor Firefox UI font sizes increased by a layout.css.devPixelsPerPx > 1)<br> 15.4" TFT display with 1680x1050 resolution (WSXGA+) -> 128.65 PPI, 128.65/96=1.34<br> EDIT: The best resource I've found (Arch wiki is the best!)<br> https://wiki.archlinux.org/index.php/Firefox_Tweaks#Configure_the_DPI_value <br> So the values are described more or less but it doesn't tackle the problem of upscaled blurry UI.

由effgo于修改

所有回复 (3)

more options

The solution is a 20" display. But... I am not able to supply one at the moment.

I thought that setting layout.css.devPixelsPerPx was essentially equivalent to using full page zoom for both the toolbar area and the content area. I'm surprised that you see a difference in image quality or layout correctness between the two. Perhaps this is a difference between Windows and Linux?

more options

High pixel density is great. It's the web and web browsers which are backward.

So as far as web content scaling goes I might as well go back to using NoSquint extension Please confirm.

As for the main article on zooming is concerned https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages could anyone supplement it with proper info on layout.css.* parameters usage?

more options

You usually set the layout.css.devPixelsPerPx pref to make icons in the user interface have the proper size and use an extension (Theme Font & Size Changer) for text in the user interface and use Default FullZoom Level or NoSquint for the appearance of web pages.

Zooming web pages still might cause issues on some web pages that are badly designed or use a script to resize dynamically, but is less likely to cause issues than setting a higher minimum font size.

I personally prefer a higher minimum font size over zooming the page and use the PrefBar extension to use a none setting in case of issues on a specific page and text disappears or runs over.