From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Invalid font name Date: Fri, 14 Jun 2013 18:44:46 +0200 Message-ID: <6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371228307 1286 80.91.229.3 (14 Jun 2013 16:45:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 16:45:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Joon Ro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 18:45:07 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UnX7V-0000Dd-I8 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 18:45:01 +0200 Original-Received: from localhost ([::1]:38700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnX7V-0008TI-4L for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 12:45:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnX7J-0008T1-IU for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 12:44:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnX7I-0003Ww-GK for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 12:44:49 -0400 Original-Received: from mout.web.de ([212.227.17.11]:63845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnX7I-0003Wi-6p for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 12:44:48 -0400 Original-Received: from sumac.fritz.box ([176.198.63.55]) by smtp.web.de (mrweb102) with ESMTPA (Nemesis) id 0M4I6Z-1UVBJl1lT9-00rq85; Fri, 14 Jun 2013 18:44:46 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:80crLvTSsi2WQEybFxdLqt/JTT5nhAWQNI0V7zgvPmAD3ZW4wMJ 14pEs2qUc4x6XhjxO8lhIjaQFEldBXxkhamlfezJ3SXF6Y8v9ED/BG54GFHlS3ihMmCswrS ZqUaif+y1loie1xSEvQDcierVP/IGXlWeBAIpJDbXkLZ89vRzWwtImqd3FfLF5rRSrNKPXv K1Bn+wj11UCJdQSZAigUw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91557 Archived-At: Am 14.06.2013 um 16:33 schrieb Joon Ro: > I > have custom font Inconsolata-g in my ~/.fonts folder, and I have set = it as > the Monospace font in ~/.config/fontconfig/fonts.conf. >=20 > It works well except Emacs is giving me error: Invalid font name, > -unknown-Inconsolata-g-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 = at > launch. You are mixing up font related things! The fonts.conf file is related to = libfontconfig (see for example fontconfig-user.pdf or = fontconfig-user.html). The font name you pass is according to the XLFD =96= pretty old, last millennium, needs to set up differently (with xset). Give GNU Emacs the fontconfig font name: emacs -fn Inconsolata-g-15 And maybe it fails again, because the "-" character is used as a = separator=85 -- Greetings Pete Be careful of reading health books, you might die of a misprint. =96 Mark Twain