Skip to content

Farsi texts are not rendered correctly on some browsers #3

@rezamoeini97

Description

@rezamoeini97

Describe the bug
Farsi or Arabic texts (I didn't test other languages to see if they have the same problem) were not rendered correctly and fell apart in badges. For example سلام دنیا will be rendered in badge something like this ا ی ن د م ا ل س but in the worst shape and the characters placed inside each other.

To Reproduce
Steps to reproduce the behavior:
Any Persian or Arabic text in link or title badges:
badgify.thex.solutions/api/badge/link?title=سلام%20دنیا&icon=github
badgify.thex.solutions/api/badge/title?title=سلام%20دنیا

Screenshots
On Ubuntu OS, Chrome browser:

rsz_1screenshot_from_2022-03-09_10-55-54

On IOS 15.2.1, Safari browser:

rsz_1photo_2022-03-09_11-08-11

But on Windows OS, Chrome browser, everything is Ok:

Screenshot (36)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions