From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Taylor Venable Newsgroups: gmane.emacs.devel Subject: Re: No XFT in CVS from this morning Date: Tue, 17 Jun 2008 14:44:55 -0400 Message-ID: <20080617144455.34c1fc3d.taylor@metasyntax.net> References: <20080617112122.177cb232.taylor@metasyntax.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213728357 3528 80.91.229.12 (17 Jun 2008 18:45:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2008 18:45:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 17 20:46:41 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K8gCM-0004XB-U8 for ged-emacs-devel@m.gmane.org; Tue, 17 Jun 2008 20:46:39 +0200 Original-Received: from localhost ([127.0.0.1]:48050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8gBQ-0005Rd-Ks for ged-emacs-devel@m.gmane.org; Tue, 17 Jun 2008 14:45:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8gBI-0005P8-W2 for emacs-devel@gnu.org; Tue, 17 Jun 2008 14:45:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8gBI-0005Oe-EQ for emacs-devel@gnu.org; Tue, 17 Jun 2008 14:45:24 -0400 Original-Received: from [199.232.76.173] (port=57642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8gBI-0005OY-AZ for emacs-devel@gnu.org; Tue, 17 Jun 2008 14:45:24 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:59887) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8gBG-0001Kk-8e for emacs-devel@gnu.org; Tue, 17 Jun 2008 14:45:23 -0400 Original-Received: from lionel (75-149-208-122-Illinois.hfc.comcastbusiness.net [75.149.208.122]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1K8gBB0Cri-0003bI; Tue, 17 Jun 2008 14:45:19 -0400 In-Reply-To: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64--netbsd) X-Provags-ID: V01U2FsdGVkX18cExe/uj9CjBy5wgYmZxSXc1A/NLOGPqUGt2+ CdwFvfO/pO9FRn0d8LNG4jK6Wv86hHZKfhWa2XHFtKA4HEb30G 8wJLmhN8tc4gAP6SXZVQQ== X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99365 Archived-At: On Tue, 17 Jun 2008 13:39:35 -0400 Stefan Monnier wrote: > > I built Emacs from CVS this morning, and there's no font > > anti-aliasing being done. Here are the hopefully relevant lines > > from configure: > > > checking XFT_CFLAGS... -D_POSIX_THREAD_SAFE_FUNCTIONS > > -I/usr/pkg/include -I/usr/pkg/include/freetype2 checking XFT_LIBS... > > -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXft -lXrender -lfontconfig > > -lfreetype -lz -lX11 checking X11/Xft/Xft.h usability... yes > > checking X11/Xft/Xft.h presence... yes checking for > > X11/Xft/Xft.h... yes checking for XftFontOpen in -lXft... yes > > checking for pkg-config... (cached) /usr/pkg/bin/pkg-config > > checking for libotf... no > > checking for pkg-config... (cached) /usr/pkg/bin/pkg-config > > checking for m17n-flt... no > > > Platform is NetBSD 4.99.63 on AMD64 with GCC 4.1.3 -- let me know if > > anything else would be useful. This was working on a build from > > probably about a month ago, but that was the last one I did until > > this morning, so about anything in-between I cannot say. Nothing > > else in the configuration has changed, and the behaviour is the > > same with or without "-q". > > Try to add > > (push '(font-backend xft x) default-frame-alist) > > to your .emacs. The current default is to prefer old-style X fonts. This didn't change the behaviour. I removed the entry for the X fonts (leaving Xft only) and got the following messages: frame-notice-user-settings: Font `-misc-dejavu sans mono-medium-r-normal--13-125-75-75-m-80-iso8859-1' is not defined Error while displaying tooltip: (error Font not available #) It seems that Xft fonts cannot even be loaded or recognized? Please see also my other message (just sent) which has information from the configure script attached. -- Taylor Venable http://real.metasyntax.net:2357/ foldr = lambda f, i, l: (len(l) == 1 and [f(l[0], i)] or [f(l[0], foldr(f, i, l[1:]))])[0]