From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "George Roman" Newsgroups: gmane.emacs.help Subject: Cannot load font? Date: Sat, 15 Nov 2008 23:57:02 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226823279 9260 80.91.229.12 (16 Nov 2008 08:14:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2008 08:14:39 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 16 09:15:42 2008 Return-path: Envelope-to: geh-help-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 1L1cnE-0007ON-58 for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Nov 2008 09:15:40 +0100 Original-Received: from localhost ([127.0.0.1]:51250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1cm5-00055H-Lv for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Nov 2008 03:14:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1Zgh-0008VO-GD for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 23:56:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1Zgf-0008V6-EQ for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 23:56:42 -0500 Original-Received: from [199.232.76.173] (port=58854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1Zgf-0008V3-9c for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 23:56:41 -0500 Original-Received: from mail-gx0-f18.google.com ([209.85.217.18]:38733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1Zge-0003pV-Tw for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 23:56:41 -0500 Original-Received: by gxk11 with SMTP id 11so445501gxk.18 for ; Sat, 15 Nov 2008 20:56:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:x-mimeole:thread-index; bh=zD8Lnf44xmVqyJx77smcdyLZ+eEFILmvrMcD5kFQvAo=; b=M/3jMz9mBPy7jNgpj7PZEO/i14J/VS4G0KYwTujdzIV/a3wj8Yk73rnj9gFJKRTojw nMIlHBmVZLWlriQyzbJ5Gp0IYwcwH9xvmoJ3Mcr0XDEg82MS58zONKsuofg/90PROvHg IqXnhn/Er8+GNkZYHkI/y7wduK2NWDESuTpJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=Mb1tBMWzG/6cSiSH3i4siSt90rXmrSNGXS4x2aPPvRYaO50pI/7oaB30nVItHjvnzr LuvmXy4pkMb9e85/1dQhDtrthMEwOopWQHI0YTGkn48UppMFQBScxmbedKwEGW4poRJ5 77Vo9M+eAGCKPvZFFHHtGYH9p7YvGxlmozx8U= Original-Received: by 10.151.42.6 with SMTP id u6mr5152120ybj.148.1226811399896; Sat, 15 Nov 2008 20:56:39 -0800 (PST) Original-Received: from franc (static-71-166-173-49.washdc.east.verizon.net [71.166.173.49]) by mx.google.com with ESMTPS id 6sm3199837ywi.1.2008.11.15.20.56.38 (version=SSLv3 cipher=RC4-MD5); Sat, 15 Nov 2008 20:56:39 -0800 (PST) X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 Thread-Index: AclHp8OLZIPk74nFTeClHcZwXvpADA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 16 Nov 2008 03:12:54 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59828 Archived-At: I can't get a font to load in Emacs, yet Emacs sees the font and the font works fine with xterm. Background: I'm running Xming on Vista and have installed the Dina PCF fonts. I can login to my Linux server and start xfontsel, selecting a Dina font. I can start an xterm and use the Dina font that I selected. When I start Emacs (v22.1/CentOS), I see the Dina fonts listed with (x-list-fonts "*dina*"), but when I try to use one with (set-face-font 'default "-windows-dina-medium-r-normal-*-16-100-96-96-c-80-microsoft-cp1252") or (set-default-font "-windows-dina-medium-r-normal-*-16-100-96-96-c-80-microsoft-cp1252" nil) Emacs loads -adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1 instead. What am I doing wrong? And why do xterm, xfontsel, and xfd all display the Dina font just fine?