macvim-dev / macvim-dev/macvim

Clipping of text

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

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. .gvim configured with: set guifont=-monospace-Thin:h14
  2. Open MacVim, enter terminal mode with :term
  3. Type a command that has a a letter with character that drops below the main characters like "git update"

Image

Expected behaviour

The bottom of the characters should not be clipped (i.e. the 'g' in the screenshot should show the bottom of the 'g')

Version of Vim and architecture

MacVim r180.2 (Vim 9.1.1000)

Environment

MacOS 15.3.1

How MacVim was installed

Compiled from git via GitHub

Logs and stack traces

Vim configuration where issue is reproducable

guifont=-monospace-Thin:h14

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

Start by reproducing the clipping in MacVim r180.2 on macOS 15.3.1 with guifont=-monospace-Thin:h14, then enter terminal mode with :term and run a command containing descenders such as git update. Done means the bottoms of characters such as “g” are fully visible in the MacVim GUI.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.