Re: Emacs fonts in F12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Saltzman wrote:

> In F11, selecting the same font in Emacs as the system monospace 
font
> (in my case, Monospace Regular 7-point) resulted in an Emacs window 
with
> a typeface that looked the same as the one in a gnome-terminal.  In 
F21,
> the same font looks (a) much smaller and (b) more widely spaced than 
the
> gnome-terminal font (which looks the same as it did in F11).
> 
> Any idea what changed in Emacs and how I can get the font I want?
> 
> TIA.
> 
emacs-23 happened.  Fonts are MUCH better.  Emacs can now use non-
bitmapped fonts.

Here are some suggestions:
1.
(cond 
 ((display-graphic-p)
  (set-face-attribute 'default                nil :font "DejaVu Sans 
Mono-9" :slant 'normal :weight 'normal)))

2. If you'd like to adjust font size using Ctrl-mouse wheel (like many 
other apps):

 (require 'zoom-frm)
(global-set-key (kbd "<C-mouse-5>") 'zoom-in)
(global-set-key (kbd "<C-mouse-4>") 'zoom-out)

For this you'll need:
zoom-frm.el
frame-fns.el
frame-cmds.el
You can find them all here: (e.g.)
http://www.emacswiki.org/emacs/zoom-frm.el

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux