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

Prefer bundled version of Source Code Pro #1307

Merged
merged 2 commits into from
Sep 6, 2020

Conversation

camelid
Copy link
Member

@camelid camelid commented Aug 29, 2020

Fixes #1304.

This prevents an issue with Firefox 80 on macOS that prevents syntax
highlighting from working.

This prevents an issue with Firefox 80 on macOS that prevents syntax
highlighting from working.
@camelid
Copy link
Member Author

camelid commented Aug 29, 2020

Before (master branch)

image

After (this branch)

image

src/theme/fonts/fonts.css Outdated Show resolved Hide resolved
It's unlikely that the bundled version wouldn't load, and it's
especially unlikely that the page would load but the bundled version
would not.

Also, if it doesn't load, it should fall back to another monospace font,
which is fine.
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ehuss ehuss merged commit 4df9ec9 into rust-lang:master Sep 6, 2020
@camelid
Copy link
Member Author

camelid commented Sep 6, 2020

Thanks for reviewing! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax highlighting doesn't work on macOS with Firefox 80
2 participants