1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-31 12:27:22 +02:00
nerd-fonts/readme.md
ryanoasis cebdc6d085 Fixes scaling issues in first set of glyphs in certain fonts (fixes issue #1)
* fixes scaling of other fonts that aren't 2048 em size (all the currently patched 1000 em fonts included
* repatched included fonts
* fixes the font-patcher script
* added font em size info to the readme
2014-12-05 17:53:11 -05:00

39 lines
1.3 KiB
Markdown

nerd-filetype-glyphs-fonts-patcher
==================================
Adds filetype glyphs (icons) to any font you pass in or you can simply use one of the provided patched font (see list below)
Created for use with [vim-webdevicons](https://github.com/ryanoasis/vim-webdevicons)
## Usage
Typical install of the patched font or generate a patched font from your own font to get the additional new glyphs.
## Patched Fonts
| Currnetly Included Patched Fonts | em size |
|--------------------------------------------------------|----------|
| Anonymice Powerline Plus Nerd File Types | 2048 |
| Droid Sans Mono for Powerline Plus Nerd File Types | 2048 |
| Literation Mono Powerline Plus Nerd File Types | 2048 |
| ProggyCleanTT Plus Nerd File Types | 2048 |
| Sauce Code Powerline Plus Nerd File Types | 1000 |
| Ubuntu Mono derivative Powerline Plus Nerd File Types | 1000 |
| Ubuntu Mono Plus Nerd File Types | 1000 |
Patching the font of your own choosing:
* requires: python2, python-fontforge package
* usage:
> ./font-patcher PATH_TO_FONT
e.g.
./font-patcher unpatched-sample-fonts/Droid\ Sans\ Mono\ for\ Powerline.otf
./font-patcher Inconsolata.otf
## License
see [LICENSE](LICENSE)