E235: Unknown font: Fixedsys:h9:cDEFAULT

35 views
Skip to first unread message

BrianConnell

unread,
May 17, 2009, 8:12:31 AM5/17/09
to vim_use
Hi, I've a problem that is bugging me. I've installed gvim7.2 on my
WinXP machine.

When I try to edit a file, initially a blank screen is presented with
"Press ENTER or type command to continue". When I hit enter, I can
edit as normal with no problems. When I exit the editting session,
I'm presented with a dialog box with:

E235: Unknown font: Fixedsys:h9:cDEFAULT
E235: Unknown font: Fixedsys:h9:cDEFAULT

and an OK button. Hitting the OK button exits normally.

I assume this is a problem with my settings? Or fonts? Anyone know
what I have to do to fix it?

Thank you

Brian

Jesus Sanchez

unread,
May 17, 2009, 9:39:45 AM5/17/09
to vim...@googlegroups.com
BrianConnell escribió:
not sure but fixedsys:h9 is the default font for gVim on windowsXP,
the problem maybe's around that. check that fixedsys font it's ok and
your config files (_vimrc and _gvimrc).

BrianConnell

unread,
May 17, 2009, 10:48:33 AM5/17/09
to vim_use
Hi, it appears that some of the later installations of WinXP don't
install this font and this causes the problem. The easiest way to fix
the problem is to install the font from Windows installation discs.
I'm not sure if it's possible to simply copy the font from another
machine.

Thanks for all the hlpe

Brina

pansz

unread,
May 17, 2009, 8:50:43 PM5/17/09
to vim...@googlegroups.com
BrianConnell 写道:

> Hi, it appears that some of the later installations of WinXP don't
> install this font and this causes the problem. The easiest way to fix
> the problem is to install the font from Windows installation discs.
> I'm not sure if it's possible to simply copy the font from another
> machine.
>
> Thanks for all the hlpe
>
> Brina
>

IMO The easier way is to assign a different gui font in your .gvimrc, (I
personally never use Fixedsys font.)

BTW: please do bottom post on this mail list.

Tony Mechelynck

unread,
May 23, 2009, 7:18:31 PM5/23/09
to vim...@googlegroups.com

...in your gvimrc or even in your vimrc; I suggest for instance

if !has('unix') && has('gui_running')
set guifont=Lucida_Console:h9:cDEFAULT
endif

or if you don't even have Lucida_Console installed, try Courier_New
instead; I expect that any Windows system will at least have _that_.

The "if" wrapper is to avoid errors if someday you port that [g]vimrc to
a double-boot or Linux-only system -- X11 versions of gvim use three or
more different formats for the 'guifont' options, all incompatible with
each other and with the format used on Windows.


Best regards,
Tony.
--
Women's Libbers are OK. I just wouldn't want my sister to marry one.

Reply all
Reply to author
Forward
0 new messages