-
Notifications
You must be signed in to change notification settings - Fork 676
Labels
Description
Current Behavior
The crates.io opengraph images render emojis and CJK characters as square boxes
Example:

Source: https://t.me/CratesRadar/1503
Opengraph image url: https://static.crates.io/og-images/lynn_sundial.png
Expected Behavior
Special characters in crate description should be rendered normally
Steps To Reproduce
- Find a crate where the description contains CJK characters or emojis, like lynn_sundial or sea-query
- Visit the opengraph image url, like https://static.crates.io/og-images/lynn_sundial.png or https://static.crates.io/og-images/sea-query.png
- Verify that ascii characters are properly rendered:
Environment
- Browser: Chrome 139
- OS: macOS 15.6
Anything else?
I made https://t.me/s/CratesRadar to monitor crates.io package updates and discovered the issue by skimming through the og images in the telegram channel
Since the images are generated from the server, it is clearly not a client-side issue. Most likely the image generation service doesn't have Chinese fonts installed.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
For next meeting