You are not logged in.

#1 Today 07:43:30

TDCMC
Member
Registered: Today
Posts: 3

[SOLVED] Windows fonts are broken in chromium-based browsers

I've installed windows fonts by copying them from an existing windows 11 installation to `/usr/share/fonts/Windows` a few years ago when I installed arch. It has consistently worked fine up until a few months ago. Previously, gnome would fall back to Segue UI for Arabic glyphs when using Adwaita Sans, and websites that explicitly called for fonts like Arial, Calibri or Courier New would work fine.

Now, gnome falls back to Noto sans for Arabic glyphs, and when I blacklist it in a font config, it falls back to Dejavu Sans. Also, websites in chromium-based browsers (tested on vivaldi and chrome stable) just cannot use the aforementioned fonts for some reason. This problem doesn't seem to happen with firefox.

I can provide any supplementary info from my system if needed.

Edit: One thing I forgot to mention is that Calibri is aliased in gnome-tweaks.

Edit 2: Literation Mono in gnome terminal used to fall back to Courier New for Arabic glyphs, but now it defaults to Dejavu Sans Mono. In cosmic terminal, Liberation Mono still falls back to Courier New.

Last edited by TDCMC (Today 15:07:17)

Offline

#2 Today 11:23:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] Windows fonts are broken in chromium-based browsers

There was a relatively big change in how fontconfig matches fontfamilies in the most recent release do things return to "normal" if you remove /etc/fonts/conf.d/48-guessfamily.conf does that help restoring the prior resolution behaviour? See e.g. this thread: https://bbs.archlinux.org/viewtopic.php … 5#p2300305 .

As for chromium, that uses an entirely custom fontconfig fork that pretty much disobeys all other config, haven't really looked in to how to coerce that to follow the system again.

Offline

#3 Today 13:51:08

TDCMC
Member
Registered: Today
Posts: 3

Re: [SOLVED] Windows fonts are broken in chromium-based browsers

Yup, that seems to have fixed the issues in everything including in chromium-based browsers. But wouldn't this file be regenerated each time fontconfig is upgraded?

Last edited by TDCMC (Today 13:52:40)

Offline

#4 Today 14:43:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,481

Re: [SOLVED] Windows fonts are broken in chromium-based browsers

Ideally not, https://gitlab.archlinux.org/archlinux/ … type=heads

Also see https://bbs.archlinux.org/viewtopic.php … 0#p2301860 ff.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 Today 15:07:02

TDCMC
Member
Registered: Today
Posts: 3

Re: [SOLVED] Windows fonts are broken in chromium-based browsers

That's okay, I was just waiting for this final response. Thank you very much.

Offline

Board footer

Powered by FluxBB