LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help with font size in emacs? (https://www.linuxquestions.org/questions/linux-general-1/help-with-font-size-in-emacs-418589/)

shadow5277 02-22-2006 10:02 PM

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

foo_bar_foo 02-23-2006 09:58 AM

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

shadow5277 02-23-2006 04:37 PM

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

shadow5277 02-24-2006 03:48 AM

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


All times are GMT -5. The time now is 09:03 PM.