Giter Club home page Giter Club logo

powerline-web-fonts's Introduction

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 preview.html and 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 user-css: https://cdn.rawgit.com/wernight/powerline-web-fonts/e4d967ca4f95d9fa0cf1d51afed2e5a5927d759e/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.rawgit.com/wernight/powerline-web-fonts/e4d967ca4f95d9fa0cf1d51afed2e5a5927d759e/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.

Note that the RawGit links require a specific commit SHA-1 because files are cached permanently. Please update your projects to use the CDN links, as overusage of the development URLs (those without cdn.), could result in this repo being blacklisted from RawGit.

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:

powerline-web-fonts's People

Contributors

wernight avatar icecream95 avatar nakulj avatar adrian-martinez-dev avatar jamesbvaughan avatar omgmog avatar remexre avatar yevshev avatar

Watchers

James Cloos avatar Dinis Rebolo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.