Skip to content

imkasen/my-coding-fonts-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My Coding Fonts Configuration

Current font configurations:

  • IDE / Editor: Fira Code Custom
  • Terminal: Caskaydia Cove Nerd Font
  • Chinese: Noto Sans SC

Fira Code Stylistic Sets

Here I make some configurations to Fira Code.

Option 1: Use the Custom Font

  • "editor.fontFamily": "'Fira Code Custom', ..."
  • "editor.fontLigatures": true

Option 2: Use the Default Font

  • "editor.fontFamily": "'Fira Code', ..."
  • "editor.fontLigatures": "'ss01', 'ss03', 'ss05', 'ss06', 'zero', 'cv15'"

Custom Baking

  • Run firacode/custom.sh, which requires git and docker pre-installed.

    # default
    curl -fsL https://raw.githubusercontent.com/imkasen/my-coding-fonts-config/master/firacode/custom.sh | bash
    # fastgit
    curl -fsL https://raw.fastgit.org/imkasen/my-coding-fonts-config/master/firacode/custom.sh | bash

Script

  • Run firacode/custom-deprecated.sh

    # default
    curl -fsL https://raw.githubusercontent.com/imkasen/my-coding-fonts-config/master/firacode/custom-deprecated.sh | bash

Manually

  1. Create a python virtual environment
  2. Install OpenType Feature Freezer : pip install --upgrade opentype-feature-freezer
  3. Execute pyftfeatfreeze -n -v -f 'ss01,ss03,ss05,ss06,zero,cv15' -S -U Custom FiraCode-xxx.ttf FiraCode-xxx-Custom.ttf
    • ss06(\\) seems not working after testing, and maybe this issue can explain the problem.
  • Run firacode/custom-nf.sh, but the patched fonts can not be used by Gnome Terminal for now, so I still use Caskaydia Cove Nerd Font.