Git Product home page Git Product logo

cantarell-nerd-font's Introduction

Cantarell + Nerd Fonts

a screenshot with updated fonts

GNOME extension: https://extensions.gnome.org/extension/3851/workspaces-bar/

Quick install

  1. Download the latest release
  2. Install fonts

How to patch Cantarell font (or any)

  1. Clone Nerd Fonts repo
git clone https://github.com/ryanoasis/nerd-fonts --depth 1 && cd nerd-fonts
  1. Download FontForge*.AppImage (or use the latest stable release)
curl -O https://github.com/fontforge/fontforge/releases/download/20220308/FontForge-2022-03-08-582bd41-x86_64.AppImage
chmod +x ./FontForge-*.AppImage
  1. Patch each font
fonts=(
    "/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Bold.otf"
    "/usr/share/fonts/abattis-cantarell-fonts/Cantarell-ExtraBold.otf"
    "/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Light.otf"
    "/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Regular.otf"
    "/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Thin.otf"
)
out_dir="${PWD}/cantarell-nerd-fonts-complite"

for font in "${fonts[@]}"; do
    echo "Patch ${font}..."
    ./FontForge*.AppImage -script ${PWD}/font-patcher -c "${font}" -out "${out_dir}" --careful
done
  1. Move generated fonts
font_dir="~/.local/share/fonts"

mkdir -p "${font_dir}"
cp "${out_dir}" "${font_dir}"
  1. Regenerate font cache
fc-cache -rf

Thanks to

cantarell-nerd-font's People

Contributors

s373r avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cantarell-nerd-font's Issues

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.