Skip to content

Automatically patch up-to-dated JetBrains-Mono Fonts with up-to-dated and complete Nerd-Fonts.

License

Notifications You must be signed in to change notification settings

Zhaopudark/JetBrainsMonoNerdFonts

Repository files navigation

JetBrainsMonoNerdFonts (OpenType Layout, TrueType Outlines) (Regulear)

An auto-updated compiling version of JetBrains Mono that has been patched with Nerd Fonts.

Features or Limitations

  • Add all available Nerd Fonts glyphs by --complete.
  • Aim to editor and terminal scenarios. So:
    • Only patch Regular font and remove any other fonts.
    • Only patch JetBrainsMono-Regular.ttf and output JetBrainsMonoNerdFont-Regular.ttf.

License

Usage

NOTICE: This repository can update automatically by Github Actions. You can just download JetBrainsMonoNerdFont-Regular-v*.*.ttf from the latest release.

Or, you can build it by yourself as the following steps.

Build

Build on Windows

  • Requirements:

  • Steps:

    git clone https://github.com/Zhaopudark/JetBrainsMonoNerdFonts.git
    cd JetBrainsMonoNerdFonts
    
    Install-Module -Name PSComputerManagementZp -Force
    Import-Module PSComputerManagementZp
    
    winget install --id FontForge.FontForge --force # UAC prompt may occur
    Add-PathToCurrentProcessEnvPath -Path "C:\Program Files (x86)\FontForgeBuilds\bin"
    
    pip install -r "./requirements.txt" -q
    . ".\build.ps1" $GithubPAT # consider to provide a Github Personal Access Token
  • Get the output font file from .\Output\JetBrainsMonoNerdFont-Regular.ttf.

Build on Linux

  • Requirements:

    • Linux platform.
    • PowerShell 7.x.
      • For stable build, you need to provide a Github Personal Access Token as a shell variable $GithubPAT.
    • Python 3.11 or higher. (As long as you can install the following dependencies correctly.)
    • Other Tools:
  • Steps:

    git clone https://github.com/Zhaopudark/JetBrainsMonoNerdFonts.git
    cd JetBrainsMonoNerdFonts
    
    sudo apt install fontforge
    
    pip install -r "./requirements.txt" -q
    . "./build.ps1" $GithubPAT # consider to provide a Github Personal Access Token
  • Get the output font file from .\Output\JetBrainsMonoNerdFont-Regular.ttf.