Skip to main content
  1. Posts/

Nerdfont Icon Missing after Wezterm Upgrade

·172 words·1 min·
Tools Terminal Font Unicode
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
··2816 words·6 mins
Tools Pandoc Sublime-Text PDF Markdown Font LaTeX Unicode
Cmder --- The Ultimate Command Line Tool for Windows
··737 words·2 mins
Tools Cmder Unicode Encoding Windows Terminal
纯文本做笔记 --- 使用 Pandoc 把 Markdown 转为 PDF 文件
··3421 words·7 mins
Tools Font 字体 Markdown LaTeX Sublime-Text Pandoc Unicode PDF