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

Correctly render non-latin alphabets in shield #6989

Open
niruvt opened this issue Sep 6, 2021 · 1 comment
Open

Correctly render non-latin alphabets in shield #6989

niruvt opened this issue Sep 6, 2021 · 1 comment
Labels
bug Bugs in badges and the frontend npm-package Badge generation and badge templates

Comments

@niruvt
Copy link

niruvt commented Sep 6, 2021

Are you experiencing an issue with...

shields.io

🐞 Description

I want to use shields in non-Latin scripts.

I tried this link: https://img.shields.io/badge/परवाना-आलोक-blueviolet

This is Devanagari script.

See it's current (2021/09/06) rendering.

Devanagari: shields-dev

There are unnecessary spaces in this rendering. I can experience something similar with the following scripts.

Bengali: shields-bn

Source: https://img.shields.io/badge/অনুজ্ঞপ্তি-জীপীএল-red

Gujarati: shields-guj

Source: https://img.shields.io/badge/પરવાનો-જીપીએલ-yellow

There seems to be something particularly wrong with the Indic script rendering. Kindly look into the matter.

🔗 Link to the badge

No response

💡 Possible Solution

No response

@niruvt niruvt added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Sep 6, 2021
@niruvt niruvt changed the title Use of a fontshaper to correctly render non-latin alphabets in shield Correctly render non-latin alphabets in shield Sep 6, 2021
@chris48s
Copy link
Member

chris48s commented Sep 6, 2021

More discussion on this in #4140

@chris48s chris48s added bug Bugs in badges and the frontend npm-package Badge generation and badge templates and removed question Support questions, usage questions, unconfirmed bugs, discussions, ideas labels Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend npm-package Badge generation and badge templates
Projects
None yet
Development

No branches or pull requests

2 participants