macvim-dev / macvim-dev/macvim
CoreText garbles ligatures
まだ誰も着手していません。
- 主要言語
- Vim Script
- スター
- 7.9k
- フォーク
- 691
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Snapshot 134, macligatures is enabled. The font I am using is PragmataPro. It's hard to describe what I am experiencing, so let's have a look at two gifs.
Here is entering !== without CoreText:

As you can see, everything looks fine. Here is the same with CoreText enabled:

As you can see, something is quite off here. The ligature gets broken somehow during working on the line. However, when changing the line, everything looks normal. Obviously, disabling CoreText is a perfect workaround, but since scrolling performance is somewhat horrible, I'd love to know if there is anything anyone can do here to resolve this rendering weirdness.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、CoreText と macligatures を有効にし、PragmataPro を使用して !== と入力して問題を再現します。CoreText を無効にした場合の動作と比較してください。編集およびスクロール中も合字が正しく表示され、スクロールのパフォーマンスが低下しなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, vim
- 領域
- desktop, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100