From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atting Newsgroups: gmane.emacs.devel Subject: Re: font - dpi settings ignored? Date: Thu, 26 Jun 2008 17:58:15 +0200 Organization: IPreferNotTo Message-ID: <87ej6ki3xk.fsf@literaturlatenight.de> References: <871w2nqtj8.fsf@literaturlatenight.de> <87od5r2vfd.fsf@literaturlatenight.de> <87r6al4ndb.fsf@literaturlatenight.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214495953 27228 80.91.229.12 (26 Jun 2008 15:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2008 15:59:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 26 17:59:58 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 1KBtsj-0004Ot-Lj for ged-emacs-devel@m.gmane.org; Thu, 26 Jun 2008 17:59:34 +0200 Original-Received: from localhost ([127.0.0.1]:35815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBtrt-0006zu-FI for ged-emacs-devel@m.gmane.org; Thu, 26 Jun 2008 11:58:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBtrp-0006zR-QW for emacs-devel@gnu.org; Thu, 26 Jun 2008 11:58:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBtrn-0006yK-NJ for emacs-devel@gnu.org; Thu, 26 Jun 2008 11:58:36 -0400 Original-Received: from [199.232.76.173] (port=45468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBtrn-0006yF-II for emacs-devel@gnu.org; Thu, 26 Jun 2008 11:58:35 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:32877 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KBtrm-0002ZZ-UY for emacs-devel@gnu.org; Thu, 26 Jun 2008 11:58:35 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KBtri-0000AP-L0 for emacs-devel@gnu.org; Thu, 26 Jun 2008 15:58:30 +0000 Original-Received: from port-92-195-46-158.dynamic.qsc.de ([92.195.46.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2008 15:58:30 +0000 Original-Received: from nospam by port-92-195-46-158.dynamic.qsc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2008 15:58:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: port-92-195-46-158.dynamic.qsc.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:lsjXAJRhXvfIw7vKFUNsPgpGE60= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 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:99966 Archived-At: Kenichi Handa wrote: > In article , James Cloos > writes: > >>>>> > Xft.dpi: 96 >>>> Could you tell me what does Xft.dpi means? > >>>> Is it a way to tell X applications to assume the specified DPI > >> > In short, yes. > >> More specifically, it tells libXft to use said DPI. If it exists, >> libXft adds that value (a double) to the patterns it sends on to >> fontconfig. > >> If it does not exist, libXft uses DisplayHeight * 25.4 / DisplayHeightMM. > >> I believe it uses those two (prefering the Xft.dpi value) only if the >> application hasn't already specified FC_DPI in the fontconfig pattern. > > Thank you for the explanation. But, then, it seems that the > DPI setting affects only how to convert point-size to > pixel-size. But, in his screenshot: > > http://www.literaturlatenight.de/pic.png > > the rendering is apparently affected. Are there any > possibility that what is wrong is not Xft.dpi but some other > Xft setting (e.g. RGB)? Since I noticed that the font was rendered correctly on a virtual debian/lenny (and since I wanted to reinstall my system for some time past) I installed debian anew. I either removed `x-ttcidfont' from the system. Now everything works fine. Thanks, henry