Open Bug 1912402 Opened 1 year ago Updated 1 year ago

Unable to Specify Default Fonts Besides `serif`/`sans-serif`/`system-ui`

Categories

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

Firefox 129
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: tjw123hh, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

Try specifying a default cursive/kai/fangsong/... font and unchecking "Allow pages to choose their own fonts, instead of your selections above"

Actual results:

Unable to specify a default cursive/kai/fangsong/... font in settings.

Expected results:

The generic fonts in <generic-complete> in the https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family page can be specified for any language, and the generic fonts in <generic-script-specific> can be specified for a specific language.

(In reply to tjw123hh from comment #0)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

Try specifying a default cursive/kai/fangsong/... font and unchecking "Allow pages to choose their own fonts, instead of your selections above"

Actual results:

Unable to specify a default cursive/kai/fangsong/... font in settings.

Expected results:

The generic fonts in <generic-complete> in the https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family page can be specified for any language, and the generic fonts in <generic-script-specific> can be specified for specific languages.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

It's possible to configure fonts for cursive in about:config (see the font.name.cursive.* and font.name-list.cursive.* prefs), though this is not exposed in the Preferences UI.

The newer generics such as kai and fangsong defined in CSS Fonts 4 are not yet implemented; see bug 1868500.

Severity: -- → S3
Depends on: 1868500
You need to log in before you can comment on or make changes to this bug.