unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joon Ro <joonhyoung.ro@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Invalid font name
Date: Fri, 14 Jun 2013 15:57:12 -0500	[thread overview]
Message-ID: <CABeq5B9w=zVbMV8TkO85D794b25rPzHpc7K3xrdHZMmgfj8foQ@mail.gmail.com> (raw)
In-Reply-To: <6D59C642-2F07-42F7-ACEA-557893A61CB9@Web.DE>

On Fri, Jun 14, 2013 at 11:44 AM, Peter Dyballa <Peter_Dyballa@web.de>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 –
> 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


  reply	other threads:[~2013-06-14 20:57 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
2013-06-14 20:57   ` Joon Ro [this message]
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='CABeq5B9w=zVbMV8TkO85D794b25rPzHpc7K3xrdHZMmgfj8foQ@mail.gmail.com' \
    --to=joonhyoung.ro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).