Open Bug 1895270 Opened 1 year ago Updated 1 year ago

Firefox does not respect medium font weight specified in fontconfig

Categories

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

Firefox 125
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kimiblock, Unassigned, NeedInfo)

Details

Attachments

(1 file)

Attached image Pasted image.png

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

Steps to reproduce:

Specify Inter Medium in fontconfig as a default sans-serif font.
Like: https://github.com/Kimiblock/moeOS.config/blob/master/etc/fonts/conf.d/99-moeos.conf

Specify sans-serif as Firefox's Sans-Serif font.

Actual results:

Observe Inter Regular, not Inter Medium in the Firefox Interface.

Expected results:

Interface using Inter Medium

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

What exact Inter Medium font do you have installed? Are you using a variable-font version of Inter, or a collection of individual fonts with different weights?

Flags: needinfo?(kimiblock)

Thanks for replying.

The Inter package from Arch Linux comes with a single ttc file and 2 variable font files. I’m currently using Inter Medium in fontconfig. Not sure if it is the variable version of Inter.

Arch Linux package: https://archlinux.org/packages/extra/any/inter-font/

:jfkthame do you need more information on this?

Flags: needinfo?(kimiblock) → needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: