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

The display of Japanese text in OGP is slightly corrupted. #24

Open
shion72 opened this issue Dec 22, 2023 · 2 comments
Open

The display of Japanese text in OGP is slightly corrupted. #24

shion72 opened this issue Dec 22, 2023 · 2 comments

Comments

@shion72
Copy link

shion72 commented Dec 22, 2023

When I shared a post to Twitter with the njump link, I noticed that the Japanese text was displayed a little corrupted.
The lines do not seem to be connected or contain unnecessary white space.

njump Link Preview
スクリーンショット 2023-12-23 0212471
Tweet link : https://twitter.com/shi_on_72/status/1737873170169020475

The Same Sentence on njump Page
スクリーンショット 2023-12-23 022647
njump Page Link : https://njump.me/nevent1qqsgm65qjn6dr3nkd33u4plpr7rqfekyt80dusr75u9kxvp5fc7c04qzyqxfk85laamv3zmrlpnythpnhdmh0up9nmzpue6tv860c4fldkcwquql2w4

The Same Sentence in Bold Font
tesu

The environment may not be relevant since it is an issue of the OGP generated, but I will note it in case it is.

  • Mobile
    device : Xperia 5Ⅱ
    OS : Android 12
    App : Twitter

  • PC
    device : Surface Book 3
    OS : Windows 11
    Browser : Chrome ver.120.0.6099.111

@cxplay
Copy link
Contributor

cxplay commented Dec 22, 2023

It should be the font, here's my local rendering with a different font, there's a noticeable improvement.
image

@fiatjaf
Copy link
Owner

fiatjaf commented Dec 22, 2023

How should it look like considering that it must be split into two lines? I have coded some dumb thing to the lines because most Japanese notes don't have any " " space in them.

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

No branches or pull requests

3 participants