powerline / fonts

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

terminus #71

Open zysyl opened 10 years ago

zysyl commented 10 years ago

hi guys. I don't understand how to install font Terminus used https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation other fonts work fine.

zysyl commented 10 years ago

by default in ubuntu bitmaps fonts disabled. for enable
sudo unlink /etc/fonts/conf.d/70-no-bitmaps.conf

drobati commented 9 years ago

I think installing Terminus variant has something to do with fontpatcher.

https://bitbucket.org/ZyX_I/bitmap-font-patcher

drobati commented 9 years ago

So for TTY Terminess worked via setfont after copying the .psf.gz files to /usr/share/consolefont.

I have no idea if you can use PSF fonts with the likes of urxvt.

aalvarado commented 9 years ago

Seems the current install.sh doesn't search for any other than ttf/otf font extensions https://github.com/Lokaltog/powerline-fonts/blob/master/install.sh#L16

find_command="find $powerline_fonts_dir -name '*.[o,t]tf' -type f -print0"
Flashwalker commented 9 years ago

by default in ubuntu bitmaps fonts disabled. for enable sudo unlink /etc/fonts/conf.d/70-no-bitmaps.conf

Wow, i broke my mind how to enable it. Thnx!

dpluy commented 7 years ago

@zysyl Same to you. now, can you solve this problem? Please help me.

Flashwalker commented 7 years ago
sudo unlink /etc/fonts/conf.d/70-no-bitmaps.conf
cd /etc/fonts/conf.d
sudo ln -s ../conf.avail/70-yes-bitmaps.conf
dpluy commented 7 years ago

@Flashwalker I'm using Arch in which bitmaps fonts aren't linked. After I executed cd /etc/fonts/conf.d

sudo ln -s ../conf.avail/70-yes-bitmaps.conf, It didn't work. It still displays abnormally in textual user interface.

dpluy commented 7 years ago

I just wrote if [[ $(tty) == /dev/tty* ]]; then setfont ter-powerline-v16b.psf.gz fi in .zshrc file provisional. It's solved temporarily. But I feel that it is a tricky skill.