yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Exception on Start - Arch Linux #46

Closed jjohnson338 closed 5 years ago

jjohnson338 commented 5 years ago

I'm currently running into an exception thrown on start on Arch Linux: image

Seems to be related to font?

jjohnson338 commented 5 years ago

If I install noto-fonts-tc (sudo pacman -S noto-fonts-tc), I get a different exception: image

jjohnson338 commented 5 years ago

I've no experience with f#, but I grabbed the 3.0 preview sdk and run the application in debug:

image

Tried changing the default typeface to a number of installed fonts on my system, they all error-ed this same way.

jjohnson338 commented 5 years ago

Installing ttf-dejavu solves my issue. If you wouldn't mind, I'd like to take a swing at packaging fvim for the AUR

jjohnson338 commented 5 years ago

The application is launching now, but I've a couple of key issues. Firstly the colon key : seems to not be registering at all. Secondly, I remap the 'Caps Lock' key to the Escape key via xmodmap, but fvim is still seeming to recognize the key as 'Caps Lock'. This is all not really related to the Exception I created this issue originally for, so I can close this one and open a new one?

yatli commented 5 years ago

If you wouldn't mind, I'd like to take a swing at packaging fvim for the AUR

That'll be awesome!

This is all not really related to the Exception I created this issue originally for, so I can close this one and open a new one?

Yep please go ahead. The more keymapping-related issues reported, the faster we can identify the root cause and fix it (hopefully).

Also, wrt the font issue, do you have any recommendation on the default font on Linux? I think I've set it to "Monospace" but according to the exception it's not loading.

Also it should not crash the program.

jjohnson338 commented 5 years ago

"Monospace" works fine on Arch Linux so long as ttf-dejavu is installed, so I think that's probably appropriate as a default font? Closing this issue and will post any other info I have on arch key binds in #48.