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 Windows emoji font fallback #1337

Merged
merged 2 commits into from Aug 30, 2023
Merged

Fix Windows emoji font fallback #1337

merged 2 commits into from Aug 30, 2023

Conversation

flanakin
Copy link
Contributor

Adds the "Segoe UI Emoji" font as a fallback to cover all emojis on Windows.

Closes #1329

Copy link
Member

@mattxwang mattxwang left a comment

Choose a reason for hiding this comment

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

Thank you for contributing a PR @flanakin! This LGTM.


As an aside, it seems like system font stack defaults these days include a few more fonts.

  • CSS Tricks additionally includes "Apple Color Emoji" and "Segoe UI Symbol"
  • a similar website also includes some more pre-installed fonts on most OSes: avenir, avenir next, cantarell, ubuntu, noto

The former is probably a trivial inclusion, while the latter actually does change the look of the site (i.e. it'd take precedence over Arial). I'll ponder this and deal with this in another PR.

Thanks again @flanakin for investigating and submitting a PR!

@mattxwang mattxwang changed the title Fix info emoji on Windows Fix emoji font fallback on Windows Aug 30, 2023
@mattxwang mattxwang changed the title Fix emoji font fallback on Windows Fix Windows emoji font fallback Aug 30, 2023
@mattxwang mattxwang merged commit c115932 into just-the-docs:main Aug 30, 2023
26 checks passed
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.

Info emoji does not render as a picture
2 participants