From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#505: 23.0.60; Font for fixed-pitch not resolved Date: Wed, 15 Oct 2008 21:04:16 -0400 Message-ID: <87r66h2vvz.fsf@cyd.mit.edu> References: <87myh5a902.fsf@cyd.mit.edu> <8763nt1ruz.fsf@maru.md5i.com> <871vyhy22v.fsf@cyd.mit.edu> <87y70pzg48.fsf@maru.md5i.com> <874p3dzck9.fsf@cyd.mit.edu> <87tzbdzate.fsf@maru.md5i.com> Reply-To: Chong Yidong , 505@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224120625 16858 80.91.229.12 (16 Oct 2008 01:30:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 01:30:25 +0000 (UTC) Cc: 505@emacsbugs.donarmstrong.com To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 03:31:25 2008 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 1KqHhz-0001gA-2X for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 03:31:23 +0200 Original-Received: from localhost ([127.0.0.1]:53031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqHgu-0001BT-9J for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 21:30:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqHgh-000186-TK for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 21:30:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqHgg-00017g-Gr for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 21:30:03 -0400 Original-Received: from [199.232.76.173] (port=43074 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqHgg-00017d-A6 for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 21:30:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46381) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqHgf-0000AN-SS for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 21:30:02 -0400 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 m9G1Txr4021944; Wed, 15 Oct 2008 18:29:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9G1A4da017384; Wed, 15 Oct 2008 18:10:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 16 Oct 2008 01:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 505 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 505-submit@emacsbugs.donarmstrong.com id=B505.122411905315345 (code B ref 505); Thu, 16 Oct 2008 01:10:04 +0000 Original-Received: (at 505) by emacsbugs.donarmstrong.com; 16 Oct 2008 01:04:13 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9G14ACe015339 for <505@emacsbugs.donarmstrong.com>; Wed, 15 Oct 2008 18:04:11 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 977EB57E055; Wed, 15 Oct 2008 21:04:16 -0400 (EDT) In-Reply-To: <87tzbdzate.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Wed, 15 Oct 2008 19:40:45 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 15 Oct 2008 21:30:03 -0400 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:21513 Archived-At: Interesting. Okay, let's try something else (thanks for bearing with me). Could you save the following program in a file called, say, foo.c, then compile it, run it, and show me the output (if any)? cyd: ~ $ gcc foo.c -lX11 -o foo cyd: ~ $ ./foo Here's the program: #include #include #include #include #include int main () { int i, limit, num_fonts; char **names; Display *display = XOpenDisplay (NULL); char *pattern = "-unknown-Monospace-*-*-*-*-*-*-*-*-*-*-iso8859-1"; for (limit = 512; ; limit *= 2) { names = XListFonts (display, pattern, limit, &num_fonts); if (num_fonts < limit) break; XFreeFontNames (names); } for (i = 0; i < num_fonts; i++) { XFontStruct *font; unsigned long value; printf ("%s\n", names[i]); font = XLoadQueryFont (display, names[i]); if (! font) continue; if (XGetFontProperty (font, XA_FONT, &value)) { char *name = (char *) XGetAtomName (display, (Atom) value); int len = strlen (name); if (len > 0) printf(" %s\n", name); } } return 0; }