discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.91k stars 1.25k forks source link

/guilds/{guild.id}/widget.png does not support CJK character in the guild name #1865

Closed Dianliang233 closed 2 years ago

Dianliang233 commented 4 years ago

When calling /guilds/{guild.id}/widget.png with style of banner1, banner2, banner3 or banner4, it seems that fonts of CJK characters are missing.

Example:

View these images in-page ![banner1](https://discord.com/api/guilds/683236421687050252/embed.png?style=banner1) ![banner2](https://discord.com/api/guilds/683236421687050252/embed.png?style=banner2) ![banner3](https://discord.com/api/guilds/683236421687050252/embed.png?style=banner3) ![banner4](https://discord.com/api/guilds/683236421687050252/embed.png?style=banner4)

Expected: MC中文Wiki贡献者茶馆

night commented 3 years ago

This looks to be because the font we're using does not support these characters. I don't see a way to support a fallback font either, so it's unlikely this is something we will fix anytime soon.

night commented 2 years ago

This should be fixed in the next API deploy.