The font weight of text rendered with this library seems to be off in comparison to the font rendering used in browsers.
Safari:
wgpu_glyph:
If you look closely, there's a pixel difference between these two—easy to spot at the plus or equals sign. They both don't have any font weight modifications; it's the default font weight.
The same holds true for Firefox and Chrome.
I'm not a font expert, so I have no idea what method would need to be implemented, which one is used in browsers to achieve this, or whether browsers diverge from default OS font rendering in this case.
Nevertheless, the text seems to be just a little bit too thin in comparison. Help would be much appreciated here :-)
The font weight of text rendered with this library seems to be off in comparison to the font rendering used in browsers.
Safari:
wgpu_glyph:
If you look closely, there's a pixel difference between these two—easy to spot at the plus or equals sign. They both don't have any font weight modifications; it's the default font weight.
The same holds true for Firefox and Chrome.
I'm not a font expert, so I have no idea what method would need to be implemented, which one is used in browsers to achieve this, or whether browsers diverge from default OS font rendering in this case.
Nevertheless, the text seems to be just a little bit too thin in comparison. Help would be much appreciated here :-)
Edit: using macOS.