[vim/vim] Add OpenType font feature support in 'guifont' for DirectWrite (PR #19857)

5 views
Skip to first unread message

mattn

unread,
Mar 29, 2026, 2:48:39 PM (9 days ago) Mar 29
to vim/vim, Subscribed

Allow specifying OpenType font features directly in 'guifont' using the ':f' option (e.g., :set guifont=Cascadia_Code:h14:fss19=1:fcalt=0:fliga=1). Each :fXXXX=N sets a single OpenType feature tag with a parameter value. Multiple features can be specified by repeating the :f option.

This only takes effect when 'renderoptions' is set to use DirectWrite (type:directx). Default features (calt, liga, clig, rlig, kern) are preserved unless explicitly overridden.


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

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

Commit Summary

  • bc8c83b Add OpenType font feature support in 'guifont' for DirectWrite

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19857@github.com>

Christian Brabandt

unread,
4:55 PM (5 hours ago) 4:55 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19857)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19857/c4202146199@github.com>

Christian Brabandt

unread,
5:12 PM (5 hours ago) 5:12 PM
to vim/vim, Subscribed

Closed #19857 via ea7bf9a.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19857/issue_event/24273813669@github.com>

Reply all
Reply to author
Forward
0 new messages