Top Related Projects
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Free monospaced font with programming ligatures
Versatile typeface for code, from code.
A typeface designed for source code
Monospaced font family for user interface and coding environments
JetBrains Mono – the free and open-source typeface for developers
Quick Overview
Powerline Fonts is a collection of pre-patched and adjusted fonts for use with the Powerline status line plugin for various text editors and terminal emulators. These fonts include additional glyphs and symbols that enhance the visual appearance of command-line interfaces and text editors when using Powerline or similar status line plugins.
Pros
- Wide variety of fonts available, catering to different preferences and use cases
- Pre-patched fonts save time and effort for users who want to use Powerline
- Compatible with various operating systems and terminal emulators
- Regular updates and contributions from the community
Cons
- Some fonts may not render correctly on all systems or applications
- Installation process can be complex for beginners
- Limited documentation on how to use specific fonts with different terminal emulators
- Some fonts may have licensing restrictions for commercial use
Getting Started
To install Powerline Fonts on your system, follow these steps:
-
Clone the repository:
git clone https://github.com/powerline/fonts.git
-
Navigate to the fonts directory:
cd fonts
-
Run the installation script:
./install.sh
-
(Optional) To install a specific font family, use:
./install.sh <font-name>
After installation, select the desired Powerline font in your terminal emulator or text editor settings.
Competitor Comparisons
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Pros of Nerd Fonts
- Larger collection of patched fonts with more icons and glyphs
- Includes a font patcher tool for customization
- More actively maintained with frequent updates
Cons of Nerd Fonts
- Larger file sizes due to extensive glyph sets
- May have compatibility issues with some terminal emulators
- Installation process can be more complex for beginners
Code Comparison
Nerd Fonts installation (using Homebrew):
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
Powerline Fonts installation:
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
Summary
Nerd Fonts offers a more comprehensive set of patched fonts with additional icons and glyphs, making it suitable for users who require a wide range of symbols in their development environment. It also provides a font patcher tool for customization. However, the larger file sizes and potential compatibility issues may be drawbacks for some users.
Powerline Fonts, on the other hand, is a simpler and more lightweight option, focusing primarily on providing fonts patched with Powerline symbols. It has a straightforward installation process and smaller file sizes, but offers fewer options and less frequent updates compared to Nerd Fonts.
Choose Nerd Fonts for a feature-rich experience with extensive glyph support, or opt for Powerline Fonts if you prefer a simpler, more focused solution for Powerline symbols.
Free monospaced font with programming ligatures
Pros of FiraCode
- Offers ligatures for common programming symbols, enhancing code readability
- Regularly updated with new features and improvements
- Designed specifically for programming, with a focus on clarity and distinction between similar characters
Cons of FiraCode
- Limited to a single font family, whereas Fonts offers multiple options
- May not be suitable for all programming languages or personal preferences
- Requires explicit support in text editors to fully utilize ligatures
Code Comparison
FiraCode:
function (x) => x.filter(a => a.length > 2)
Fonts (using a Powerline-patched font):
function (x) => x.filter(a => a.length > 2)
The main difference is that FiraCode would display ligatures for =>
and ->
, while Fonts would show these as separate characters.
Additional Notes
FiraCode is a specialized programming font with ligatures, focusing on improved readability for code. Fonts, on the other hand, is a collection of pre-patched fonts that work well with Powerline and similar tools, offering more variety but without the ligature features of FiraCode.
Both repositories serve different purposes and can be valuable depending on the user's needs. FiraCode is ideal for those who prefer ligatures and a modern coding font, while Fonts provides a wide range of options for users of Powerline and related tools.
Versatile typeface for code, from code.
Pros of Iosevka
- Highly customizable font with many style options
- Designed specifically for coding and terminal use
- Supports a wide range of Unicode characters
Cons of Iosevka
- Requires building from source for full customization
- May have a steeper learning curve for configuration
- Limited pre-built variants compared to Powerline fonts
Code Comparison
Iosevka:
[buildPlans.iosevka-custom]
family = "Iosevka Custom"
spacing = "term"
serifs = "sans"
no-cv-ss = true
[buildPlans.iosevka-custom.variants]
inherits = "ss08"
[buildPlans.iosevka-custom.variants.design]
capital-j = "serifless"
Powerline fonts:
./install.sh
# or
./install.ps1
Iosevka offers more granular control over font features through its build configuration, while Powerline fonts provide a simpler installation process for pre-patched fonts. Iosevka's approach allows for extensive customization but requires more setup, whereas Powerline fonts offer a quicker solution for users who need basic Powerline symbol support across various font families.
A typeface designed for source code
Pros of Hack
- Focused on a single, high-quality monospaced font
- Extensive character set support, including programming ligatures
- Active development with frequent updates and improvements
Cons of Hack
- Limited to one font family, less variety than fonts
- May require manual installation in some environments
- Larger file size due to comprehensive character set
Code Comparison
Hack:
def example_function():
return "Hello, World!"
fonts:
def example_function():
return "Hello, World!"
The code appearance is similar, but Hack may offer better readability and distinction between similar characters (e.g., 0 and O, 1 and l) in certain IDEs or text editors.
Key Differences
- Scope: Hack focuses on a single font family, while fonts offers a collection of patched fonts
- Installation: Hack typically requires manual installation, fonts often provides scripts for easier setup
- Customization: fonts allows users to choose from various styles, Hack offers a consistent look across different weights
- Target audience: Hack caters to developers seeking a refined coding font, fonts aims to provide Powerline-compatible options for various use cases
Both repositories offer valuable resources for developers and users looking to enhance their terminal or coding experience, with the choice depending on specific needs and preferences.
Monospaced font family for user interface and coding environments
Pros of Source Code Pro
- Professionally designed by Adobe, ensuring high-quality typography
- Offers multiple weights and styles, providing versatility for different use cases
- Regularly updated and maintained by a dedicated team
Cons of Source Code Pro
- Limited to a single font family, whereas Fonts offers multiple font options
- May not include specialized glyphs for certain programming-related symbols
- Larger file size due to comprehensive character set and multiple weights
Code Comparison
Source Code Pro:
@font-face {
font-family: 'Source Code Pro';
src: url('SourceCodePro-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Fonts:
@font-face {
font-family: 'Powerline';
src: url('PowerlineSymbols.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
Summary
Source Code Pro is a high-quality, professionally designed font family ideal for coding, while Fonts offers a collection of patched fonts with added glyphs for use with Powerline and other text-based user interfaces. Source Code Pro provides a cohesive look with multiple weights, but Fonts offers more variety and specialized symbols. The choice between them depends on specific needs and preferences in programming environments.
JetBrains Mono – the free and open-source typeface for developers
Pros of JetBrainsMono
- Designed specifically for coding, with improved readability for programming languages
- Includes ligatures for common programming symbols, enhancing code aesthetics
- Regularly updated and maintained by JetBrains, ensuring compatibility with modern IDEs
Cons of JetBrainsMono
- Limited to a single font family, while Fonts offers a variety of Powerline-patched fonts
- May not be suitable for users who prefer traditional, non-ligature fonts
- Lacks the extensive community contributions found in the Fonts repository
Code Comparison
JetBrainsMono:
def example_function():
return lambda x: x != 0 and x <= 10
Fonts (using a Powerline-patched font):
def example_function():
return lambda x: x != 0 and x <= 10
While the code appears identical, JetBrainsMono would display ligatures for !=
and <=
, potentially improving readability. The Fonts repository provides various options that support Powerline symbols, which are useful for enhancing terminal and status line appearances in text editors and IDEs.
Both repositories offer valuable font options for developers, with JetBrainsMono focusing on a single, feature-rich font family, and Fonts providing a diverse collection of Powerline-compatible fonts to suit different preferences and use cases.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Powerline fonts
This repository contains pre-patched and adjusted fonts for usage with
the Powerline <https://github.com/powerline/powerline>
_ statusline plugin.
Installation
Run ./install.sh
to install all Powerline Fonts or see the documentation_ for details.
.. _documentation: https://powerline.readthedocs.org/en/latest/installation/linux.html#fonts-installation
Quick installation
If you are running a Debian or Ubuntu based Linux distribution, there should be a package available to install the Powerline Fonts with the following command: :: sudo apt-get install fonts-powerline
For fedora (tested on 28) or redhat based Linux distribution, there should also be a package available to install with the following command: :: sudo dnf install powerline-fonts
On other environments, you can copy and paste these commands to your terminal. Comments are fine too. :: # clone git clone https://github.com/powerline/fonts.git --depth=1 # install cd fonts ./install.sh # clean-up a bit cd .. rm -rf fonts
Uninstall
Run ./uninstall.sh
to uninstall all Powerline Fonts. You can also copy
the quick installation commands changing only the line ./install.sh
to
./uninstall.sh
.
In both cases, please make sure you are working with the exact same version of Powerline fonts you had checked out while installing.
Font Families
======================================= ========================= ====================================
Powerline Font Family Formerly Known As License
======================================= ========================= ====================================
3270 3270 BSD/CCAS 3.0
Anonymice Powerline Anonymous Pro SIL Open Font License, Version 1.1
Arimo Powerline Arimo Apache License, Version 2.0
Cousine Powerline Cousine Apache License, Version 2.0
CPMono_v07 CPMono_v07 Attribution 3.0 Germany (CC BY 3.0 DE)
D2Coding for Powerline D2Coding SIL Open Font License, Version 1.1
DejaVu Sans Mono for Powerline DejaVu Sans Mono DejaVu Fonts License, Version 1.0
Droid Sans Mono for Powerline Droid Sans Mono Apache License, Version 2.0
Droid Sans Mono Dotted for Powerline Droid Sans Mono Dotted Apache License, Version 2.0
Droid Sans Mono Slashed for Powerline Droid Sans Mono Slashed Apache License, Version 2.0
Fira Mono for Powerline Fira Mono SIL OPEN FONT LICENSE Version 1.1
Go Mono for Powerline Go Mono Go's License
Hack Hack SIL OFL, v1.1 + Bitstream License
Inconsolata for Powerline Inconsolata SIL Open Font License, Version 1.0
Inconsolata-dz for Powerline Inconsolata-dz SIL Open Font License, Version 1.0
Inconsolata-g for Powerline Inconsolata-g SIL Open Font License, Version 1.0
Input Mono Input Mono Inputâs license <http://input.fontbureau.com/license/>
_
Liberation Mono Powerline Liberation Mono SIL Open Font License, Version 1.1
ProFontWindows ProFont for Powerline MIT License
Meslo for Powerline Meslo Apache License, Version 2.0
Source Code Pro for Powerline Source Code Pro SIL Open Font License, Version 1.1
Meslo Dotted for Powerline Meslo Dotted Apache License, Version 2.0
Meslo Slashed for Powerline Meslo Dotted Apache License, Version 2.0
Monofur for Powerline Monofur Freeware
Noto Mono for Powerline Noto Mono SIL Open Font License, Version 1.1
Roboto Mono for Powerline Roboto Mono Apache License, Version 2.0
Symbol Neu Powerline Symbol Neu Apache License, Version 2.0
Terminess Powerline Terminus SIL Open Font License, Version 1.1
Tinos Powerline Tinos Apache License, Version 2.0
Ubuntu Mono derivative Powerline Ubuntu Mono Ubuntu Font License, Version 1.0
Space Mono for Powerline Space Mono SIL Open Font License, Version 1.1
======================================= ========================= ====================================
iTerm2 users need to set both the Regular font and the Non-ASCII Font in
"iTerm > Preferences > Profiles > Text" to use a patched font (per this issue
__).
__ https://github.com/Lokaltog/powerline-fonts/issues/44
Fontconfig
In some distributions, Terminess Powerline is ignored by default and must be
explicitly allowed. A fontconfig file is provided which enables it. Copy this file <https://github.com/powerline/fonts/blob/master/fontconfig/50-enable-terminess-powerline.conf>
_
from the fontconfig directory to your home folder under ~/.config/fontconfig/conf.d
(create it if it doesn't exist) and re-run fc-cache -vf
.
Top Related Projects
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Free monospaced font with programming ligatures
Versatile typeface for code, from code.
A typeface designed for source code
Monospaced font family for user interface and coding environments
JetBrains Mono – the free and open-source typeface for developers
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot