Tao He

Tao He

  • Docs
  • API
  • Help
  • Blog

›Recent Posts

Recent Posts

  • Microsoft PowerPoint
  • Chrome
  • Alfred
  • Docusaurus
  • Git Commands

Fonts

February 17, 2018

{% include JB/setup %}

0. Preface

Ascender: 顶部(baseline为起点) Cap Height: 大写高度 x-Height: x高度 Descender: 底部(baseline为起点) Em Size = Ascender + Descender

<http://designwithfontforge.com/zh-CN/Line_Spacing.html?

1. Glyphs

  • Open FiraCode.glyphs.

  • Copy *.liga and LIG by command + c.

  • Open target font.

  • Paste *.liga and LIG by command + v to target font.

  • Press i button at the top left corner.

  • Select Features tab.

  • Select calt under FEATURES.

  • Copy lookup, such as equal_equal.

    lookup equal_equal {
      ignore sub equal equal' equal;
      ignore sub equal' equal equal;
      sub LIG equal' by equal_equal.liga;
      sub equal'  equal  by LIG;
    } equal_equal;
    
  • Paste lookup to target font.

2. Font Book

Should uninstall the old font with same name before install the newer.

3. iTerm

iTerm only support ligatures in whitelist. Have to change font family name to Hasklug Nerd Font or FuraCode Nerd Font.

  • Press i button at the top left corner.

  • Select Font tab.

  • Edit Family Name.

Recent Posts
  • 0. Preface
  • 1. Glyphs
  • 2. Font Book
  • 3. iTerm
Tao He
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Your Name or Your Company Name