On Wed, Aug 6, 2008 at 23:19, Gilbert Harman <[EMAIL PROTECTED]> wrote:
> Is there a way to set fonts in a .emacs file (as opposed to using the Font
> Panel in Emacs.app?
Something like this works for me:
(setq my-font "Droid Sans Mono-11.3")
(set-frame-font my-font)
(add-hook 'after-make-frame-functions
(lambda (cur-frame)
(modify-frame-parameters cur-frame
(list
(cons 'font my-font)))))
Regards,
ismail
--
Programmer Excuse #46: Real programmers don't document. If it was hard
to write, it should be hard to read.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-