Skip to content

Conversation

@cdce8p
Copy link

@cdce8p cdce8p commented Jan 2, 2018

In some cases bold fonts weren't rendered correctly. Especially for fonts that don't natively support bold text. See image below. For this demonstration I used the Tangerine Font from Google but it's not the only font that has the issue. Normally both lines should be the same length.
bug_bold-fonts

I solved the issue by adding a scaling transformation to those fonts that don't support bold text. Due to the fact that all fonts are slightly diffrent, I added the option s to allow the user to set an individual scaling factor for their font.
fix_bold-fonts

@rbodziony
Copy link

For me looks nice can you mege this too ?

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

Successfully merging this pull request may close these issues.

2 participants