powerline / fonts

Patched fonts for Powerline users.
25.55k stars 3.19k forks source link

Terminus font #10

Open kierun opened 11 years ago

kierun commented 11 years ago

As a feature request, could I ask for the terminus font to be added? It used to be patched from the old vim-powerline-fonts so it should not be too much trouble.

Thank you.

Lokaltog commented 11 years ago

The font patcher doesn't support bitmap fonts. You could draw the glyphs yourself in e.g. gbdfed and submit the font as a PR to this repo if you want.

kierun commented 11 years ago

I could do that indeed.... If I had any skills (or sadly, the time) whatsoever! ^_^; I would not even know where to start.

If no one else does it, I will try but that may take some time.

kierun commented 11 years ago

I upgraded to powerline a few days ago and am using the old terminus fonts that were provided on the vim-powerline wiki. So far, so good. If you wanted, I could clone, add them and submit a pull request. But I kind of assume you already have them so can add them yourself. If not, let me know and I shall do that.

kierun commented 11 years ago

Ah, a problem with me submitting the font as was. I do not have a record of who modified it in the first place and do not want to take credit for work I have not done.

dbrgn commented 11 years ago

Terminus support would be great :)

dbrgn commented 11 years ago

What exactly is needed to make a font work with powerline? Are you swapping some specific characters? In that case it should work using bitmap fonts too, right?

I'm using vim in uxterm using the Terminus font with a faceSize of 7.

kierun commented 11 years ago

Quoth Danilo Bargen on Sun, Mar 24, 2013 at 07:18:39 -0700

What exactly is needed to make a font work with powerline? Are you swapping some specific characters? In that case it should work using bitmap fonts too, right?

I'm using vim in uxterm using the Terminus font with a faceSize of 7.

Terminus works fine provided that you have a backup font containing the special symbols.

yann@kierun.org -= H+ =- www.kierun.org PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318

dbrgn commented 11 years ago

Hm, how would I set a backup font for xterm?

kierun commented 11 years ago

This is what I use for urxvt, hopefully you can use something similar for xterm.

urxvt*font: xft:Terminus:pixelsize=12,xft:Inconsolata\ for\ Powerline:pixelsize=12

This goes into your ~/.Xdefault file.

dbrgn commented 11 years ago

I guess that only works for urxvt, not for uxterm. But never mind, I switched to DejaVu Sans Mono, which works great and looks nice :)

trapd00r commented 11 years ago

There's this non-bitmap version of the Terminus font available that you can throw xft on: http://www.ax86.net/2009/11/03/generating-up-to-date-ttf-files-for-the-terminus-font