Friday, January 1, 2010

Re: How to compile with guifont ?

Matt Wozniski wrote:

> On Wed, Dec 2, 2009 at 8:27 AM, Timothy Madden wrote:
>> :set guifont=*
>>
>> Works on Win32, GTK, Mac OS and Photon. Looks like I have none of
>> these.
>> Thank you for the answers. I think I have to leave this problem as it
>> is for
>> now ...
>
> It also works fine for my gvim, which is X11-Motif... I'd be really
> surprised if it doesn't work with X11-Athena...
>
> ~Matt


":help 'guifont'" says...
======================================
For Win32, GTK, Mac OS and Photon: >
:set guifont=*
< will bring up a font requester, where you can pick the font you want.
======================================

... which implicitly means that ":set guifont=*" is not possible for
Athena GUI. And "set guifont=*" does not work indeed with Athena
GUI. It gives:

E236: Font "*" is not fixed-width
E596: Invalid font(s): guifont=*

Motif is not listed either, but doing ":guifont=*" with Motif does
bring a popup window to chose the font. So I think Motif should
be listed in the help page:

$ diff -c options.txt.orig options.txt
*** options.txt.orig 2010-01-01 11:39:25.502514991 +0100
--- options.txt 2010-01-01 11:39:31.377465863 +0100
***************
*** 3250,3256 ****
the case of X). The font names given should be "normal" fonts. Vim
will try to find the related bold and italic fonts.

! For Win32, GTK, Mac OS and Photon: >
:set guifont=*
< will bring up a font requester, where you can pick the font you want.

--- 3250,3256 ----
the case of X). The font names given should be "normal" fonts. Vim
will try to find the related bold and italic fonts.

! For Win32, GTK, Motif, Mac OS and Photon: >
:set guifont=*
< will bring up a font requester, where you can pick the font you want.

-- Dominique

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment