Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-04-2010, 03:23 AM   #1
LQ Newbie
Registered: Jul 2010
Posts: 10

Rep: Reputation: 0
Name of the Default Emacs Font

Hi all,

I'm using ubuntu 9.04. I use emacs for almost everything. I used emacs that I compiled from the source on my laptop. I liked the default font that came with it. So I never cared about the font. For some reasons I have to switch to another laptop where emacs is installed from the package. I donot want to go through compiling the source again.
I would like to know what is name of the default font in emacs. I donot like the default font that comes with the ubuntu package.

The font I'm talking about is the font that is usually found in most emacs written documents. Similar to this webpage (web browsers might render this differently) . And also this webpage.
describing font without knowing the name is difficult . The second link gives a better idea. (Hopefully :-))

Also I read about cse-huji-default-font but M-x describe-variable says it can not find the variable. (Is this related to my problem??)

So please let me know what the default font of emacs is how to set it.


Last edited by yaami; 07-04-2010 at 03:48 AM. Reason: tried to make clearer statements... :)
Old 07-04-2010, 05:03 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Try this :
1 members found this post helpful.
Old 07-04-2010, 06:49 AM   #3
LQ Newbie
Registered: Jul 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the reply,

I used the M-x describe-face to display all the current settings and played around with few options here and there :

used xlsfonts to see what fonts are available.
And then the somehow figured out the default fonts.

posting here just in case someone might need them in future:

Family: DejaVu Sans Mono
Foundry: unknown
Width: normal
Height: 121
Weight: normal
Slant: normal
Foreground: black
Background: white
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1>
Fontset: -unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-fontset-startup
Inherit: unspecified (can be nil)

Thank you once again.


default, emacs, fonts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs - changing default font size and font type? neilcpp Linux - Software 16 05-20-2013 11:29 AM
emacs: minor mode font-mode-lock not on by default?! hewsonism Linux - Newbie 2 06-10-2010 01:32 PM
Large Font in X/ Change default X font marales314 Debian 6 07-26-2007 11:28 PM
emacs under X - font problem avallach Linux - Software 1 04-05-2007 09:28 AM
emacs font size pfaendtner Linux - Software 2 09-24-2004 04:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration