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.
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.
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.
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.