Chromium, Firefox will only use fallback fonts after an upgrade. How to diagnose the problem?
I have Liberation Mono installed on Kubuntu 18.04. After a recent package upgrade, Firefox and Chromium cannot find any existing monospace font specified in the CSS file and they fallback to the default "monospace" option.
The font Liberation Mono exists in the distro. I can see it in the font manager and I can use it in LibreOffice.
In Chromium's developer console, I see that a GitHub's font families for the pre block are specified as:
SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
Somehow Chromium (75.0.3770.90) and Firefox (68.0.1) cannot find the font. Firefox underlines "monospace" in the developer console, implying that it is the rendered font. Chromium uses Noto Sans CJK SC as the monospace fallback font.
Running `sudo fc-cache -f -v` won't work, and I don't know what's wrong. How do I triangulate the problem?
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: