LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-22-2006, 10:02 PM   #1
shadow5277
Member
 
Registered: Aug 2005
Location: Texas
Distribution: Redhat FC4, Fedora 8 and AIX 5.3, AIX 6.1
Posts: 39

Rep: Reputation: 16
Help with font size in emacs?


I am triying to increase the font size for my emacs screen from the .emacs file and the verion that I am using is

GNU Emacs 21.4.1

in my .emacs file I have the following:

;; Text Options
;; ============

(setq-default fill-column 70)
(setq-default fill-prefix " ")
(set-default-font "8x13")

but for the set-default-font I can't go higher than the 8x13.

So any help would be very helpful I am used to using vim.

Thanks,

shadow5277
 
Old 02-23-2006, 09:58 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
hi,
just designate the font you want in ~/.Xresources

like this
emacs.font: *fixed-bold-r-*-15-*-*

or whatever font and size you like to use

i'm sure you noticed different font sizes change the size of the window so
something like
emacs.geometry: 107x40
might help as well

this stuff gets read in automagically when you log in but for testing use the command
xrdb ~/.Xresources
to implement changes to the file
 
Old 02-23-2006, 04:37 PM   #3
shadow5277
Member
 
Registered: Aug 2005
Location: Texas
Distribution: Redhat FC4, Fedora 8 and AIX 5.3, AIX 6.1
Posts: 39

Original Poster
Rep: Reputation: 16
thanks

Thanks Foo_bar-foo,

Do you happen to know where all of the fonts are located so that I can choose a font that I might like better than the default one that I have.

Thanks,
shadow5277
 
Old 02-24-2006, 03:48 AM   #4
shadow5277
Member
 
Registered: Aug 2005
Location: Texas
Distribution: Redhat FC4, Fedora 8 and AIX 5.3, AIX 6.1
Posts: 39

Original Poster
Rep: Reputation: 16
Oh yeah I forgot to mention that on Fedora Core 4 the emacs commands that goes inside of the .Xresources has to look like this Emacs.font: *fixed-bold-r-*-15-*-*
Forgot to mention that after putting it in the exact way you had it had no effect I guess on FC4 it has to have the first letter in Caps to use it at load time of emacs.

Thanks,
Shadow5277
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase the font size in emacs CodeWarrior Linux - Software 4 11-04-2009 10:34 PM
emacs font problem Andramalech Linux - Software 12 01-15-2005 03:17 PM
emacs font size pfaendtner Linux - Software 2 09-24-2004 04:08 AM
font size in emacs koyi Linux - Software 0 06-28-2004 08:35 AM
web page, font and font size linuxzouk Programming 4 06-19-2004 10:03 PM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
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