powerline-web-fonts

Powerline Web Fonts for Chromebook

Github星跟蹤圖

powerline-web-fonts

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):

See Slant if you don't know which to choose.

Usage example

Usage example for Secure Shell

  • Launch Secure Shell and click on Options
    (or go to chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh_preferences_editor.html):
    • Set font-family: "Source Code Pro", monospace
    • Set Custom CSS (URI): https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css

Usage example for Crosh Window

  • Start crosh window then press 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.

Suggesting a new font

To add a new font, you can submit a GitHub pull request through a forked repository. Your pull request should:

  • Include a new font file in WOFF2 format.
  • Add your font to PowerlineFonts.css, preview.html and README.md (might use Transfonter to help with the CSS).
  • Once merged, send another pull request, I might forget, that updates all 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).

Converting to WOFF2

There are various methods, including:

主要指標

概覽
名稱與所有者wernight/powerline-web-fonts
主編程語言HTML
編程語言CSS (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2015-09-30 14:40:22
推送於2019-12-19 08:50:05
最后一次提交2019-12-19 09:50:04
發布數0
用户参与
星數210
關注者數4
派生數53
提交數47
已啟用問題?
問題數9
打開的問題數6
拉請求數11
打開的拉請求數1
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?