hubs icon indicating copy to clipboard operation
hubs copied to clipboard

Certain characters don't display correctly in link previews

Open youngchief-btw opened this issue 5 years ago • 3 comments

Description Hubs won't show "ツ" correctly in link previews, not sure if this applies to other characters as well

To Reproduce Steps to reproduce the behavior:

  1. Go to any Hubs room
  2. Make a new object with the link (ex. https://discord.gg/myuyJqH), so you can have a link preview
  3. Once link preview has loaded
  4. See error

Expected behavior It loads as it would in a browser, which would not show a NULL character

Screenshots Screenshot 2020-04-10 at 7 58 09 PM

Hardware

  • Device: Desktop
  • OS: ChromeOS
  • Browser: Chrome v80.0.3987.162

Additional context Add any other context about the problem here.

┆Issue is synchronized with this Jira Task

youngchief-btw avatar Apr 11 '20 18:04 youngchief-btw

Looks like the screenshot service we use doesn't have fonts for some languages. The japanese language wikipedia is broken too: https://ja.wikipedia.org/

brianpeiris avatar Apr 13 '20 19:04 brianpeiris

The screenshot service in question is photomenmonic: https://github.com/MozillaReality/photomnemonic Since it's just an AWS lambda script, it's hard to say if we have the ability to install additional fonts on that infrastructure.

brianpeiris avatar Apr 13 '20 19:04 brianpeiris

Wouldn't it just be loading the fonts when importing in CSS?

youngchief-btw avatar Apr 17 '20 00:04 youngchief-btw