[vim/vim] gtk4(font): (PR #21013)

dezza (Vim Github Repository) <[email protected]> Tue, 11 Aug 2026 13:17:19 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/pull/[email protected]>
**Problem**:

* Fonts do not account for letter spacing (`:help 'linespace'` is what vim calls it).
* Sign column has seams between lines.

**Solution**:
* Font: Round char with nearest pixel
* Signs: Overlap adjacent row nodes by one pixel.

----

c158acfce39d8afa61f74ffb857dea93a3df3105 round char w nearest px

c158acf Overlap adjacent row nodes by one pixel.

GSK renderer rounding seems to add 1px (not sure).

Possibly related: https://blogs.gnome.org/gtk/2026/05/28/snapping/

Fixes: #21002
You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21013

-- Commit Summary --

  * GTK4(font): round char w nearest px
  * GTK4(font): signcol has seams

-- File Changes --

    M src/gui_gtk4.c (2)
    M src/gui_gtk4_da.c (8)

-- Patch Links --

https://github.com/vim/vim/pull/21013.patch
https://github.com/vim/vim/pull/21013.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/21013
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/pull/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21013%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.