From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5413: 23.1.91; Incorrect font sizes and weights Date: Tue, 19 Jan 2010 16:53:01 +0100 Message-ID: <4B55D55D.8090606@swipnet.se> References: <87wrzfgs7t.fsf@59A2.org> <4B55C986.4050409@swipnet.se> <87fx6285fs.fsf@59A2.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1263918454 8852 80.91.229.12 (19 Jan 2010 16:27:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2010 16:27:34 +0000 (UTC) Cc: 5413@debbugs.gnu.org, 5413-done@debbugs.gnu.org To: Jed Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 19 17:27:26 2010 Return-path: Envelope-to: geb-bug-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 1NXGvO-0007uf-0w for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jan 2010 17:27:26 +0100 Original-Received: from localhost ([127.0.0.1]:50422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXGgq-0003Jj-7R for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jan 2010 11:12:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXGe8-0000ZX-8z for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2010 11:09:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXGe2-0000Tz-Ps for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2010 11:09:35 -0500 Original-Received: from [199.232.76.173] (port=36653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXGe2-0000Ti-6T for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2010 11:09:30 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:5457) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NXGe1-0004v5-LS for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2010 11:09:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXGdz-0003xe-Ud for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2010 11:09:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NXGP3-0002x9-LK; Tue, 19 Jan 2010 10:54:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2010 15:54:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5413 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5413-submit@debbugs.gnu.org id=B5413.126391640711337 (code B ref 5413); Tue, 19 Jan 2010 15:54:01 +0000 Original-Received: (at 5413) by debbugs.gnu.org; 19 Jan 2010 15:53:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXGOT-0002wl-P4 for submit@debbugs.gnu.org; Tue, 19 Jan 2010 10:53:25 -0500 Original-Received: from proxy1.bredband.net ([195.54.101.71]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXGOC-0002wP-AU; Tue, 19 Jan 2010 10:53:23 -0500 Original-Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C00278F365; Tue, 19 Jan 2010 16:53:03 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtpCAKNkVUtV4S1uPGdsb2JhbACBRoIbhFWTPwEBAQE3rUyNd4EtgjBWBA X-IronPort-AV: E=Sophos;i="4.49,303,1262559600"; d="scan'208";a="27725058" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 19 Jan 2010 16:53:02 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id C1B587FA01A; Tue, 19 Jan 2010 16:53:01 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <87fx6285fs.fsf@59A2.org> X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.9 (--) Resent-Date: Tue, 19 Jan 2010 10:54:01 -0500 X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34500 Archived-At: Jed Brown skrev: > On Tue, 19 Jan 2010 16:02:30 +0100, Jan Dj=C3=A4rv = wrote: >> What system are you rinning (i.e. Gnome, KDE, other?)? >=20 > Archlinux with Xmonad/Gnome, I thought building --without-gconf might > help, but it didn't (although I didn't do a full rebuild so perhaps I > still have stale gconf stuff). The GConf stuff is only for reading the desktop monospace font if you cho= ose=20 to use that in Emacs (you must customize font-use-system-font). >=20 >> % xrdb -query|grep Xft >=20 > Nothing. >=20 >> % xdpyinfo|grep resolution >=20 > resolution: 96x96 dots per inch >=20 >> Get a new version from the trunk and get the value of the lisp variabl= e=20 >> xft-settings (C-h v xft-settings). >=20 > "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 3, DPI: 12= 0.000000" >=20 > Setting the Xft.dpi resource does not change this DPI setting. The dpi is read from the XSETTINGS mechanism, so they override any X reso= urces. >=20 >> It is not the weight, it is the hinting. Emacs uses the values from t= he=20 >> desktop settings if available, or the fontconfig defaults otherwise. >=20 > Okay, I changed the settings in Gnome's font rendering details panel an= d > now I get what I wanted >=20 > "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 1, DPI: 96= .000000" >=20 > and the fonts look good again with the expected 'DejaVu Sans Mono-10'. >=20 Good! Jan D.