From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Peng Deng" Newsgroups: gmane.emacs.help Subject: Disable "globaladvance" for font in Xft emacs Date: Sun, 11 Mar 2007 15:51:17 +0100 Message-ID: <8a3f6f590703110751p2bc1cfe6icf3fe196900d0e0e@mail.gmail.com> 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: sea.gmane.org 1173624742 7943 80.91.229.12 (11 Mar 2007 14:52:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2007 14:52:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 15:52:15 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQPPA-0003y1-DO for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2007 15:52:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQPPh-000754-7M for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2007 09:52:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQPPW-00074z-9R for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 10:52:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQPPS-00074n-Pl for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 10:52:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQPPS-00074k-JE for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 09:52:30 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HQPOs-00054S-Di for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 10:51:55 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so2151793ugf for ; Sun, 11 Mar 2007 07:51:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IzXmXRfeethQC0POfS8HrptR7n6SLBgWyVCf6NylaFzdmnosgcb9YMPSyMLrh1on2WOiMahejTOynE3zIDut9zUCVBJrBp52ah+VWaA+KpJtgFvzB1zLWsKB3862qxcZz2XyUzbcgOylXu+N5t047vfeqECnI/gTQi7Y6PR6AcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=f3OuRC/hCuI84xYDbJwC/EXXViAfAvATZBK285BduT8/DVEgRo0ZGFPDQUd5t7d/t+mWQaRXg0lVLhXtkk0peFD0eXogFq6MGLKK78bIzdqFgDS4lFPSNgv7bj13V0Z6oJfbfFCz9k/NJ1lmA3Ltew31DKJ+CAS3xXqDVXUIVMM= Original-Received: by 10.114.94.1 with SMTP id r1mr840681wab.1173624677933; Sun, 11 Mar 2007 07:51:17 -0700 (PDT) Original-Received: by 10.115.94.10 with HTTP; Sun, 11 Mar 2007 07:51:17 -0700 (PDT) Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41880 Archived-At: I've been using Emacs23 with Xft support. I notice it uses the default system-wide xft settings in .Xresource, other than those in fonts.conf which can control most gtk apps, to control fonts rendering. Now I'm using a font called "Monaco" which is rendered with wrong letter spacing if you don't disable the "globaladvance" in fonts.conf for it. But this only works for gtk apps while for Emacs, I don't know how should I write in .Xresources (or resort to other method) to achieve the same result. Thanks in advance for any help. -Peng