Open LevitatingBusinessMan opened 1 year ago
Adding strikethrough and underlined would be relatively easy, I think. Bold may be achieved by increasing pixel size, tho I'm not sure it will give the desired result. Fontforge seems to have inbuilt italics generation, tho i'm not sure if that would create the proper result
Normally, font renderers are able to "bold" and "italic" fonts automatically. But sometimes it can go bad.
Italicizing is quite easy, just slant the grid by let's say 15 degrees. Bold can be done by expanding the lines by small amount. Underline and strikethrough is already automatic, since it's just a simple line.
As far as my research goes, Fontforge can't pack all variants into a single file. So there will be a separate file for italic and bold variant.
Normally, font renderers are able to "bold" and "italic" fonts automatically. But sometimes it can go bad.
From my testing Alacritty isn't able to do this. Could be a limitation of Alacritty, I can look into that.
I have tested some ideas and it might work. It's on my fork at branch new-ligatures
. I maybe put a proper PR later.
As far as I'm concerned, the rendering is already good, but it would be much better if the text were a little more bold.
If anyone has solutions for this, I'd be interested.
Could Bold, Italics, Underlined and Strikethrough be added? From what I understand these styles are currently not included.