LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 07-04-2010, 04:23 AM   #1
yaami
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.

Thanks.

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

Rep: Reputation: 248Reputation: 248Reputation: 248
Try this :
http://www.cs.huji.ac.il/~osigor/emacs/font.html#6
 
1 members found this post helpful.
Old 07-04-2010, 07:49 AM   #3
yaami
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.
 
  


Reply

Tags
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 12:29 PM
emacs: minor mode font-mode-lock not on by default?! hewsonism Linux - Newbie 2 06-10-2010 02:32 PM
Large Font in X/ Change default X font marales314 Debian 6 07-27-2007 12:28 AM
emacs under X - font problem avallach Linux - Software 1 04-05-2007 10:28 AM
emacs font size pfaendtner Linux - Software 2 09-24-2004 05:08 AM


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

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