From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Parsing of fontconfig font names and other font related stuff. Date: Wed, 08 Jul 2009 19:27:48 +0800 Message-ID: <4A5482B4.2090101@gnu.org> References: <4A539AB0.3010605@swipnet.se> <4A545A85.2060803@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1247052552 12766 80.91.229.12 (8 Jul 2009 11:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 11:29:12 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 08 13:29:05 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 1MOVKi-0005HC-DJ for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 13:29:04 +0200 Original-Received: from localhost ([127.0.0.1]:43473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOVKh-0006fX-Ob for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 07:29:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOVKD-0006SY-QX for emacs-devel@gnu.org; Wed, 08 Jul 2009 07:28:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOVK9-0006Q8-2t for emacs-devel@gnu.org; Wed, 08 Jul 2009 07:28:33 -0400 Original-Received: from [199.232.76.173] (port=34076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOVK8-0006Pt-8i for emacs-devel@gnu.org; Wed, 08 Jul 2009 07:28:28 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.174]:18837) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOVK7-0006Vr-Sc for emacs-devel@gnu.org; Wed, 08 Jul 2009 07:28:28 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 23so2077086wfg.24 for ; Wed, 08 Jul 2009 04:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VmqbevyZ86gJYzEHBDTAMsuZnce8oBg5wrO7KNH5Cqg=; b=b7w+Ip2snrfTR0WU2uyFjjc5mqslTnD+4gYiDF3gPZRBFKEesteQMVXqxKhVdcgyXY ItvoIW9HbNXcp4AT04VA4MxJZpqutF6o641RyqNFB+2UwwJRHtJa5BBo8IYv/C6LU7Av 6yKbzZQo5NesHpFTfWSfYEPKtXSvXykXlw8fo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=H6KLVn4lBSyP39l/Isp+vmz18V2CRskPoIGNVK1ffFdOCxq3xH910l3Gdgn8Onrs2C WPiWD2/dMJfIg3qbsH6hVY/AcPuUK3bzcQdjbFtNmbMAKg+2YN1hi6Hrud3W7JNWuDuU KjfwIJJIxWylewy7gye2+vHgMASrxa6RjOvXo= Original-Received: by 10.142.254.6 with SMTP id b6mr2263137wfi.265.1247052506911; Wed, 08 Jul 2009 04:28:26 -0700 (PDT) Original-Received: from ?192.168.249.26? ([124.13.7.225]) by mx.google.com with ESMTPS id 30sm3180337wff.9.2009.07.08.04.28.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Jul 2009 04:28:26 -0700 (PDT) User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <4A545A85.2060803@swipnet.se> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:112169 Archived-At: Jan Djärv wrote: > Yes. Gnome has 96 dpi as default (settable in a user desktop settings > dialog), fontconfig seems to have 75. I'm surprised that both Gnome and fontconfig are using hard-coded values, and not getting the monitor spec from X (at least on my system the X server reports the physical size it has read from the monitor at startup, so the information required to get the proper dpi setting appears to be in there somewhere).