From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Lucid toolkit and antialiased fonts Date: Fri, 04 Mar 2011 17:46:32 +0100 Message-ID: <4D711768.6060903@swipnet.se> References: <19824.48916.52272.133556@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299257213 11939 80.91.229.12 (4 Mar 2011 16:46:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2011 16:46:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 04 17:46:48 2011 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.69) (envelope-from ) id 1PvY9P-0000bJ-45 for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2011 17:46:47 +0100 Original-Received: from localhost ([127.0.0.1]:34334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvY9O-0003kG-R7 for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2011 11:46:46 -0500 Original-Received: from [140.186.70.92] (port=35118 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvY9I-0003ij-IP for emacs-devel@gnu.org; Fri, 04 Mar 2011 11:46:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvY9G-0005TE-Bq for emacs-devel@gnu.org; Fri, 04 Mar 2011 11:46:40 -0500 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:48462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvY9G-0005Rn-4i for emacs-devel@gnu.org; Fri, 04 Mar 2011 11:46:38 -0500 Original-Received: from iph4.telenor.se (iph4.telenor.se [195.54.127.135]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id D8242C44A for ; Fri, 4 Mar 2011 17:46:33 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlRDAJ+lcE1V4S1kPGdsb2JhbACIcp1wDAEBAQE1ML83hWEEj3I X-IronPort-AV: E=Sophos;i="4.62,264,1297033200"; d="scan'208";a="1859603542" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by iph4.telenor.se with ESMTP; 04 Mar 2011 17:46:33 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id BEEEE7FA05A; Fri, 4 Mar 2011 17:46:32 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110207 Thunderbird/3.1.8 In-Reply-To: <19824.48916.52272.133556@a1i15.kph.uni-mainz.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.150.131.4 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:136764 Archived-At: It is backward compatible. If you specify XLFD names you probably wan't the old fonts that pre-dates anti-aliased fonts. For the text you have the option to specify font backend, but the font code in Emacs is not well suitable for other things than faces (i.e. Lisp_Objects), and Lucid doesn't use faces. It would be nice if we could specify font by customizing the menu face, but specifying a font for a face isn't trivial (simple names doesn't work), and I can't see how to specify aa or non-aa there. Jan D. Ulrich Mueller skrev 2011-03-04 11.29: > Hi, > > with Emacs from BZR trunk (configured with --with-x-toolkit=athena > --with-xft), I can specify fonts by their fontconfig name: > > Emacs.font: Droid Sans-10 > Emacs.pane.menubar.font: Droid Sans-10 > > This will give me antialiased fonts both for text and in the menubar. > > However, if I specify the font by its XLFD name instead: > > Emacs.font: -*-droid sans-medium-r-normal--*-100-*-*-p-*-iso10646-1 > Emacs.pane.menubar.font: -*-droid sans-medium-r-normal--*-100-*-*-p-*-iso10646-1 > > then the text font is antialiased but the font in the menubar is not. > > Why? > > Ulrich