From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 18 13:52:30 2010 Received: (at submit) by debbugs.gnu.org; 18 Jan 2010 18:52:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NWwiD-0004MQ-Tb for submit@debbugs.gnu.org; Mon, 18 Jan 2010 13:52:30 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NWwhl-0004LT-0l for submit@debbugs.gnu.org; Mon, 18 Jan 2010 13:52:05 -0500 Received: from mail.gnu.org ([199.232.76.166]:51125 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NWwhg-0000ev-Ik for submit@debbugs.gnu.org; Mon, 18 Jan 2010 13:51:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NWwhc-0007d6-90 for submit@debbugs.gnu.org; Mon, 18 Jan 2010 13:51:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:52105) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NWwhc-0007cr-1z for submit@debbugs.gnu.org; Mon, 18 Jan 2010 13:51:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWwhb-0004jg-Jf for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 13:51:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWwhW-0004dL-9e for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 13:51:50 -0500 Received: from [199.232.76.173] (port=42834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWwhW-0004dD-57 for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 13:51:46 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:40975) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWwhV-0007bR-BQ for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 13:51:45 -0500 Received: by fxm28 with SMTP id 28so1233501fxm.26 for ; Mon, 18 Jan 2010 10:51:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :message-id:mime-version:content-type; bh=1K7tW5pDhjGYl6iKsq8pYsSwM6bzAI0Dmfj57M8bbsU=; b=F6BDgcBajE61XHepxVOhg74flFNGPiENPGbeVvpPrgU8T0RsO/KIa+vCVCnF6KVku/ ndxMzYswo77Uwa+CxRb6oE/w7cCvg0aAEe+N3eywraoJup591oXKpzLDHoDvAcWAoifY PiH0xYfvqTnVz72AjWHqnqrG78TascpnYz7LE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:mime-version:content-type; b=Xfqc13yG2coOWNvCgu7DR1wBajDb0d3fLXdfnaMy6BzbUjuTFYgfcJOHU6f+uVWDke JQt108uF0ThraAMMaecmUfblsRMiqQXP0XN5UxfTanumWsDqfTCVnX6wzcVd/KDXYMnR ITlPnRljn3HpVRum9O4/iNUbLlINFQ2m/Q5bE= Received: by 10.223.144.207 with SMTP id a15mr3808249fav.70.1263840703762; Mon, 18 Jan 2010 10:51:43 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id 31sm4054443fkt.1.2010.01.18.10.51.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 10:51:42 -0800 (PST) From: Jed Brown To: bug-gnu-emacs@gnu.org Subject: 23.1.91; Incorrect font sizes and weights Date: Mon, 18 Jan 2010 19:53:26 +0100 Message-ID: <87wrzfgs7t.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 18 Jan 2010 13:52:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) I want Emacs to use the font that I get with $ urxvt -fn 'xft:DejaVu Sans Mono-10' (or when this font name is given to any other program). So the obvious thing to try would be $ emacs -Q -fn 'DejaVu Sans Mono-10' but this resolves to xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1 which is way bigger than I want. Next, I try manually specifying the font that 'DejaVu Sans Mono-10.2' resolved to in my last emacs build GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.5) of 2009-10-08 on home.sergej.pp.ru (I have no idea why this goofyness was required, but 'DejaVu Sans Mono-10' looked bad there.) $ emacs -Q -fn '-unknown-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1' And this font seems to be the correct size, but the weight is too light. Compare the bottom two frames in the screenshot http://imgur.com/TcGj6.png The bottom-left frame is the rendering I want (using the 23.1.50.1 build quoted above with 'DejaVu Sans Mono-10.2'). The bottom-right frame is the latest build with what claims to be the desired font, and the top frame is the latest build with 'DejaVu Sans Mono-10'. Why is it so hard to choose my desired font? Jed In GNU Emacs 23.1.91.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.5) of 2010-01-18 on kunyang Windowing system distributor `The X.Org Foundation', version 11.0.10703902 configured using `configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib' '--mandir=/usr/share/man' '--with-x-toolkit=gtk' '--without-gconf' 'CFLAGS=-march=native -O1 -pipe' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: global-auto-complete-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t view-mode: t Recent input: C-p C-p C-u C-x = C-x 1 C-u C-x = C-S-x 0 M-x r e p o r t Recent messages: Setting up CEDET packages...done Loading /usr/share/emacs/site-lisp/cedet/common/cedet.el (source)...done ECB 2.40 uses CEDET 1.0pre7 (contains semantic 2.0pre7, eieio 1.2, speedbar 1.0.3). Loading /home/jed/.emacs-ede...done Loading /home/jed/.ecb-user-layouts.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to delete the help window. Char: ; (59, #o73, #x3b) point=141 of 191 (73%) column=0 Type C-x 1 to delete the help window. Char: ; (59, #o73, #x3b) point=141 of 191 (73%) column=0 Load-path shadows: /usr/share/emacs/site-lisp/ecb/ecb2/test hides /usr/share/emacs/site-lisp/cedet/semantic/tests/test /usr/share/emacs/site-lisp/cedet/common/ezimage hides /usr/share/emacs/23.1.91/lisp/ezimage /usr/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/share/emacs/23.1.91/lisp/speedbar /usr/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/share/emacs/23.1.91/lisp/dframe /usr/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/share/emacs/23.1.91/lisp/sb-image /usr/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-custom /usr/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-opt /usr/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-base /usr/share/emacs/site-lisp/cedet/eieio/eieio-comp hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-comp /usr/share/emacs/site-lisp/cedet/eieio/eieio-datadebug hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-datadebug /usr/share/emacs/site-lisp/cedet/eieio/chart hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/chart /usr/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio-speedbar /usr/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/share/emacs/23.1.91/lisp/emacs-lisp/eieio /usr/share/emacs/site-lisp/cedet/common/data-debug hides /usr/share/emacs/23.1.91/lisp/cedet/data-debug /usr/share/emacs/site-lisp/cedet/common/pulse hides /usr/share/emacs/23.1.91/lisp/cedet/pulse /usr/share/emacs/site-lisp/cedet/common/cedet-global hides /usr/share/emacs/23.1.91/lisp/cedet/cedet-global /usr/share/emacs/site-lisp/cedet/ede/ede hides /usr/share/emacs/23.1.91/lisp/cedet/ede /usr/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/share/emacs/23.1.91/lisp/cedet/semantic /usr/share/emacs/site-lisp/cedet/srecode/srecode hides /usr/share/emacs/23.1.91/lisp/cedet/srecode /usr/share/emacs/site-lisp/cedet/common/cedet-cscope hides /usr/share/emacs/23.1.91/lisp/cedet/cedet-cscope /usr/share/emacs/site-lisp/cedet/common/cedet-idutils hides /usr/share/emacs/23.1.91/lisp/cedet/cedet-idutils /usr/share/emacs/site-lisp/cedet/common/cedet hides /usr/share/emacs/23.1.91/lisp/cedet/cedet /usr/share/emacs/site-lisp/cedet/common/inversion hides /usr/share/emacs/23.1.91/lisp/cedet/inversion /usr/share/emacs/site-lisp/cedet/common/mode-local hides /usr/share/emacs/23.1.91/lisp/cedet/mode-local /usr/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/share/emacs/23.1.91/lisp/cedet/cedet-files Features: (shadow sort mail-extr emacsbug eieio-opt pp descr-text help-mode view semantic-el semantic-bovine bovine-debug semantic-debug ecb-layout-defs uniquify printing ps-print ps-def lpr preview-latex tex-site auto-loads caml-font cmake-mode cc-styles cc-align cc-engine cc-vars cc-defs tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse timezone url-vars xml-parse doxymacs auto-complete easy-mmode expander pulldown ede-cpp-root semantic-mru-bookmark semantic-idle semantic-decorate-include semantic-decorate-mode semantic-decorate semantic-gcc semantic-dep semantic-ia pulse senator which-func semantic-imenu semantic-sb imenu ecb ecb-symboldef silentcomp ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic ecb-file-browser ecb-speedbar ecb-layout compile comint ecb-create-layout ecb-compilation ecb-common-browser ecb-navigate ecb-cedet-wrapper semanticdb-mode semanticdb-find semanticdb-ref ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-util ring thingatpt cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs cogre-srecode semantic-edit srecode-template-mode srecode-template srecode-template-wy semantic-wisent wisent srecode-map srecode-dictionary speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar ede-files ede eieio-speedbar semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semanticdb-el semanticdb semantic-ctxt semantic-format semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame speedbar sb-image ezimage dframe assoc eieio-custom ede-source eieio-base srecode-load srecode srecode-loaddefs semantic-load semantic-fw semantic-loaddefs mode-local find-func eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio byte-opt bytecomp byte-compile inversion browse-kill-ring advice help-fns advice-preload derived ido paren jabber-autoloads starttls smtpmail notmuch edmacro kmacro message idna sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec mailabbrev nnheader gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils mm-view smime password-cache dig mm-decode gnus-util netrc mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mm-util time-date mail-prsvr cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 10:02:41 2010 Received: (at 5413) by debbugs.gnu.org; 19 Jan 2010 15:02:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXFbM-0002NY-M2 for submit@debbugs.gnu.org; Tue, 19 Jan 2010 10:02:40 -0500 Received: from proxy1.bredband.net ([195.54.101.71]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXFbJ-0002NT-Cz for 5413@debbugs.gnu.org; Tue, 19 Jan 2010 10:02:38 -0500 Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0027893CD for 5413@debbugs.gnu.org; Tue, 19 Jan 2010 16:02:31 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtBCAL5XVUtV4S1uPGdsb2JhbACBRoZwkz4BAQEBN7tahDME X-IronPort-AV: E=Sophos;i="4.49,303,1262559600"; d="scan'208";a="27709349" 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:02:31 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id E91E87FA01A; Tue, 19 Jan 2010 16:02:30 +0100 (CET) Message-ID: <4B55C986.4050409@swipnet.se> Date: Tue, 19 Jan 2010 16:02:30 +0100 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Jed Brown , 5413@debbugs.gnu.org Subject: Re: bug#5413: 23.1.91; Incorrect font sizes and weights References: <87wrzfgs7t.fsf@59A2.org> In-Reply-To: <87wrzfgs7t.fsf@59A2.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 5413 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Jed Brown skrev: > I want Emacs to use the font that I get with > > $ urxvt -fn 'xft:DejaVu Sans Mono-10' > > (or when this font name is given to any other program). So the obvious > thing to try would be > > $ emacs -Q -fn 'DejaVu Sans Mono-10' > > but this resolves to > > xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1 > > which is way bigger than I want. What system are you rinning (i.e. Gnome, KDE, other?)? Does % xrdb -query|grep Xft show anything? How about % xdpyinfo|grep resolution ? Emacs now uses the DPI setting from the dekstop settings if available instead of the dpi reported by the X server. You probably have a mismatch there. > Next, I try manually specifying the > font that 'DejaVu Sans Mono-10.2' resolved to in my last emacs build > > GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.5) of 2009-10-08 on home.sergej.pp.ru > > (I have no idea why this goofyness was required, but 'DejaVu Sans Mono-10' looked bad there.) > > $ emacs -Q -fn '-unknown-DejaVu Sans Mono-normal-normal-normal-*-14-*-*-*-m-0-iso10646-1' > Get a new version from the trunk and get the value of the lisp variable xft-settings (C-h v xft-settings). > And this font seems to be the correct size, but the weight is too light. It is not the weight, it is the hinting. Emacs uses the values from the desktop settings if available, or the fontconfig defaults otherwise. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 10:48:15 2010 Received: (at 5413) by debbugs.gnu.org; 19 Jan 2010 15:48:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXGJS-0002tO-8n for submit@debbugs.gnu.org; Tue, 19 Jan 2010 10:48:14 -0500 Received: from mail-fx0-f210.google.com ([209.85.220.210]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXGEe-0002oo-Jj for 5413@debbugs.gnu.org; Tue, 19 Jan 2010 10:43:21 -0500 Received: by fxm2 with SMTP id 2so1896418fxm.5 for <5413@debbugs.gnu.org>; Tue, 19 Jan 2010 07:43:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject :in-reply-to:references:date:message-id:mime-version:content-type :content-transfer-encoding; bh=wwzAzDzU7Mov8KI1P/p7zNDE/o1e9UW15mDswoDprp4=; b=Wm+VFzp4bicLFFSFMhA5I63dS6jC/sZV0IPfrA5RuxV39p3h1WaltJESPl6II/0JzW F1A/r/Vuc782MEJ3QPnlQud5cyNlG4y+w3w1s3M2odZP2+iWPQ8pzcxCTTlowpq08xSn rlYAoIFW++wbKwWy7pfyGBgTqtqwNo1NIn6bc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; b=pouANSi7NoCJIPuGlGILcEj6Wev2yzTFtf31sx1Sgsw6UfyzNyEDUNoDMSb6YT0vBE yNctrcIHTW2fEGes6SJReUQ04Vz3Pkq/UDmN8R9M/zT8/rsWK77DianMPo/+I8l8h3Td gcJJEwL841Rq7dII1ZfxqKQLIJRHkhAz0tN/s= Received: by 10.223.76.77 with SMTP id b13mr4603841fak.74.1263915791180; Tue, 19 Jan 2010 07:43:11 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id f31sm8293823fkf.42.2010.01.19.07.43.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 07:43:10 -0800 (PST) From: Jed Brown To: Jan =?iso-8859-1?b?RGrkcnY=?= , 5413@debbugs.gnu.org Subject: Re: bug#5413: 23.1.91; Incorrect font sizes and weights In-Reply-To: <4B55C986.4050409@swipnet.se> References: <87wrzfgs7t.fsf@59A2.org> <4B55C986.4050409@swipnet.se> Date: Tue, 19 Jan 2010 16:44:55 +0100 Message-ID: <87fx6285fs.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 5413 X-Mailman-Approved-At: Tue, 19 Jan 2010 10:48:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Tue, 19 Jan 2010 16:02:30 +0100, Jan Dj=C3=A4rv wro= te: > What system are you rinning (i.e. Gnome, KDE, other?)? 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). > % xrdb -query|grep Xft Nothing. > % xdpyinfo|grep resolution resolution: 96x96 dots per inch > Get a new version from the trunk and get the value of the lisp variable=20 > xft-settings (C-h v xft-settings). "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 3, DPI: 120.00= 0000" Setting the Xft.dpi resource does not change this DPI setting. > It is not the weight, it is the hinting. Emacs uses the values from the= =20 > desktop settings if available, or the fontconfig defaults otherwise. Okay, I changed the settings in Gnome's font rendering details panel and now I get what I wanted "Antialias: 1, Hinting: 1, RGBA: 1, LCDFilter: 0, Hintstyle: 1, DPI: 96.000= 000" and the fonts look good again with the expected 'DejaVu Sans Mono-10'. Thanks for the help. Jed From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 10:53:26 2010 Received: (at 5413) by debbugs.gnu.org; 19 Jan 2010 15:53:27 +0000 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 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 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" 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 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) Message-ID: <4B55D55D.8090606@swipnet.se> Date: Tue, 19 Jan 2010 16:53:01 +0100 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Jed Brown Subject: Re: bug#5413: 23.1.91; Incorrect font sizes and weights References: <87wrzfgs7t.fsf@59A2.org> <4B55C986.4050409@swipnet.se> <87fx6285fs.fsf@59A2.org> In-Reply-To: <87fx6285fs.fsf@59A2.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 5413 Cc: 5413@debbugs.gnu.org, 5413-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 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. From unknown Tue Jun 24 17:28:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 17 Feb 2010 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator