News for hackers. Stuff that matters.
Re:Can I use a non-monospaced font in either Vim or gVim? by pmoriarty on Saturday August 04, 2018 @04:59AM (#17686019)
"I've never understood the attraction of non-monospaced font in an editor."

I need to use some special characters which are only available in certain proportional fonts. They are simply not available in any monospace fonts, so it's impossible for me to do what I need to do without them.

Even if those characters were available in a monospace font, I just prefer the look of some of these proportional fonts, so would prefer to use them for purely aesthetic reasons as well.

This is not for coding purposes, for which I do prefer monospace fonts, for alignment reasons. But if it was possible to get monospace-like alignment with proportional fonts, and a clear distinction between the characters 0O1l;:,.`', then I might prefer them for coding as well, since there seem to be a much greater choice of proportional fonts than monospace fonts.

On the other hand, I'm pretty happy with using Inconsolata for programming, so I'm not sure I'd switch. But it'd be nice to have the choice.

Re:Can I use a non-monospaced font in either Vim or gVim? by earenndil on Sunday August 05, 2018 @04:29AM (#17690342)
Why not use fontforge to grab the characters out of the proportional font and add them to the monospace font?
Re:Can I use a non-monospaced font in either Vim or gVim? by ur-whale on Saturday August 04, 2018 @05:08AM (#17686040)
From a comment I made below:

How much would you like to read non-monospace code with an array of colors encoded in hexadecimal ?

Re:Can I use a non-monospaced font in either Vim or gVim? by captainmuon on Saturday August 04, 2018 @06:48AM (#17686305)
In many proportional fonts, numbers and certain punctuation, like "#", have the same width. In others, you can explicitly select "table figures" to get this effect.
Re:Can I use a non-monospaced font in either Vim or gVim? by pmoriarty on Saturday August 04, 2018 @05:15AM (#17686071)
As I said, for coding I'd only use a proportional font if I could get monospace-like alignment from it (and if I could distinguish the 0O1l;:,.`' characters in it as well).

Effectively, this means I'm stuck with using only monospace fonts for programming. This is a limitation that I wish I didn't have, as there are far more proportional fonts out there than monospace fonts.