adobe-fonts / source-code-pro

Monospaced font family for user interface and coding environments
https://adobe-fonts.github.io/source-code-pro/
SIL Open Font License 1.1
19.9k stars 1.63k forks source link

Include "CN" column number symbol #291

Open ogarcia opened 2 years ago

ogarcia commented 2 years ago

If you use vim with airline and powerline enabled you need a "CN" symbol at U+E0A3 like the "LN" symbol.

Sample: https://github.com/ryanoasis/powerline-extra-symbols/blob/master/img/fontforge.png Code: https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt#L397

Could this be added to Source Code Pro?

fourpastmidnight commented 2 years ago

You don't "need" it. But, it is nice to have. Having said that, there is an option, at least with vim-airline to set the font face to be used in the powerline. So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Check out the documentation on vim-airline.

ogarcia commented 2 years ago

[..] So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Yes, I know. Although it is not as you say, since vim (in console) can have only one active font. What you can do is to configure airline to use a different symbol for colnr.

fourpastmidnight commented 2 years ago

Did you check out the Nerd Font website? They take fonts and add the Powerline symbols to them. I prefer Microsoft's Cascadia Code, for example, and Nerd Font patched the font with the Powerline symbols and called it Kaskadia Cove.

I beleieve they've done the same with SourceCode Pro. Other fonts they've patched are FiraCode and Hasklig, among many others.

pauldhunt commented 2 years ago

@ogarcia I’ll add this in the next revision.