One of the reasons why #80 is caused is that the fonts of bold, italic and bold italic be initialize with Cascadia Code. If they could be changed to fonts of the same width as each other, the problem might subside a little.
- I dont know how to load the fonts with specific styles? For example,
Menlo, style=Bold for bold font.
One of the reasons why #80 is caused is that the fonts of bold, italic and bold italic be initialize with Cascadia Code. If they could be changed to fonts of the same width as each other, the problem might subside a little.
Menlo, style=Boldfor bold font.select_best_matchmay be the solution, but I havent tried yet. https://docs.rs/font-kit/latest/font_kit/sources/fontconfig/struct.FontconfigSource.html#method.select_best_match