Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Windows FontSubtitutes rules not being followed on Firefox 109.0b7

  • 2 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par 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.)

Solution choisie

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

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

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.