搜尋 Mozilla 技術支援網站

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

Learn More

How to actually fix HiDPI?

  • 22 回覆
  • 35 有這個問題
  • 2781 次檢視
  • 最近回覆由 cor-el

more options

It's now Firefox 23 and the HiDPI mess is still going strong!

Does anyone know how to actually fix it and return Firefox to looking the way it did up to version 21 or is going back to 21 the only viable solution?

I did try the whole messing around with layout.css.devPixelsPerPx but it doesn't work - interface text gets too small and blurred, icons on the other hand are still big and blurred, and website content is HUGE. In addition to this Firefox feels slower.

所有回覆 (2)

more options

Hi AuldWolf, you usually cannot get an official response about future UI plans here in the support forum. It might happen, but you may need to raise the question in other ways.

If you decide to install Firefox 26 "as is," I think the main problem is losing the site-specific zoom levels. I mean, you can easily force the scaling to 100% by changing the devPixelsPerPx setting, but I'm not sure how to migrate the site-specific zoom data from the pre-Firefox 22 format to the newer format (assuming that is what needs to be done).

Your userChrome.css file might need manual editing as well, but the extent of changes probably depends on whether you are using absolute measurements (e.g., pixels) or relative measurements (e.g., em or percent).

What about:config settings do you think would get lost?

more options

Set the layout.css.devPixelsPerPx pref on the about:config page to 1.0 and if necessary, adjust layout.css.devPixelsPerPx starting with 1.0 in 0.1 or 0.05 steps (1.0 or 0.9) to make icons show correctly.

See also:

Use an extension to adjust the text size in the user interface and the page zoom in the browser window.

You can look at this extension to adjust the font size for the user interface.

You can look at the Default FullZoom Level or NoScript extension if web pages need to be adjusted after changing layout.css.devPixelsPerPx.

  1. 1
  2. 2