Gvim under Linux: Quirky ligatures and no texture healing

未關閉
#244 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
linux, vim
領域
design, desktop

研究方向

在 Linux Mint 21.3 上使用 Monaspace v1.101,並採用所示的 guifont、guiligatures 和 renderoptions 設定,在 Gvim 8.2.2121 中重現該報告。比較紋理修復和連字渲染,尤其是發生偏移的斜線,並確定該行為是由 Monaspace、Gvim 還是設定造成的;記錄結果以及任何已確認的修正或 workaround。

由索引模型根據 Issue 內容生成。

描述

waiting for user

Now that #17 is fixed (thank you!), I'm trying Monaspace out in Gvim again. The font appears, but texture healing isn't working, and when I try to enable ligatures, it's quirky.

Software versions:

  • Linux Mint 21.3 Cinnamon
  • Gvim 8.2.2121
  • Monaspace v1.101

Gvim settings:

set guifont=Monaspace\ Neon
" The following line causes the quirky ligatures
set guiligatures=!\"#$%&()*+-./:<=>?@[]^_{\|~}
" Originally I had the following line as well, but since this setting only applies to Windows, it's irrelevant
set renderoptions=type:directx

The results look like the example on the Monaspace website with Texture healing unticked.

The attached screenshot is with guiligatures set; note that the slashes (/) at the beginning of the comments are offset to the left and not fully rendered. Interestingly, this doesn't happen when the block cursor is over it, so it might be an issue with Gvim or whatever it uses to render the character, but it would be helpful to know whether I'm setting this up correctly. Let me know if there are any other settings that I could try, or applications other than Gvim that you would expect to work. Thanks.

Screenshot from 2024-08-06 15-11-02

主要語言
Shell
星號
19.9k
分支
326
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

githubnext/monaspace 的其他 Issue

查看 githubnext/monaspace 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。