搜尋 Mozilla 技術支援網站

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

了解更多

Windows FontSubtitutes rules not being followed on Firefox 109.0b7

  • 2 回覆
  • 0 有這個問題
  • 9 次檢視
  • 最近回覆由 Kotep

more options

I use the Windows registry FontSubstitutes (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes) to replace system fonts like Segoe UI with other fonts. It takes a lot of work to get Windows itself to respect these options, to the extent that I have to make it believe Segoe UI isn't present by modifying a different registry location (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts).

However, Firefox does not respect the FontSubstitutes settings. Based on a previous post here, this is something it did prior to Firefox 89, but has stopped doing.

An ideal solution would be a way for Firefox to correctly read my FontSubstitutes settings. An acceptable workaround would be a way to provide Segoe UI for Firefox to use while still preventing its use in other applications. (I know that, for instance, Adobe Photoshop allows users to install fonts to Photoshop itself, bypassing the system fonts folder entirely.)

I use the Windows registry FontSubstitutes (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes) to replace system fonts like Segoe UI with other fonts. It takes a lot of work to get Windows itself to respect these options, to the extent that I have to make it believe Segoe UI isn't present by modifying a different registry location (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts). However, Firefox does not respect the FontSubstitutes settings. Based on a previous post here, this is something it did prior to Firefox 89, but has stopped doing. An ideal solution would be a way for Firefox to correctly read my FontSubstitutes settings. An acceptable workaround would be a way to provide Segoe UI for Firefox to use while still preventing its use in other applications. (I know that, for instance, Adobe Photoshop allows users to install fonts to Photoshop itself, bypassing the system fonts folder entirely.)

被選擇的解決方法

Could you try the workaround from back in the Firefox 89 days and let us know whether it still works:

https://support.mozilla.org/questions/1343838

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Could you try the workaround from back in the Firefox 89 days and let us know whether it still works:

https://support.mozilla.org/questions/1343838

more options

Thanks, setting gfx.windows-font-substitutes.always to true still works.