all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* make-frame with custom font size
@ 2015-03-04 15:17 Sam Halliday
  2015-03-04 15:27 ` Óscar Fuentes
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Halliday @ 2015-03-04 15:17 UTC (permalink / raw
  To: help-gnu-emacs

Hi all,

I have several monitors, each with different resolutions, and when I create a frame I'd like to specify the font size (which is different to my main monitor).

I tried doing this

  (make-frame '(font "14"))

but it doesn't have any effect on the font size. Is there some other way to set the font size when I create a frame?

I'm currently manually running

  (set-frame-font "14")

which works, but is very awkward.

Best regards,
Sam


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make-frame with custom font size
  2015-03-04 15:17 make-frame with custom font size Sam Halliday
@ 2015-03-04 15:27 ` Óscar Fuentes
  0 siblings, 0 replies; 2+ messages in thread
From: Óscar Fuentes @ 2015-03-04 15:27 UTC (permalink / raw
  To: help-gnu-emacs

Sam Halliday <sam.halliday@gmail.com> writes:

> I have several monitors, each with different resolutions, and when I
> create a frame I'd like to specify the font size (which is different
> to my main monitor).
>
> I tried doing this
>
>   (make-frame '(font "14"))
>
> but it doesn't have any effect on the font size. Is there some other
> way to set the font size when I create a frame?

Try

(make-frame '((font . "14")))




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-04 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 15:17 make-frame with custom font size Sam Halliday
2015-03-04 15:27 ` Óscar Fuentes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.