macvim-dev / macvim-dev/macvim

CoreText garbles ligatures

オープン
#520 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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:

not_coretext

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

coretext

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、CoreText と macligatures を有効にし、PragmataPro を使用して !== と入力して問題を再現します。CoreText を無効にした場合の動作と比較してください。編集およびスクロール中も合字が正しく表示され、スクロールのパフォーマンスが低下しなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop, performance
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。