Bug#307158: [patch] Set default font when using 'set guifont=*'

James Vega jamessan at debian.org
Tue Aug 11 20:41:13 UTC 2009


Bram,

As described below, if the user hasn't yet set 'guifont' the font
selection dialog will not have the default font selected which leads to
confusing behavior.

The attached patch addresses the first problem Andreas describes, but I
don't see a way to address the second problem.  The GTK developers
“helpfully” removed the ability to set a filter on the fonts that can be
selected when they changed from GTK1 to GTK2.

On Sun, May 01, 2005 at 11:28:06AM +0200, Andreas Metzler wrote:
> The selection dialogue that pops up on "Edit --> Select Font..." is
> set on
> --------
> Family Sans
> Style Regular
> Size 12
> --------
> 
> There are two problems with that:
> * This is not the font that is used by default, i.e.
> Edit --> Select Font...
> followed by <Enter> or the [Ok] button will change the font.
> * This font is not monospaced and therefore not usable in vim.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default_font.diff
Type: text/x-diff
Size: 753 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090811/966c3957/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090811/966c3957/attachment.pgp>


More information about the pkg-vim-maintainers mailing list