Fonts
{% 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
andLIG
bycommand
+c
.Open target font.
Paste
*.liga
andLIG
bycommand
+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.