From owner-freebsd-questions@FreeBSD.ORG Wed Jun 27 06:58:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 599BE16A468 for ; Wed, 27 Jun 2007 06:58:27 +0000 (UTC) (envelope-from neil@gruending.net) Received: from defout.telus.net (outbound05.telus.net [199.185.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 2985913C44C for ; Wed, 27 Jun 2007 06:58:26 +0000 (UTC) (envelope-from neil@gruending.net) Received: from priv-edtnaa05.telusplanet.net ([206.116.7.120]) by priv-edtnes79.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070627060236.NTDH11500.priv-edtnes79.telusplanet.net@priv-edtnaa05.telusplanet.net> for ; Wed, 27 Jun 2007 00:02:36 -0600 Received: from mail.gruending.net (d206-116-7-120.bchsia.telus.net [206.116.7.120]) by priv-edtnaa05.telusplanet.net (BorderWare MXtreme Infinity Mail Firewall) with ESMTP id 6EQN9JU1TX for ; Wed, 27 Jun 2007 00:02:35 -0600 (MDT) Received: from boog.gruending.net (boog [192.168.1.64]) by mail.gruending.net (Postfix) with ESMTP id 1CFF334048; Tue, 26 Jun 2007 21:59:51 -0700 (PDT) Message-ID: <4681FFD7.60104@gruending.net> Date: Tue, 26 Jun 2007 23:12:39 -0700 From: Neil Gruending User-Agent: Thunderbird 2.0.0.0 (X11/20070620) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: neil@gruending.net Subject: gvim can't find a valid font X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 06:58:27 -0000 Hi, I'm having a problem trying to get gvim 7.0.224 working. Every time I try to start it I get the following error: E665: Cannot start GUI, no valid font found|16H|8H|4H|31H and I get the console vim instead. I think I've messed up my xorg fonts somehow after upgrading to 7.2. I followed all of the steps in /usr/ports/UPGRADING, but I didn't have the xorg metaport installed so I installed it after upgrading. The first time I started it there was an error message that said I needed to run a program in the fonts directory (I forget which one), but I'm pretty sure I didn't fix the module path before running the command. I'm using the terminal in Xfce 4.4.1 to try and start gvim. Here's part of my xorg.conf (now) in /etc/X11 that seems to be related to fonts: # ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** # Section "Module" # This loads the DBE extension module. Load "dbe" # Double buffer extension # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection # This loads the font modules Load "type1" Load "freetype" # Load "xtt" # This loads the GLX module # Load "glx" # This loads the DRI module # Load "dri" EndSection # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # RgbPath "/usr/local/share/X11/rgb" # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" # FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/local/" # FontPath "/usr/local/lib/X11/fonts/Speedo/" # FontPath "/usr/local/lib/X11/fonts/TrueType/" # FontPath "/usr/local/lib/X11/fonts/freefont/" # The module search path. The default path is shown here. ModulePath "/usr/local/lib/xorg/modules" EndSection Any help would be appreciated. Thanks! Neil