powerline / fonts

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

Install fonts in Windows 10 #269

Open aishalih opened 6 years ago

aishalih commented 6 years ago

I'm using Windows 10 Pro 64-bit, Ubuntu Subsystem with fish, customizing it with oh-my-fish. I'm gonna using theme like agnoster or bobthefish, but having trouble to use Powerline-shell on this environment. I have installed the powerline-shell and follow how to install the fonts, but nothing changed. Maybe someone can help me? Thanks.

adicirstei commented 6 years ago

If I'm not mistaken, there is a script file install.ps1 that you can run in powershell to have all the fonts installed.

aishalih commented 6 years ago

@adicirstei : I have installed the powerline-shell with ./install.py, and nothing change, maybe I wrong step or something, I don't have idea

victormongi commented 6 years ago

Same issue here...

rpennacchio commented 6 years ago

Hi! This blogpost describe how to install these fonts : https://medium.com/@slmeng/how-to-install-powerline-fonts-in-windows-b2eedecace58 😄

piotrkochan commented 6 years ago

blogpost article works great!

tipounet commented 6 years ago

hi,

have you change the font in your terminal configuration ?

I use this font "DejaVu Sans Mono for Powerline". Tested with native "cmd" and hyperjs

hrai commented 5 years ago

I'm using spaceship theme and only "DejaVu Sans Mono for Powerline" works. Rest have missing characters which don't show properly on the WSL console.

Update- I've started using con emu and other fonts work well.

recteurlp commented 5 years ago

"DejaVu Sans Mono for Powerline" seems to be the only font working properly ...

Some are missing too, Roboto ? https://github.com/powerline/fonts/issues/241

kamasylvia commented 5 years ago

"DejaVu Sans Mono for Powerline" seems to be the only font working properly ...

Some are missing too, Roboto ? #241

Same, only "DejaVu" is available under WSL. I hope at least "Source Code Pro" can work.

ms-jasondel commented 5 years ago

hi,

have you change the font in your terminal configuration ?

I use this font "DejaVu Sans Mono for Powerline". Tested with native "cmd" and hyperjs

As mentioned above, changing fontFamily in the config file fixed: // font family with optional fallbacks fontFamily: '"DejaVu Sans Mono for Powerline", Consolas, "Lucida Console", monospace',

0xMLNK commented 4 years ago

Hi There, I'm using Terminal app, here is some solution. Open Settings file from Terminal. And change default font. { "guid": "{some id here}", "hidden": false, "name": "Ubuntu", "fontFace": "Inconsolata-dz for Powerline", "source": "Windows.Terminal.Wsl" },

That fixed problem.

crhistianramirez commented 4 years ago

Would be great to have this in the README.

drewhemm commented 4 years ago

Confirmed - only font working in WSL is "DejaVu Sans Mono for Powerline", all others result in broken characters:

Annotation 2020-04-27 202538

It was only finding this post that made me realise only this font works!

All fonts working fine in other apps. This is Roboto Mono in the Terminal app:

Annotation 2020-04-27 202647

And same font in Visual Studio Code integrated terminal:

Annotation 2020-04-27 202818

yujinyuz commented 4 years ago

@drewhemm Thanks for that! I'm also having the same issue but I think I can live with Dejavu :D

dante-2012 commented 4 years ago

image

Font "Sarasa Term SC" works perfect as above.

HMubaireek commented 3 years ago

"DejaVu Sans Mono for Powerline" seems to be the only font working properly ...

Some are missing too, Roboto ? #241

Thank you so much. This worked. It should be added to the docs.

ForsakenRei commented 2 years ago

I forgot my settings before and after some digging I managed to find it somewhere. While I didn't use the DejaVu because it looks a little different from the font I'm used to, here's my editors font family setting: Consolas, 'Courier New', monospace, Hack. With terminal font family fall back to the editor settings, I have no issue with agnoster theme.

ashajjar commented 2 years ago

@0xMLNK which settings file are we talking about here 😄 ?

ashajjar commented 2 years ago

I did not know you can use the same WSL terminal from Windows Terminal application

For anyone wondering: Hit windows key Start typing : Windows Terminal and hit enter When the terminal opens: press Ctrl+, this will open the settings file that @0xMLNK was talking about, here update your favorite terminal settings. In my case I had to add the font face to profiles.list.[x]

where x is the index of the terminal that has the source set to 'Windows.Terminal.Wsl'