powerline / fonts

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

Ubuntu 18.04 installation does not work #281

Open zd-dalibor opened 6 years ago

zd-dalibor commented 6 years ago

I do not see any of this fonts after installing it with

sudo apt-get install fonts-powerline
sudo fc-cache -f -v

I tried this also fontconfig suggestion but without success.

Darkbish commented 6 years ago

Yes, apt package does not work, I clone this repository and install by install.sh works.

likarum commented 6 years ago

Debian 9.4 same problem (and same solution)

SConaway commented 6 years ago

Same.

pandasauce commented 5 years ago

18.04 LTS, neither option works.

cieplik206 commented 5 years ago

Same, running install.sh also does not fix font on shell with ohmyzsh, any ideas ?

sternapeg commented 5 years ago

you should set the shell font to droid sans mono dotted for powerline regular @dalibor983 @Darkbish

lazincastro commented 5 years ago

Try to use that in your terminal:

git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts

https://github.com/powerline/fonts

aiguofer commented 5 years ago

Weird, for me it seems to work with gnome-terminal, but not with Terminator. Installing from repo as mentioned above fixes it for me.

toxicmender commented 5 years ago

Just in case:

  1. clone this repo
  2. run ./install.sh from the repo
  3. add the files 10 & 50 to fontconfig/conf.d/ directory Note: fc-cache -vf in Ubuntu Disco checks in ~/.fontconfig/conf.d, it could be ~/.config/fontconfig/conf.d/ otherwise
  4. Now open your terminal emulation application and go to preferences->profile and change the font to the patched font. For example: Mine was FiraMono Regular, changed to FiraMono for powerline.
  5. Save and the exit preferences, you should see the new font now
Jooeeee commented 4 years ago

Maybe, it doesn't have the permission. try this: install font, then add permission; chmod -R 777 ~/.local/share/fonts

apjanke commented 4 years ago

The Debian fonts-powerline package is not expected to work this way. That fonts-powerline package contains only the "Powerline Symbols" font, which is a small font containing only the special Powerline symbol characters, and no normal characters (like "A", "B", "C", etc.). On its own, the Powerline Symbols font is only useful in applications which support "font fallback", where you can specify multiple fonts, and if the application doesn't find a glyph for a particular character in the first font, it goes and looks in the second font, and so on. Lots of apps don't support this.

What y'all want are the "Powerline-patched fonts", which are a collection of various open-source fonts which have had the plain Powerline Symbols font merged in to them, so that you can use them in applications which support only a single font selection.

Maybe someone should send in a request to Debian for a fonts-powerline-patched package, that contains the powerline-patched fonts in this repo? Could make life easier for users.

leijerry888 commented 4 years ago

The Debian fonts-powerline package is not expected to work this way. That fonts-powerline package contains only the "Powerline Symbols" font, which is a small font containing only the special Powerline symbol characters, and no normal characters (like "A", "B", "C", etc.). On its own, the Powerline Symbols font is only useful in applications which support "font fallback", where you can specify multiple fonts, and if the application doesn't find a glyph for a particular character in the first font, it goes and looks in the second font, and so on. Lots of apps don't support this.

What y'all want are the "Powerline-patched fonts", which are a collection of various open-source fonts which have had the plain Powerline Symbols font merged in to them, so that you can use them in applications which support only a single font selection.

Maybe someone should send in a request to Debian for a fonts-powerline-patched package, that contains the powerline-patched fonts in this repo? Could make life easier for users.

This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta

entrptaher commented 4 years ago

Just in case:

  1. clone this repo
  2. run ./install.sh from the repo
  3. add the files 10 & 50 to fontconfig/conf.d/ directory Note: fc-cache -vf in Ubuntu Disco checks in ~/.fontconfig/conf.d, it could be ~/.config/fontconfig/conf.d/ otherwise
  4. Now open your terminal emulation application and go to preferences->profile and change the font to the patched font. For example: Mine was FiraMono Regular, changed to FiraMono for powerline.
  5. Save and the exit preferences, you should see the new font now

I did have to change the fonts, no other ways were working because it was simply using a different font. Both for Terminator and gnome-terminal.

the-lambda-way commented 4 years ago

This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta

I had the same issue with VSCode on Ubuntu, which led me to the thread. You can add PowerlineSymbols as a fallback font to the terminal simply by adding it to the "terminal.integrated.fontFamily" setting (ex: my_font, PowerlineSymbols). However, I found the symbols to be slightly misaligned to my font (DejaVu Sans Mono), so I ended up using the patched version anyway.

Mithrandir2k18 commented 2 years ago

This is exactly what happened to me! The symbols did help me to have a good ohmyzsh in ubuntu terminal, but not in vscode terminal. Now I will need a xxx for powerline, i.e. powerline patched font. This is on ubuntu 20.04 beta

I had the same issue with VSCode on Ubuntu, which led me to the thread. You can add PowerlineSymbols as a fallback font to the terminal simply by adding it to the "terminal.integrated.fontFamily" setting (ex: my_font, PowerlineSymbols). However, I found the symbols to be slightly misaligned to my font (DejaVu Sans Mono), so I ended up using the patched version anyway.

Same issue on Ubuntu 20.04

LinkPhoenix commented 2 years ago

With Pop!_OS 21.10

I create powerline folder in /usr/share/fonts/ en Reset font cache and all is work !

$ git clone https://github.com/powerline/fonts.git
$ sudo mkdir /usr/share/fonts/powerline
$ sudo cp -r ~/fonts/* /usr/share/fonts
$ fc-cache -f /usr/share/fonts

Exit all terminals and launch one

With the ./install.sh the script install fonts in /.local/share/fonts but didn't work

NTD815 commented 6 months ago

With Pop!_OS 21.10

I create powerline folder in /usr/share/fonts/ en Reset font cache and all is work !

$ git clone https://github.com/powerline/fonts.git
$ sudo mkdir /usr/share/fonts/powerline
$ sudo cp -r ~/fonts/* /usr/share/fonts
$ fc-cache -f /usr/share/fonts

Exit all terminals and launch one

With the ./install.sh the script install fonts in /.local/share/fonts but didn't work

Thanks a lot! Working now ;)