Powerline Web Fonts for Chromebook
Powerline Web Fonts working in Secure Shell and working also on Chromebook (or pretty much anything running Chrome).
There are several font-family
you can choose from (all Powerline-enabled):
Anonymous Pro
- AnonymiceDejaVu Sans Mono
-Hack
- Hack WebfontInconsolata
- Inconsolata forInconsolata-g
- Inconsolata-g forIosevka
- Iosevka WebfontLiberation Mono
- Literation MonoMonofur
- monofur forPT Mono
- PT Mono for PowerlineSource Code Pro
- Source Code for PowerlineUbuntu Mono
- Ubuntu Mono derivativeMonofur
- Monofur for PowerlineSee Slant if you don’t know which to choose.
chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh_preferences_editor.html
):"Source Code Pro", monospace
https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css
Ctrl+Shift+J
and paste in the following:
term_.prefs_.set('font-family', '"Source Code Pro", monospace');
term_.prefs_.set('user-css', 'https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css');
If you have Crouton installed on a developer mode Chromebook,
or if you’re on pretty much any other OS, you can install those fonts locally or copy them locally
and it’ll work with little to no effort.
To add a new font, you can submit a GitHub pull request through a forked repository. Your pull request should:
PowerlineFonts.css
, preview.html
and README.md
(might use Transfonter to help with the CSS).https://cdn.rawgit.com/
in this README to the latest commit SHA-1. You can do that in the original Pull Request if it gets rebased (merge and sqashes would not work in that case).There are various methods, including:
Using FontForge:
#!/usr/bin/env fontforge
Open($1)
Generate($1:r + ".woff2")`