<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 02/26/2010 02:35 PM, Vincent Onelli wrote:
<blockquote cite="mid:1267212912.3514.7.camel@laptop" type="cite">
  <pre wrap="">Hello,
I installed emacs from software that comes with Fedora 12, the
characters are so large that makes unusable. Any body know how to
correct it to a standard font?  

  </pre>
</blockquote>
Emacs, by default, should be using the system standard font unless
otherwise specified to use a different font.&nbsp; You should check your X
resources files (~/.Xdefaults or ~/.Xresources) and your .emacs file to
see if something is specifying the large font that you are seeing.<br>
<br>
<br>
There are a couple of ways that you can specify the font to be used in
emacs.<br>
<br>
One way is to set the value in your ~/.Xdefaults or ~/.Xresources file.
<br>
<br>
&nbsp;&nbsp;&nbsp; emacs.font:&nbsp; 8x16<br>
<br>
Another way is to set it for an individual session of Emacs by using
command line arguments:<br>
<br>
&nbsp;&nbsp;&nbsp; emacs --font=9x15<br>
<br>
Yet another way, which is my preference, involve setting the font in
emacs itself using emacs-lisp.&nbsp; Basically what you want to do is change
the value of emacs variable default-frame-alist which controls how new
frames are created.&nbsp; Again, there are several ways to do this.<br>
<br>
Method 1: Customization<br>
&nbsp; 1)&nbsp; Start emacs<br>
&nbsp; 2)&nbsp; Enter Cntrl-H v default-frame-alist<br>
&nbsp; 3)&nbsp; Move your cursor over the underlined "customize" that is in the
sentence just above "Value:"<br>
&nbsp; 4)&nbsp; Hit Enter<br>
&nbsp; 5)&nbsp; This brings you to a customization frame where you can set values
in default-frame-alist.<br>
&nbsp; 6)&nbsp; If the Parameter font already exists, change its value to the
font that you want.<br>
&nbsp; 7)&nbsp; Otherwise, click (using enter key) the last "INS" button.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7a) replace the nil on the Parameter line with font.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7b) replace the nil on the Value line with the name of the X
font that you want.<br>
&nbsp; 8) Click (using the enter key) the button near the top with the label
"Save for future sessions".&nbsp; This will add emacs-lisp code to your
.emacs file to automatically set the font value each time you start
emacs.<br>
<br>
<br>
Method 2: Modifying .emacs - adding to default-frame-alist<br>
Add the following line to your .emacs file:<br>
<br>
&nbsp;&nbsp;&nbsp; (add-to-list 'default-frame-alist '(font . "9x15"))<br>
<br>
where the 9x15 is the name of the font that you want to use.<br>
<br>
Method 3: Modifying .emacs - setting default-frame-alist<br>
Add the following emacs-lisp code to your .emacs file, modifying as
desired:<br>
<br>
&nbsp;&nbsp;&nbsp; (setq default-frame-alist<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '((width&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . 80)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (height&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . 40)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (menu-bar-lines&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . 1)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (background-color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . "cornsilk")<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (foreground-color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . "navy")<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . "Emacs")<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (horizontal-scroll-bars . 1)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (vertical-scroll-bars&nbsp;&nbsp; . 1)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (font . "8x16")<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ))<br>
<br>
This is the method that I use because I like setting colors and a few
other frame parameters to my liking.<br>
<br>
For list of available fonts, look in the fonts.alias files in
/usr/share/X11/fonts/*/ directories.<br>
<br>
<div class="moz-signature">-- <br>
<div>&nbsp;&nbsp;Steven F. LeBrun<br>
<p>
Quote: <em>"The objection to fairy stories is that they tell children
there are dragons. But children have always known there are dragons.
Fairy stories tell children that dragons can be killed."</em><br>
&nbsp;&nbsp;&nbsp;&nbsp; -- G.K. Chesterton</p>
</div>
</div>
</body>
</html>