Skip to main content
  1. Posts/

Nerdfont Icon Missing after Wezterm Upgrade

·172 words·1 min·
Table of Contents

When I upgrade wezterm from April release to July release, I noticed that some of the unicode icons in my neovim config are shown as box.

Cause
#

I checked the wezterm repo and it introduced some breaking changes for handling Nerd Fonts in this commit. This adjustment is needed to deal with the breaking changes in Nerd Fonts v3.0.0.

The code points for some icons is changed. The complete list can be found in this comment. You can replace the old obsolete icon manually based on the translation table, or you can use nerdfix to help you accelerate the process.

Solution/Fix
#

nerdfix check /path/to/your/file/with/nerd-icons

It will indicate the obsolete icons/characters in your file and point out possible replacements. Inside wezterm, you can press Ctrl + Shift + U to invoke the wezterm character finder to find good replacement.

You can also use nerdfix fix /path/to/your/file/with/nerd-icons to fix the issue interactively.

References
#

Related

Converting Markdown to Beautiful PDF with Pandoc
··2799 words·14 mins
Cmder --- The Ultimate Command Line Tool for Windows
··634 words·3 mins
纯文本做笔记 --- 使用 Pandoc 把 Markdown 转为 PDF 文件
··998 words·5 mins