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: Continuing Font Problems: Some XFT fonts not using XFT engine? Date: Wed, 15 Apr 2009 16:11:22 -0400 Message-ID: <20090415201122.GA28776@metasyntax.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239826459 2935 80.91.229.12 (15 Apr 2009 20:14:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2009 20:14:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 15 22:15:39 2009 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 1LuBWD-0004wy-Mu for ged-emacs-devel@m.gmane.org; Wed, 15 Apr 2009 22:15:38 +0200 Original-Received: from localhost ([127.0.0.1]:41578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuBUo-0002gJ-Al for ged-emacs-devel@m.gmane.org; Wed, 15 Apr 2009 16:14:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuBTq-0002Y1-6t for emacs-devel@gnu.org; Wed, 15 Apr 2009 16:13:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuBTo-0002WU-3G for emacs-devel@gnu.org; Wed, 15 Apr 2009 16:13:09 -0400 Original-Received: from [199.232.76.173] (port=43839 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuBTn-0002WO-U4 for emacs-devel@gnu.org; Wed, 15 Apr 2009 16:13:07 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:53944) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LuBTn-0002tK-J8 for emacs-devel@gnu.org; Wed, 15 Apr 2009 16:13:07 -0400 Original-Received: from metasyntax.net (pool-71-127-85-87.aubnin.fios.verizon.net [71.127.85.87]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1LuBTl0hK8-000flT; Wed, 15 Apr 2009 16:13:06 -0400 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Provags-ID: V01U2FsdGVkX1/lLs8cldP+AzUUcK+Q+FeSoEt3VP9qwt9SJiu BfRj3+6lUMsm+Yy05HoyUiTVTcFEDTjDySg1pn3FFiNVE6Km8i ldW/rRjemXDpFVH9jkdkA== X-detected-operating-system: 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:110298 Archived-At: Continuing with the font weirdness I've been seeing: I can set XFT fonts like "DejaVu Sans Mono" for the 'default' face and it looks great. However, when I set 'variable-pitch' to use "DejaVu Sans" or "DejaVu Serif" the XFT engine is not used. To summarise: (set-face-attribute 'variable-pitch nil :font "DejaVu Sans") >> hover over something to get a tooltip, see that it's all blocky and not anti-aliased What's weird is that sometimes after trying to use different fonts for the variable-pitch face, it will start using anti-aliasing again and then everything works. I cannot reproduce when this occurs, and it doesn't seem correlated with the font choice. My Emacs version is: GNU Emacs 23.0.92.1 (i386-unknown-openbsd4.5, GTK+ Version 2.14.7) of 2009-04-13 on lionel.metasyntax.net Fontconfig version is 2.4.2 with XFT 2.1.12 (version numbers taken from pkg-config output). -- Taylor Christopher 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]