Issue #48 new

Support windows/mac font names

equalsraf
repo owner created an issue

What steps will reproduce the problem?

In windows open qvim.exe

:set guifont=Ubuntu_Mono:h10:cANSI

What is the expected output? What do you see instead?

The Ubuntu Mono font should be selected, with point size 10. Instead an error shows up "Invalid font ..."

Description

Windows and Mac GUIs uses a different format for font names, see :help guifont. To maintain a consistent behaviour we should support both formats.

Some initial support for this should be easy to add, for font name and size. The issue gets more complex depending if we want to

Support both formats in all systems (Windows/Linux) - this is useful if we share the same vimrc between windows and Linux

Support all the features of the format (bold, italic, underline, encoding, etc)