From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Greg Falcon" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1955: 23.0.60; otf font renders, but not when 'default' face is explicitly selected Date: Mon, 19 Jan 2009 00:44:04 -0500 Message-ID: <3cdcefb80901182144q1c459d7v9f10a5b5f555b03f@mail.gmail.com> Reply-To: Greg Falcon , 1955@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232360992 13849 80.91.229.12 (19 Jan 2009 10:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 10:29:52 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 11:31:04 2009 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 1LOrPJ-00064M-HM for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 11:31:02 +0100 Original-Received: from localhost ([127.0.0.1]:35974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOrO1-0000lP-Ud for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 05:29:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOnEX-00019N-5Q for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 01:03:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOnEU-00016t-FD for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 01:03:35 -0500 Original-Received: from [199.232.76.173] (port=44504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOnEU-00016b-3T for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 01:03:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46619) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LOnES-0007jN-Lg for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 01:03:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0J63RHD019719; Sun, 18 Jan 2009 22:03:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0J5o4jP016325; Sun, 18 Jan 2009 21:50:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Greg Falcon" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 19 Jan 2009 05:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1955 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123234385614967 (code B ref -1); Mon, 19 Jan 2009 05:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jan 2009 05:44:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0J5iC9X014961 for ; Sun, 18 Jan 2009 21:44:13 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:36870) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LOmuL-0004iK-4j for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 00:42:45 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LOmvg-0005yD-An for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 00:44:11 -0500 Original-Received: from yw-out-2324.google.com ([74.125.46.30]:32167) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOmvf-0005y5-Vd for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 00:44:08 -0500 Original-Received: by yw-out-2324.google.com with SMTP id 9so1088647ywe.71 for ; Sun, 18 Jan 2009 21:44:05 -0800 (PST) Original-Received: by 10.65.224.10 with SMTP id b10mr2557313qbr.127.1232343844997; Sun, 18 Jan 2009 21:44:04 -0800 (PST) Original-Received: by 10.65.61.15 with HTTP; Sun, 18 Jan 2009 21:44:04 -0800 (PST) Content-Disposition: inline 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 (newer, 3) Resent-Date: Mon, 19 Jan 2009 01:03:35 -0500 X-Mailman-Approved-At: Mon, 19 Jan 2009 05:28:10 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:24275 gmane.emacs.pretest.bugs:23717 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (This is with an emacs built from cvsroot on Ubuntu 8.10. Build details below.) I am having only partial success getting emacs to render the otf font "Inconsolata". Specifically, the font renders successfully inside emacs, *except* when displaying the 'default' face, or a face that explicitly inherits from it. In that case, the font renders as rectangles. For a screenshot, see http://verylowsodium.com/faces.png This seems to happen no matter how I set the default font. My standard ~/.emacs sets a font using window-system-default-frame-alist. But even a simple invocation of emacs -Q -fn "-*-Inconsolata-*-*-*-*-16-*-*-*-m-0-iso10646-1" produces the sort of behavior as in the screenshot. Note that the font in the attached screenshot *is* Inconsolata. It's not that emacs can't read the font at all; it just doesn't work for the 'default' face. Other (non-otf) fonts do not exhibit this behavior. -- Trent W. Buck in IRC gave me a few questions and suggestions, the results of which I will relay here: Launching emacs with -fn 'Inconsolata' or -fn 'Inconsolata-12' did not work, responding that the font "is not defined". 'fc-list' does list 'Inconsolata:style=Medium' among the available fonts, and 'fc-match Inconsolata' responded Inconsolata.otf: "Inconsolata" "Medium" Setting 'Emacs.FontBackend: xft' as an X resource did not have any effect. -- Build details: All libraries used were from standard Ubuntu 8.10 packages, except for libotf, which I built from version 0.9.8 sources. ./configure output: Configured for `x86_64-unknown-linux-gnu'. Where should the build process find the source code? /home/veloso/emacs-23/emacs What operating system and machine description files should Emacs use? `s/gnu-linux.h' and `m/amdx86-64.h' What compiler should emacs be built with? gcc -g -O2 -Wno-pointer-sign Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use -lpng? yes Does Emacs use -lrsvg-2? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs use toolkit scroll bars? yes In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.4) of 2009-01-18 on pookachu Windowing system distributor `The X.Org Foundation', version 11.0.10502000 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.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a.