all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve Revilak <steve@srevilak.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs default font
Date: Mon, 5 Jul 2010 11:11:07 -0400	[thread overview]
Message-ID: <20100705151107.GA3662@srevilak.net> (raw)
In-Reply-To: <1278227071.8318.2.camel@bhargava-laptop>

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

>From: bhargava <bhargava470@gmail.com>

>Hi all,
>I would like to know what is the name of the default font in emacs. I
>donot like the default font that comes with the ubuntu package. I used
>emacs that I compiled from the source. For some reasons now I'm stuck up
>with the emacs installed from the ubuntu repo. I liked the default font
>that came with it. So I never cared about the font.  I read some where
>about cse-huji-default-font but could not find this using the M-x
>command. (describe-variable).
>
>The font I'm talking about is some what similar to the font in this web
>page http://www.gnu.org/software/emacs/tour/ .
>
>So please let me know what the default font of emacs is how to set it.

X11 resources are a common way to specify fonts.

To give an example, I have 

   $ egrep ^emacs.font ~/.Xresources
   emacs.font: -unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1

Which is reasonably close to the font shown in 
http://www.gnu.org/software/emacs/tour/.

There are two things to keep in mind when experimenting with
Xresources.

  - If you edit a resource, you have to load it into the current X11
    session.  This can done with
  
       xrdb < ~/.Xresources

    (You'll probably want to look at the xrdb and appres manual pages)

  - X11 resources are loaded at application startup.  You'll need to
    restart emacs after making changes.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2010-07-05 15:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04  7:04 Emacs default font bhargava
2010-07-04 17:58 ` Qiang Guo
2010-07-04 18:01 ` Dan Davison
2010-07-04 18:40   ` bhargava Yammanuru
2010-07-05 15:11 ` Steve Revilak [this message]

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

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

  git send-email \
    --in-reply-to=20100705151107.GA3662@srevilak.net \
    --to=steve@srevilak.net \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.