macvim-dev / macvim-dev/macvim

Vim dev-icons do not render correctly:

未关闭
#631 7 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

They only render at half width. They render fine in the terminal:

screen shot 2018-02-07 at 10 32 14 pm

See this issue here: It seems to be an issue with Macvim. (Can reproduce on latest release).

(I currently summarized the Mac OS behavior at the end of the thread): https://github.com/ryanoasis/vim-devicons/issues/133

Setting CoreText Renderer=off fixes the problem and tanks perf/quality.
Setting ambiwidth=doub.e does seem to fix some of the icon drawing, and has some other remaining issues such as the following rendering of airline (latest MacVim, font=PragmataPro).
Notice the gap next to the arrow. That only shows up with ambiwidth=double.

screen shot 2018-02-07 at 10 21 14 pm

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

没有指定文件或测试。首先在最新的 MacVim 版本中复现半宽 dev-icons,并阅读链接的 issue 133,了解 macOS 行为和 renderer 设置的摘要;当图标能够正确渲染,且不依赖所报告的性能或质量权衡时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, vim
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。