macvim-dev / macvim-dev/macvim

Misaligned Glyphs in Berkeley Mono

オープン
#1,502 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

Renderer
主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce
  1. Using set guifont=BerkeleyMono-Regular:h16 as your font font link (can probably be repro'd with the existing trial
  2. See attached screenshot comparing Vim in Ghostty terminal renderer vs MacVim:
    CleanShot 2024-09-24 at 22 34 11
  3. The rounded corner graphics appear broken in MacVim
Expected behaviour

Unclear if the issue is because of how fallback fonts apply or if these are embedded glyphs in the font that are being mis-rendered

Version of Vim and architecture

MacVim 9.1, Included Patches: 1-727

Environment

Operating System: macOS Sequoia (15.0)

How MacVim was installed

Built from source

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration
  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
  • The both Homebrew packages "vim" and "macvim" are installed

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

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

はじめの一歩

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

調査の方向性

MacVim.app で BerkeleyMono-Regular をサイズ 16 に設定して問題を再現し、丸みを帯びたグリフを添付の Ghostty と MacVim のスクリーンショットと比較してください。次に mvim --clean で繰り返し、挙動が変わるかを記録してください。完了の条件は、レンダリングまたはフォールバックフォントに起因する原因を特定し、macOS Sequoia で修正されたグリフの配置を確認することです。

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

評価

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

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

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