macvim-dev / macvim-dev/macvim

Misaligned Glyphs in Berkeley Mono

Open
#1,502 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Renderer
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in MacVim.app with BerkeleyMono-Regular at size 16 and compare the rounded glyphs with the attached Ghostty and MacVim screenshot. Then repeat with mvim --clean and record whether the behavior changes; done means identifying the rendering or fallback-font cause and confirming corrected glyph alignment on macOS Sequoia.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.