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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux