- Ubuntu 18.04.4 LST
安装好p10k后,打开vscode,发现在vscode的终端中,p10k部分图形渲染异常

解决办法:
- 安装Menlo for Powerline字体
>>> mkdir ~/.fonts
>>> cd ~/.fonts
>>> wget https://github.com/abertsch/Menlo-for-Powerline/raw/master/Menlo%20for%20Powerline.ttf
>>> fc-cache -vf ~/.fonts
- vs code 配置
File -> Preferences -> Settings -> Editor: Font Family
添加: ‘Menlo for Powerline’

重启vs code
正常了!

参考:

本文介绍在Ubuntu18.04.4LTS环境下,使用VSCode时遇到的p10k图形渲染异常问题及解决方案。通过安装MenloforPowerline字体并配置VSCode,成功解决了p10k的渲染问题,同时推荐安装nerdfont字体库以显示更多字符。
最低0.47元/天 解锁文章
1274

被折叠的 条评论
为什么被折叠?



