unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Joon Ro <joonhyoung.ro@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Invalid font name
Date: Fri, 14 Jun 2013 18:44:46 +0200	[thread overview]
Message-ID: <6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE> (raw)
In-Reply-To: <CABeq5B8AyJq5AOFZcEM9_E44JvJx===XK1y1dcJLKgDQU__ySQ@mail.gmail.com>


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.
> 
> 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 – 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…

--
Greetings

  Pete

Be careful of reading health books, you might die of a misprint.
				– Mark Twain




  reply	other threads:[~2013-06-14 16:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 14:33 Invalid font name Joon Ro
2013-06-14 16:44 ` Peter Dyballa [this message]
2013-06-14 20:57   ` Joon Ro
2013-06-14 22:10     ` Peter Dyballa
2013-06-17 15:30       ` Joon Ro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joonhyoung.ro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).