From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joon Ro Newsgroups: gmane.emacs.help Subject: Re: Invalid font name Date: Fri, 14 Jun 2013 15:57:12 -0500 Message-ID: References: <6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371243453 29956 80.91.229.3 (14 Jun 2013 20:57:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 20:57:33 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 22:57:34 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 1Unb3s-0007f3-9i for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 22:57:32 +0200 Original-Received: from localhost ([::1]:42536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unb3s-00033L-0x for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 16:57:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unb3c-00030M-P3 for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 16:57:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Unb3Z-0007ry-WD for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 16:57:16 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:56300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unb3Z-0007rt-QF for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 16:57:13 -0400 Original-Received: by mail-wi0-f179.google.com with SMTP id hj3so680581wib.6 for ; Fri, 14 Jun 2013 13:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TFrQtYmgp9ig2YeqONy8EgbkjtvXr/nmcKzlNZc88PE=; b=hMtukA7I02KIh2luFOihKfA7gr+1e9gkJyBAFQiW0EY/KpgfaDY5Hu6aW0FesbgBAs IuAfyG1H72GOxIx++gDuZ1p0pRATmEBJL+Wp9WJwzQoZgDyQuZ9S5uG/wVWxV4QbHhXa VXeoj/EPbgLLVpfWHWvti9BaruiTMWeUpau+2AgNRq6hb+Gu+M/YrvoQS9MjgWKt0yWl BbqhNxAYL/Cksm2L6a43f5/WTuJFBg8xc1ddvH+eEW/a7mzdIud5pO3fxMrhegoPln1P 9+Qzjy7e5BTr4doG6artnOWuvqAqt7w4LfIn7J1mA0allSXGhf9aTttDVmuLErWeFufd SRSQ== X-Received: by 10.194.91.194 with SMTP id cg2mr2572698wjb.53.1371243432685; Fri, 14 Jun 2013 13:57:12 -0700 (PDT) Original-Received: by 10.194.31.98 with HTTP; Fri, 14 Jun 2013 13:57:12 -0700 (PDT) In-Reply-To: <6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:91560 Archived-At: On Fri, Jun 14, 2013 at 11:44 AM, Peter Dyballa wrote= : > 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 = =E2=80=93 > pretty old, last millennium, needs to set up differently (with xset). > > Thanks for the reply. But I am not mixing up the settings - what I meant was that in my system, Inconsolata-g is set as default Monospace font, and when I run Emacs it raises the error. I had the following font settings in .emacs file, :: (set-face-attribute 'default nil :font "Monospace 10") Of course I have tried (set-face-attribute 'default nil :font "Inconsolata-g-10") as well, but emacs raised the same error. > Give GNU Emacs the fontconfig font name: > > emacs -fn Inconsolata-g-15 > > Actually this did work! Thanks. How do I put this option to .emacs? Best, Joon