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

Fix character kerning for bold text #6328

Open
1 of 3 tasks
Chaphasilor opened this issue Mar 27, 2021 · 2 comments
Open
1 of 3 tasks

Fix character kerning for bold text #6328

Chaphasilor opened this issue Mar 27, 2021 · 2 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@Chaphasilor
Copy link

Are you experiencing an issue with...

🪲 Description

When using the for-the-badge style, text character/letter spacing can get mangled a bit.
Here's an example:
image

As you can see, the "UP" text isn't very legible (especially if the badge isn't enlarged like this)...

🔗 Link to the badge

https://img.shields.io/badge/WEBSITE-UP-brightgreen?style=for-the-badge

💡 Possible Solution

Fixing this probably requires changes to the font or text-to-svg library...
Another possible fix would be to display it like the label text (with spaces in-between), but this would be a breaking change...

@Chaphasilor Chaphasilor added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Mar 27, 2021
@calebcartwright
Copy link
Member

Thanks for reaching out!

I think this is almost certainly a duplicate of some previous issues but will hold off on closing it for the immediate future. There's a pretty massive overhaul already in flight which addresses a lot of underlying issues in the ftb style badge building (refs #5754)

@Chaphasilor
Copy link
Author

@calebcartwright you're right, this will most likely fix it. awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants