jeanguyomarch / eovim

The Enlightened Neovim
https://github.com/jeanguyomarch/eovim/wiki
MIT License
193 stars 3 forks source link

Probably an EFL issue - can't specify size of bitmapped fonts. #34

Closed roflcopter4 closed 4 years ago

roflcopter4 commented 6 years ago

Although I'm fairly confident that this is probably an problem with EFL itself and not eovim, I thought I'd point it out anyway. It seems to be impossible to specify the font size of any bitmapped fonts. They always default to the largest size that font supports and nothing I've tried will change that. Sliding the font size bar around does nothing whatsoever, and even hacking up the source to hardcode the font name and size into the binary also does nothing.

I have noticed this issue with other EFL projects as well which is why I suspect the issue lies with it, but in the off chance that it does not it would be nice if there were some way this could be fixed. I hacked around with the source a little but quickly learned that this problem is way out of my league. All I accomplished was to produce a diagnostic message proving that internally the editor was updating the supposed font size correctly, but still not displaying that size.

A related problem that might also be worth noting is that there is apparently no way to specify the "linespace" of the font (ie adding additional pixels between lines). I rather like this option, especially at ~4am when the lines start to blurr together a bit.

jeanguyomarch commented 6 years ago

Mh.. I never really thought about bitmap fonts. I don't really know how to handle these.

Linespace seems to be an interesting parameter to have, but I'm not sure the EFL widget I'm using supports this. I'll investigate that.