Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serif font on systems that do not define a system font #455

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

FliiFe
Copy link
Contributor

@FliiFe FliiFe commented Mar 18, 2018

Some linux distributions that do not use a desktop environment do
not define a system font. On these systems, the system-font css file
does not work if none of the font families are matched (and it
seems chrome ignores it anyway).

I added sans-serif as a fallback font, which is usually always defined
in fontconfig as a sans-serif font.

Without this, cerebro uses an ugly ans obscure serif font due to
no fallback having been found.

Some linux distributions that do not use a desktop environment do
not define a system font. On these systems, the system-font css file
does not work if none of the font families are matched (and it
seems chrome ignores it anyway).

I added sans-serif as a fallback font, which is usually always defined
in fontconfig as a sans-serif font.

Without this, cerebro uses an ugly ans obscure serif font due to
no fallback having been found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants