Closed Bug 1879407 Opened 2 years ago Closed 2 years ago

Can't use non-built-in fonts as default font - results in visibility level error

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 122
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: u743091, Unassigned)

Details

Attachments

(1 file)

Attached image screenshot.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

Install a custom font first. Then:

  • Go to about:preferences
  • Search for "font"
  • Change the default font to anything that doesn't come with Windows (eg. the font you set earlier)

Actual results:

It uses Arial or Segoe UI instead, with this message appearing in the log:
"Request for font "Font Name" blocked at visibility level 2 (requires 3). utils.js:107:48"

For some reason, fonts that are included with Windows work as intended.

Expected results:

Firefox should have used the set font as its default font for websites, regardless of whether it comes with Windows or not. It worked like this up until a few months ago.

Component: Untriaged → Graphics: Text
Product: Firefox → Core

Are you using private browsing. This is a deliberate anti-fingerprinting measure if so. You can override it by setting font.system.whitelist per https://security.stackexchange.com/a/195890

The severity field is not set for this bug.
:lsalzman, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lsalzman)
Component: Graphics: Text → Layout: Text and Fonts
Flags: needinfo?(lsalzman)

Looks like the reporter's account was disabled. Can't proceed here without more information (depending on the setup, the described behavior may be things working-as-intended, per comment 1).

--> resolving as "incomplete"

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: