Skip to content

A python script that patches fonts with glyphs from the guys at www.nerdfonts.com. It also has multiprocessing support to speed up patching.

License

Notifications You must be signed in to change notification settings

bexter989/nerdfont-patcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NerdFont Patcher

This is a hackish wrapper for the NerdFont patcher script. I don't know if there is an official way of doing this so... Plus it now has multiprocessing support to speed up font patching.

It's dumb, but it works! on Linux! and WSL for windows 10 "¯\(ツ)/¯"

Greeting and Thanks

A big hello and Thanks to the guys at Nerdfonts.com. They've done a wonderful job so thanks, guys.

Requirements

  • Fontforge (for patching the fonts)
  • configparser
  • Internet connection (for obvious reasons)
  • curl (to download font glyphs)

Setup

  • Install fontforge:
    sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:fontforge/fontforge -y
    sudo apt-get update
    sudo apt-get install fontforge
  • Install other dependencies:
    sudo apt-get install python3-fontforge python-configparser
    It will download the font-glyphs and patcher script from the nerdfonts repo.
  • Clone and cd into this repo
    git clone https://github.com/bexter989/nerdfont-patcher.git; cd nerdfont-patcher
  • Run the script:
    python3 ./nerdfont-patcher.py {font dir name} {font name}
    Patched fonts are generated in the "Patched" folder with the specified font name.

Usage

  • Download and extract any monospace font (e.g., VictorMono) into the cloned folder (in this case, the TTF dir).
  • Run the script as follows:
    python3 ./nerdfont-patcher.py ./TTF VictorMono

Demonstration

Watch a 3-minute clip on Youtube

About

A python script that patches fonts with glyphs from the guys at www.nerdfonts.com. It also has multiprocessing support to speed up patching.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages